ComboBox.SetEnabled

ComboBox.SetEnabled (

string ObjectName,

boolean Enabled = true )

Description

Sets the enabled/disabled state of a combobox object.

Note: When a combobox is disabled, it takes on a disabled appearance (if it has one) and doesn't respond to the user at all.

Parameters

ObjectName

(string) The name of the combobox object.

Enabled

(boolean) Whether to make the combobox object enabled or disabled:

VALUE

DESCRIPTION

true

Enabled. (Default)

false

Disabled.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions