[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Controls' (#lcl)

# TDragImageListResolution

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements an image list resolution with features used in Drag and Drop operations.

## Declaration

Source position: controls.pp line 408

`type TDragImageListResolution = class(TCustomImageListResolution)`
`protected`
`class procedure WSRegisterClass; override;` |  | Registers this component class with the current WidgetSet.
`property ImageList: TDragImageList; [r]` |  | List with images used in Drag and Drop operations.
`public`
`constructor Create(); override;` |  | Constructor for the class instance.
`function GetHotSpot; override;` |  | Gets the HotSpot for the image resolution.
`function BeginDrag();` |  | Starts display of images in the resolution for a Drag and Drop operation.
`function DragLock();` |  | Shows the Drag image and optionally locks the Window handle during the Drag operation.
`function DragMove();` |  | Moves the drag image to the specified position.
`procedure DragUnlock;` |  | Hides the Drag image and removes the update lock for the Window.
`function EndDrag;` |  | Removes the drag lock and restores the saved cursor when the drag operation has ended.
`procedure HideDragImage;` |  | Notifies the widgetset class to hide the drag image.
`procedure ShowDragImage;` |  | Notifies the widgetset class to display the drag image for the resolution.
`property DragHotspot: TPoint; [rw]` |  | Contains the mouse position for the drag image.
`property Dragging: Boolean; [r]` |  | Indicates that BeginDrag has been called for the image resolution.
`end;`

## Inheritance

`TDragImageListResolution` |  | Implements an image list resolution with features used in Drag and Drop operations.
`TCustomImageListResolution` |  | Implements an image resolution (or size) used in TCustomImageList.
`TLCLReferenceComponent` |  | Base class for all components having an associated widget with a handle.
`TLCLComponent` |  | The base class for LCL components which have an associated widget.
`TComponent`
?
`TObject`

## Description

TDragImageListResolution is a TCustomImageListResolution descendant which implements an image list resolution with features used in Drag and Drop operations. TDragImageListResolution is used in the implementation of TDragImageList.

## See also

TDragImageList.DraggingResolution |  | Gets the scaled image resolution with the drag images for the list.
TDragImageList.Resolution |  | Gets the image resolution for the specified image width.