FindControlAtPosition function
Gets the control at the specified screen position.
Declaration
function FindControlAtPosition(const Position: TPoint;
AllowDisabled: Boolean): TControlArguments
Position | The screen position examined in the routine. |
AllowDisabled | Finds disabled controls when True. |
Function result
The control found at the specified Position; Nil when not found.
Description
FindControlAtPosition is a
TControl function used to
get the control at the specified screen position. When
AllowDisabled is
True, a disabled control can also be
located in the routine. In the current implementation, AllowDisabled is
ignored (assumed to be
True). First a window at the given screen
position is searched, then a control within it.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
