RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDragImageList.SetDragImage Method

Sets an image within the image list to be shown during a drag and drop operation.

Pascal
function SetDragImage(Index: Integer; HotSpotX: Integer; HotSpotY: Integer): Boolean;
C++
__fastcall Boolean SetDragImage(int Index, int HotSpotX, int HotSpotY);

Use the SetDragImage method to set the image specified by Index within the image list to be shown when the image list is being used for drag and drop. The hot spot of the image is specified by HotSpotX and HotSpotY. 

 

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