Sign in Join
FPDoc Onlineexperiment

TCDButton.OnDragOver property

Member of TCDButtonpublishedIn unit CustomDrawnControls

Declaration

pascal
property OnDragOver:;

Description

Not described here; this is what TControl.OnDragOver says of it:

Event handler signalled when a control is dragged over the control instance.

OnDragOver is a TDragOverEvent property with the event handler signalled when another control is dragged over the current control. It is signalled from the DragOver method, and occurs when drag messages are handled for the control.

The Sender argument is the current TControl instance.

The Source argument contains the control instance which is being dragged over the control.

The X and Y arguments contain the control-relative coordinates for the mouse pointer when the event was triggered.

State indicates whether the event has occurred when the mouse pointer entered the control, was repositioned, or exited the control.

The Accept argument indicates whether the drag operation is handled in the routine or rejected. Set Accept to False to reject a drop on the control.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.