List Box Object - Get Property

Stores a selected property of a List Box Object in a specific variable.

Use this action to get information about the List Box Object..

Action ID:
Action Category:
Action List Syntax:

123
List Box Object
<<VARIABLE>>
= ListBoxObject[<<OBJECTNAME>>].GetProperty (<<PROPERTY>>)

Settings

Variable:

The variable that the property will be stored in.

Object name:

The name of the List Box Object whose properties will be queried.

Property

The property that will be stored in the variable. Choose from:

Item Count

-

The total number of items in the List Box Object.

Selected Count

-

The number of items that are currently selected.

Error Codes

Value
(%LastErrorNum%)

Simple Message
(%LastErrorMsg%)

Verbose Message
(%LastErrorDetails%)

0 (OK)

 

 

1

MSG_ERR_LIST_BOX_OBJECT_GET_PROPERTY

MSG_ERR_LIST_BOX_OBJECT_GET_PROPERTY
MSG_ERR_OBJECT_NOT_FOUND
<<OBJECTNAME>>

2

MSG_ERR_LIST_BOX_OBJECT_GET_PROPERTY

MSG_ERR_LIST_BOX_OBJECT_GET_PROPERTY
MSG_ERR_LIST_BOX_OBJECT_UNAVAILABLE
<<OBJECTNAME>>

Examples

Adding items to a list box (with data)