Sign in Join
FPDoc Onlineexperiment

TCustomListBox.ItemRect function

Member of TCustomListBoxpublicIn unit StdCtrls

Returns the client rectangle for an item (including scrollbar area).

Declaration

pascal
function ItemRect(Index: Integer): TRect

Arguments

Index

The tentative item index.

Function result

The item area; all zeroes for an invalid item index.

Description

Index must be in the range 0 to ItemCount to be considered valid. The result is valid also for the next item, that will be added subsequently.

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