Listboxes – AMX TPI-PRO-2 User Manual

Page 132

Advertising
background image

Programming

126

TPI-PRO Total Presentation Interface - Pro Edition

Listboxes

Listboxes provide flexibility to remote pages once constrained by physical display areas. Both static and
dynamic tables can display multiple devices and items when used with proper navigation tools. List Box
commands can be used in conjunction with the application TPDesign4 to create both static and dynamic
commands.

Any data field (including primary data) may be enclosed in double quotes so that commas within that
data field will not be interpreted as delimiters. Within the double quotes in such a field, the backslash (\)
is treated as an escape character so that double quote literals can still be used within the field. When a
backslash is encountered, it is discarded and the following character is treated as a literal. This means
that if a backslash is part of the data field, it needs to be escaped with a preceding backlash as well.

When a column or row number is required as a field in any command, note that the numbering begins at
1, not 0 (i.e. the first column is column 1 and the first row is row 1).

There are no hard limits enforced for the number of list boxes and such list box parameters as list address
and column count. The range is determined by available memory, which is affected by things like how
many lists are defined and how many items will be added for each list.

Dynamic Image Commands (Cont.)

^RSR

Change the
refresh rate for a
given resource.

Syntax:

"'^RSR-<resource name>,<refresh rate>'"

Variable:

resource name = 1 - 50 ASCII characters.

refresh rate = Measured in seconds.

Example:

SEND_COMMAND Panel,"'^RSR-Sports_Image,5'"

Sets the refresh rate to 5 seconds for the given resource (’Sports_Image’).

Advertising
This manual is related to the following products: