Vcl.Controls.TDragImageList.SetDragImage
Delphi
function SetDragImage(Index, HotSpotX, HotSpotY: Integer): Boolean;
C++
bool __fastcall SetDragImage(int Index, int HotSpotX, int HotSpotY);
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TDragImageList |
Beschreibung
Bestimmt ein Bild aus einer Bilderliste, das während einer Drag&Drop-Operation dargestellt werden soll.
Mit der Methode SetDragImage wird festgelegt, dass das mit Index bezeichnete Bild aus der Bilderliste angezeigt wird, wenn die Bilderliste für Drag&Drop verwendet wird. Der Hotspot des Bildes wird über die Parameter HotSpotX und HotSpotY definiert.