Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Draglist - DragImage Property

Panel
bgColor#2c3c4c

Type of image to be shown with the drag cursor

Member of Draglist (PRIM_DGLT)

Data Type - PRIM_BMP - Bitmap is an image file in the repository

Details

The DragImage property is a reference to a repository enrolled Bitmap to be show with the cursor.

For the DragImage to be used, the DragListStyle must be set to Image.

Example

In this example, the StartDrag event is defined to use a DragImage.

     Evtroutine Handling(#Com_owner.StartDrag) Draglist(#DragList) 

#DragList.DragListStyle := Image
#DragList.DragImage <= #YourImage

Endroutine

See also

All Component Classes

Technical Reference