Sign in Join
FPDoc Onlineexperiment

TListItem.Position property

Member of TListItempublicIn unit ComCtrls

The coordinates where the list item is located on its list view control.

Declaration

pascal
property Position: TPoint read GetPosition write SetPosition;

Description

Position is a TPoint property with the coordinates where the list item is displayed on its ListView control. The property value is read from and written to the widgetset class instance for the ListView control when its handle has been allocated. The X and Y members in the property are used as the values for the Top and Left properties (respectively). Changing the values in the X and Y members, or in Top and Left, cause the widgetset class to be notified of the new value(s).

Use Index to access the ordinal position for the list item in its container.

See also

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