TFileListBox.OnDragDrop property
Event handler signalled when an object is dropped onto the control.
Declaration
property OnDragDrop:;Description
OnDragDrop is a
TDragDropEvent property with the event
handler signalled when another control is dropped onto the control instance.
Unlike with drag-dock, a default action is not associated with the drag-drop
operation. The OnDragDrop handler is the only way to do something meaningful
for the drag-drop operation.
The Sender argument contains the current control instance (Self)
for for the event.
The Source argument is the object (TControl) which is droppped
onto the current control instance.
X and
Y contains the control-relative coordinates for
the mouse pointer when the event occurred.
OnDragDrop is signalled from the DragDrop method, and occurs when dmDragDrop messages (TDragMessage) are handled for the control.
This description is the one of Controls.TControl.OnDragDrop.
See also
- DragDrop
- TDragDropEvent
- TDragMessage
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
