Class ListItems
Inheritance
| TObject | ListItems 🡄 TObject |
Properties
| Count | The number of ListItems this object holds (Normally read only, but writable if OwnerData is true in the listview). |
| FIXME | Same as Item |
| Item [] | Array to access each ListItem object. |
Methods
| add () | Returns a new ListItem object. |
| clear () | |
| displayRect ( code ) | Returns the displayed rectangle of the listitem. |
| displayRectSubItem ( code ) | Returns the displayed rectangle of the listitem. |
| getCount () | |
| getItem ( index ) | Return the listitem object at the given index. |
Inheritance
Properties
- Count
-
The number of ListItems this object holds (Normally read only, but writable if OwnerData is true in the listview).
Type:
integer - FIXME
- Same as Item []
- Item []
-
Array to access each ListItem object.
Type:
array
Methods
- add ()
-
Returns a new ListItem object.
Returns:
- clear ()
- displayRect ( code )
-
Returns the displayed rectangle of the listitem.
Code can be: drBounds(0), drIcon(1), drLabel(2), drSelectBounds(3).
Parameters:
- code integer
- displayRectSubItem ( code )
-
Returns the displayed rectangle of the listitem.
Code can be: drBounds(0), drIcon(1), drLabel(2), drSelectBounds(3).
Parameters:
- code int
- getCount ()
-
Returns:
-
integer
- getItem ( index )
-
Return the listitem object at the given index.
Parameters:
- index integer
Returns: