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

FindDragTarget

Get control at screen position.

Declaration

Source position: controls.pp line 2321

function FindDragTarget(

  const Position: TPoint;

  AllowDisabled: Boolean

):TControl;

Description

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