Sign in Join
FPDoc Onlineexperiment

TListItem.Left property

Member of TListItempublicIn unit ComCtrls

The position of the Left side of the list item.

Declaration

pascal
property Left: Integer read GetLeft write SetLeft;

Description

Left is an Integer property which contains the coordinate for the left edge of the list item on its list view control. The property value is read from and written to the Position property in the list item; it represents the X member in the TPoint instance. Setting a new value for the property causes the TPoint instance in Position to be re-allocated, and the widgetset class is notified of the change to the value.

Values in Left and Top are used in the TCustomListView.DrawItem method to position the list item on the canvas for the list view control.

Use Top for the coordinate where the top edge of the list item is located.

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

See also

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