"items"
Array containing all items in a list.
Synopsis
setValue(string shape, "items", dyn_string d);
getValue(string shape, "items", dyn_string &d);
shape.items(dyn_string d); // Sets also the items in a list
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
d | String list |
Description
Returns a dyn_string with all the items in a list or sets all the list items.
EXAMPLE
The following example imports all the items from "selectionlist1"; into the array "d" and refers the items to "selectionlist2";.
main()
{
dyn_string d;
//...
getValue("selectionlist1", "items", d);
setValue("selectionlist2", "items", d);
//selectionlist2.items(d);
//...
}
Assignment
Selection list
See also
"appendItem","deleteAllItems","itemCount"