GET LIST ITEM PROPERTIES

4D - Documentation   Français   English   German   4th Dimension 2003, Command Theme List   4th Dimension 2003, Command Alphabetical List   4th Dimension 2003, Constant Theme List   Back   Previous   Next

version 6.0


GET LIST ITEM PROPERTIES (list; itemRef; enterable{; styles{; icon}})

ParameterTypeDescription
listListRefList reference number
itemRefNumberItem reference number
enterableBooleanTRUE = Enterable, FALSE = Non-enterable
stylesNumberFont style for the item
iconNumber'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.


4D - Documentation   Français   English   German   4th Dimension 2003, Command Theme List   4th Dimension 2003, Command Alphabetical List   4th Dimension 2003, Constant Theme List   Back   Previous   Next