The Combo Box supports the following scripting methods.
See Accessing Screen Objects for more information about how to view control objects in script in the Canvas application.
| Method | Description |
|---|---|
|
Add |
The Add method adds an item to the combo box along with an associated value. |
|
Equals |
The Equals method determines whether the specified object is equal to the current object. |
|
Focus |
The Focus method sets the focus to the control to allow further operations. |
|
GetHashCode |
The GetHashCode method returns a hash code for the current object. |
|
GetType |
The GetType method returns the runtime type of the current instance. |
|
Remove |
The Remove method removes an item from the combo box. |
|
RemoveAll |
The RemoveAll method removes all items from the combo box. |
|
Select |
The Select method is available to select an item in the control via script. |
|
SerializeObject |
The SerializeObject method stores the object in memory so that it can be recreated when needed. |
|
ToString |
The ToString method returns a string that represents the current object. |