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

# TControlAtPosFlags

Set type used to store values from the TControlAtPosFlag enumeration.

## Declaration

Source position: controls.pp line 2045

`type TControlAtPosFlags = set of (`
`capfAllowDisabled,` |  | Include disabled controls when set.
`capfAllowWinControls,` |  | Include both TWinControls and TControl instances when set.
`capfOnlyClientAreas,` |  | Checks for hits are limited to the client area when set.
`capfRecursive,` |  | Recurse into grand-children controls when set.
`capfHasScrollOffset,` |  | Scroll offset is already included in the coordinates when set.
`capfOnlyWinControls` |  | Include only TWinControls (and ignore TControls) when set.
`);`

## Description

Passed as an argument to the ControlAtPos method in TWinControl. Used internally in the implementation of the FindControlAtPosition routine.

## See also

TControlAtPosFlag |  | Flags for finding a control at a given (client) position.
TWinControl.ControlAtPos |  | Get the child control at the given client position.
FindControlAtPosition |  | Gets the control at the specified screen position.