[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Top coordinate for the list item.
Source position: comctrls.pp line 1083
public property TListItem.Top : Integer |
Top is an Integer property which contains the top coordinate for 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 Y 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 Left for the coordinate where the left edge of the list item is located.
Use Index to access the ordinal position for the list item in its TListItems container.
|
The coordinates where the list item is located on its list view control. |
|
|
Ordinal position for the list item in its TListItems container. |
|
|
The position of the Left side of the list item. |
|
|
Draws the specified list item with a given state. |
Version 3.2 | Generated 2024-02-25 | Home |