Vizard 7 » Command Index » Vizard objects » node3d » <node3d:GUI:droplist>.clearItems
7.6

<node3d:GUI:droplist>.clearItems

Clears the items from the droplist.

<node3d:GUI:droplist>.clearItems()  

Remarks

This command will remove all items from the droplist.

Return Value

None

Example

list = viz.addDropList()
list.setPosition(.5,.5)
list.addItem('B')
list.addItem('C')
list.addItem('A',0)
list.addItem('D')
list.clearItems()