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

TCustomListBox.GetIndexAtXY

Find the item at the given client coordinates.

Declaration

Source position: stdctrls.pp line 573

public function TCustomListBox.GetIndexAtXY(

  X: Integer;

  Y: Integer

):Integer;

Arguments

X

  

The X client coordinate.

Y

  

The Y client coordinate.

Function result

The item index, -1 if no item could be found.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.