ListItem object
The ListItem widget represents a selectable item within a list
| Property | Description | Access | Type |
|---|---|---|---|
| ListItem.index | Get/set the ListItem position in the List | readwrite | number |
| ListItem.owner | Get item's owner List | readonly | |
| ListItem.text | Get/set the ListItem caption | readwrite | string |
| Methods | Description | Return value |
|---|---|---|
| ListItem:loadicon() | Set the ListItem icon | boolean |
| ListItem:move() | Move the ListItem to a new position | - |
| ListItem:remove() | Remove the ListItem from the List | - |