RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDragObject.GetDragImages Method

Returns an image list containing the image to be displayed while dragging.

Pascal
function GetDragImages: TDragImageList; virtual;
C++
virtual __fastcall TDragImageList GetDragImages();

GetDragImages is called at the beginning of a drag and drop operation. As implemented in TDragObject, GetDragImages returns nil (Delphi) or NULL (C++), meaning that only the cursor is used to indicate the drag operation. 

In descendant classes, the image list normally contains only one image, and the drag object automatically creates and maintains the image list. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!