ListBox.SetUpdate

ListBox.SetUpdate (

string ObjectName,

boolean Enabled = true )

Description

Sets the enabled/disabled update state of a listbox object. The update state controls whether or not the listbox object will be redrawn to reflect any changes that have been made.

Note: When a listbox object's update state is disabled, any actions to modify it will not be visible to the user until this action is called to enable the update state.

Parameters

ObjectName

(string) The name of the listbox object.

Enabled

(boolean) Whether to make the listbox object's update state enabled or disabled:

VALUE

DESCRIPTION

true

Enabled. Listbox changes are immediately visible. (Default)

false

Disabled. Listbox changes are not visible until it's update state is enabled.

Returns

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

See also: Related Actions