OverviewExamples
boolean ListBox.IsEnabled ( |
contents_enabled = ListBox.IsEnabled("Contents");
Stores true in a variable named "contents_enabled" if the "Contents" listbox object is enabled, and false if it is disabled.
bListBox4Enabled = ListBox.IsEnabled("ListBox4");
Checks whether the "ListBox4" listbox object is enabled or disabled, and sets the "bListBox4Enabled" variable to either true or false, 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