ComboBox.SetUpdate

ComboBox.SetUpdate ( 

string  ObjectName,

boolean Enabled = true )

Example 1

-- Sets the update state to false.
ComboBox.SetUpdate("ComboBox1", false);

-- Add four new items to the "ComboBox1" combobox object.
ComboBox.AddItem("ComboBox1", "Item One", "C:\\One.txt");
ComboBox.AddItem("ComboBox1", "Item Two", "C:\\Two.txt");
ComboBox.AddItem("ComboBox1", "Item OneThree", "C:\\OneThree.txt");
ComboBox.AddItem("ComboBox1", "Item Four", "C:\\Four.txt");

-- Now that the items have been added, set the update state to true.
ComboBox.SetUpdate("ComboBox1", true);

Disables updating for combobox object "ComboBox1", adds for items, and enables updating.

See also:  Related Actions