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

# THitTests

Set type used to store values from the THitTest enumeration.

## Declaration

Source position: comctrls.pp line 43

`type THitTests = set of (`
`htAbove,` |  | The action was above the coordinates for the control.
`htBelow,` |  | The action was below the coordinates for the control.
`htNowhere,` |  | The action was not near the control checking for the event.
`htOnItem,` |  | The action was on the control checking for the event.
`htOnButton,` |  | The action was on a button in the control.
`htOnIcon,` |  | The action was on the icon for an item.
`htOnIndent,` |  | The action was in the indent area prior to an expand/collapse indicator.
`htOnLabel,` |  | The action was on the display label for an item.
`htOnRight,` |  | The action was on the right edge of the display area for an item.
`htOnStateIcon,` |  | The action was on the state icon for an item.
`htToLeft,` |  | The action was to the left of the display area for an item.
`htToRight` |  | The action was to the left of the display area for an item.
`);`

## Description

THitTests is the type returned from controls which implement the GetHitTestInfoAt method.

## See also

TTabControl.GetHitTestInfoAt |  | Gets a set of hit test results for the specified mouse coordinates.
TCustomListView.GetHitTestInfoAt |  | Gets hit test information from the widgetset class when its Handle has been assigned.
TCustomTreeView.GetHitTestInfoAt |  | Returns hit test results for the specified coordinates.