Adds new items and values to the
current form field. For example, this method adds new items and
values as arguments to a drop-down list.
SyntaxReference_Syntax.setItems( STRING param1 [, INTEGER param2] )
Parameters
param1
|
A list of items and values separated by
a comma. For example, “One,Two,Three” or “One,1,Two,2,Three,3”.
For items without values, leave the value blank. For example, “item1,value1,item2,item3”.
|
param2
|
The number of columns per item. For example,
the itemValueList string, "One,1,Two,2,Three,3" has numColumns=2.
An itemValueList "One,Uno,1,Two,Due,2,Three,Tre,3" has numColumns=3
while an itemValueList "One,Two,Three" has numColumns=1. The value
of 1 is the default.
|
ReturnsTrue if
the list was created successfully, False if the
number of items do not match number of columns.
|
|
|