TCustomListBox.GetIndexAtY function
Gets the index position for the item at the specified vertical coordinate.
Declaration
function GetIndexAtY(Y: Integer): IntegerArguments
Y | The vertical client coordinate. |
Function result
The item index, -1 if no item could be found.
Description
Calls GetIndextAtXY to get the return value using the vertical coordinate in Y. The value 1 is used as the horizontal coordinate.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
