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

TControlAtPosFlag

Flags for finding a control at given (client) position.

Declaration

Source position: controls.pp line 1824

type TControlAtPosFlag = (

  capfAllowDisabled,

  

If set: include disabled controls.

  capfAllowWinControls,

  

If set: include TWinControls, in addition to TControls.

  capfOnlyClientAreas,

  

If set: hit client areas only.

  capfRecursive,

  

If set: recurse into grand children.

  capfHasScrollOffset

  

If set: scroll offset is already included in the coordinates.

);

Description

capfAllowDisabled: include disabled controls. capfAllowWinControls: do not find WinControls if False. capfOnlyClientAreas: hit client areas only. capfRecursive: search into child controls. capfHasScrollOffset: scroll offset is already included in the coordinates.

See also

TWinControl.ControlAtPos

  

Get the child control at the given client position.