Sign in Join
FPDoc Onlineexperiment

TCustomListView.GetHitTestInfoAt function

Member of TCustomListViewpublicIn unit ComCtrls

Gets hit test information from the widgetset class when its Handle has been assigned.

Declaration

pascal
function GetHitTestInfoAt(X: Integer; Y: Integer): THitTests

Arguments

X

Horizontal coordinate for the hit test.

Y

Vertical coordinate for the hit test.

Function result

Set type with the areas on the control under the specified coordinates.

Description

Calls the corresponding method in the widgetset class to get the THitTests results for the specified coordinates. The THitTest enumeration values in the result indicate the areas on the control that are under the specified X and Y coordinates.

See THitTest for more information about the values and their meanings.

The return value is an empty set ([]) if the Handle for the widget has not been assigned.

See also

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