ListBox.GetType

number ListBox.GetType ( 

string ObjectName )

Description

Returns the type of a listbox object.

Parameters

ObjectName

(string) The name of the listbox object.

Returns

(number) A number representing the type of list box. If an error occurs, the value -1 (LB_ERROR) is returned.

CONSTANT

VALUE

DESCRIPTION

LB_LISTBOX

0

The object is a normal list box.

LB_CHECKLISTBOX

1

The object is a checklist box. Each item in the list box has an associated checkbox that can be checked or unchecked.

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

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also:  Related Actions