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

TCustomListView.GetHitTestInfoAt

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

Declaration

Source position: comctrls.pp line 1627

public function TCustomListView.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

THitTests

  

Set type used to store values from the THitTest enumeration.

THitTest

  

Represents permissible results for a hit test.


Version 3.2 Generated 2024-02-25 Home