Flags for finding a control at a given (client) position.
Source position: controls.pp line 2025
type TControlAtPosFlag = ( |
||
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. |
); |
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.
|
Get the child control at the given client position. |
|
|
Gets the control at the specified screen position. |
CT Web help |
CodeTyphon Studio |