setType
Specify list type
Syntax
setType(list_obj,
listType
)
Description
setType(list_obj,
specifies
the type of list the listType
)ModelAdvisor.List
constructor
creates.
Input Arguments
list_obj | Instantiation of the ModelAdvisor.List class |
listType | Specifies the list type:
|
Examples
subList = ModelAdvisor.List(); subList.setType('numbered') subList.addItem(ModelAdvisor.Text('Sub entry 1', {'pass','bold'})); subList.addItem(ModelAdvisor.Text('Sub entry 2', {'pass','bold'}));