Sign in Join
FPDoc Onlineexperiment

THitTest enumeration

In unit ComCtrls

Represents permissible results for a hit test.

Declaration

pascal
THitTest = (htAbove,htBelow,htNowhere,htOnItem,htOnButton,htOnIcon,
 htOnIndent,htOnLabel,htOnRight,htOnStateIcon,htToLeft,
 htToRight)

Description

THitTest is an enumerated type with values that represent permissible results for a hit test (position of a mouse click relative to objects on a form). Values from THitTest are stored in the THitTests set type.

See also

Values

htAboveThe action was above the coordinates for the control.
htBelowThe action was below the coordinates for the control.
htNowhereThe action was not near the control checking for the event.
htOnItemThe action was on the control checking for the event.
htOnButtonThe action was on a button in the control.
htOnIconThe action was on the icon for an item.
htOnIndentThe action was in the indent area prior to an expand/collapse indicator.
htOnLabelThe action was on the display label for an item.
htOnRightThe action was on the right edge of the display area for an item.
htOnStateIconThe action was on the state icon for an item.
htToLeftThe action was to the left of the display area for an item.
htToRightThe action was to the left of the display area for an item.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.