Vcl.Controls.TDragObject.GetDragImages

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetDragImages: TDragImageList; virtual;

C++

virtual TDragImageList* __fastcall GetDragImages();

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TDragObject

Description

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

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.

See Also