TControlAtPosFlag enumeration
Flags for finding a control at a given (client) position.
Declaration
TControlAtPosFlag = (capfAllowDisabled,capfAllowWinControls,
capfOnlyClientAreas,capfRecursive,
capfHasScrollOffset,capfOnlyWinControls)Description
TControlAtPosFlag is an enumeration type with values that indicate the mechanism used to locate a control at a given client position.
Values from the enumeration are stored in the TControlAtPosFlags type.
TControlAtPosFlag enumeration values are used in the implementation of the ControlAtPos method in TWinControl, and in the FindControlAtPosition function.
See also
Values
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. |
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
