version 6.0
GET LIST ITEM PROPERTIES (list; itemRef; enterable{; styles{; icon}})
| Parameter | Type | Description | |
| list | ListRef | List reference number | |
| itemRef | Number | Item reference number | |
| enterable | Boolean | TRUE = Enterable, FALSE = Non-enterable | |
| styles | Number | Font style for the item | |
| icon | Number | 'cicn' MacOS-based resource ID, or | |
| 65536 + 'PICT' MacOS-based resource ID, or | |||
| 131072 + Picture Reference Number |
Description
The command GET LIST ITEM PROPERTIES returns the properties of the item whose reference number is passed in itemRef within the list whose list reference number is passed in list.
After the call:
enterable returns TRUE if the item is enterable.
styles returns the font style of the item.
icon returns the icon or picture assigned to the item, 0 if none.
For details about these properties, see the description of the command SET LIST ITEM PROPERTIES.
If there is no item with the item reference number that is passed, the command leaves the parameters unchanged.
If you work with item reference numbers, build a list in which items have unique reference numbers, otherwise you will not be able to distinguish the items. For more information, refer to the description of the command APPEND TO LIST.
See Also
GET LIST ITEM, SET LIST ITEM, SET LIST ITEM PROPERTIES.