TCustomListBox.GetIndexAtXY function
Gets the index for the item at the given client coordinates.
Declaration
function GetIndexAtXY(X: Integer; Y: Integer): IntegerArguments
X | The X client coordinate. |
Y | The Y client coordinate. |
Function result
The item index, -1 if an item could not be found.
Description
GetIndexAtXY is an
Integer function used to get the
ordinal position in
Items for the list item at the specified
coordinates. No actions are performed in the method if a handle has not been
allocated for the control (the widgetset class instance). GetIndexAtXY calls
the
GetIndexAtXY method in the widgetset class to get the return
value.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
