scale_list interfaces:

This class represents the interface to the list controller.

Interface: list

Properties

.count : integer : Read

.active : index : Read|Write

Methods

<integer>getCount()

This method returns the number of items that appear in the List controllers list box.

<void>setActive <index>listIndex

This method allows you to sets the indexed item in the list active so its parameters appear in the motion panel, and any input is directed to the indexed sub controller.

<index>listIndex: The index of the item to set as the active item.

<integer>getActive()

This method returns the index of the currently active item.

<void>delete <index>listIndex

This method allows you to delete the indexed sub controller from the list.

<index>listIndex: The index of the item to delete from the list.

<void>cut <index>listIndex

This method allows you to cut the index sub controller from the list and stores it in the buffer to paste later.

<index>listIndex: The index of the item you wish to cut.

<void>paste <index>listIndex

This method allows you to paste the sub-controller from the buffer into the indexed slot in the list.

<index>listIndex: The index of the slot to paste into.

<TSTR by value>getName <index>listIndex

This method returns the class name of the indexed sub-controller if a user defined name doesn't exist.

<index>listIndex: The index of the item for which to get the name.

<void>setName <index>listIndex <string>name

This method allows you to set the name of an indexed item.

<index>listIndex : The index of the item.

<string>name: The name to set it to.

See also Class IlistControl, in the SDK Help file accompanying this product.