Vcl.Controls.TDragImageList.SetDragImage

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function SetDragImage(Index, HotSpotX, HotSpotY: Integer): Boolean;

C++

bool __fastcall SetDragImage(int Index, int HotSpotX, int HotSpotY);

Properties

Type Visibility Source Unit Parent
function public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TDragImageList

Description

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

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.

See Also