Sign in Join
FPDoc Onlineexperiment

FindDragTarget function

In unit Controls

Gets the drag target at the specified screen position.

Declaration

pascal
function FindDragTarget(const Position: TPoint; AllowDisabled: Boolean)
: TControl

Description

Disabled controls should be excluded, but are not due to an bug in FindControlAtPosition.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.