Data
(string) The optional item data to associate with the new item.
Re t u r n s
(number) The index where the item was added. If an error occurs, -1 is returned. You can use
Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
ListBox.IsEnabled
OverviewExamples
boolean ListBox.IsEnabled ( string ObjectName )
De s cr ip t ion
Returns true if a specific listbox object is enabled, or false if it's disabled.
Note: When a listbox object is disabled, it doesn't respond to the user at all.
P arame t er s
ObjectName
(string) The name of the listbox object.
Re t u r n s
(boolean) True if the listbox object is enabled, false if it is disabled. If an error occurs, false will be returned. You can use Application.GetLastError to determine whether this action failed, and why.