Tree.SetEnabled

Tree.SetEnabled (

string ObjectName,

boolean Enabled = true )

Description

Sets the enabled/disabled state of a tree object.

Note: When a tree object is disabled, it doesn't respond to user interaction.

Parameters

ObjectName

(string) The name of the tree object.

Enabled

(boolean) Whether to make the tree 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