ComboBox.IsEnabled

boolean ComboBox.IsEnabled ( 

string ObjectName )

Example 1

enabledus_comboboxis = ComboBox.IsEnabled("Fake Latin Toggle");

Stores true in enabledus_comboboxis if the "Fake Latin Toggle" combobox object is enabled, and false if it is disabled.

Example 2

bMustardEnabled = ComboBox.IsEnabled("Mustard");

Checks whether the "Mustard" combobox object is enabled or disabled, and stores true or false in the bMustardEnabled variable accordingly.

Tip: Starting a variable name with "b" is a technique that programmers use to help themselves remember that a variable contains a boolean value.

See also:  Related Actions