Programming
132 TPI-PRO Total Presentation Interface - Pro Edition
List Box Commands (Cont.)
List View Commands
^LVP
Display a new position
Display a new position. If the select option is set, then select that position.
Syntax:
SEND_COMMAND <DEV>,"'^LVP-<view address>,<index>'"
Variables:
• view address = the address of the view definition
• index = the row number in sequential order (first row is 1)
Example:
SEND_COMMAND Device,"'^LVP-5,3'"
Sets the display position starting at the third row and displays it according to
the view definitions located at address 5.
^LVS
Set the column order for
sorting
Set the column order for sorting. Update must be called for changes to take
effect.
Syntax:
SEND_COMMAND <DEV>,"'^LVS-<view
address>,<column>,<column>…'"
Variables:
• view address = the address of the view definition
• column = the starting column number (first column is 1)
Example:
SEND_COMMAND Device,"'^LVS-3,5,2,1'"
Sets the column sort order to column 5 first, then column 2 and then column 1.
The data list is displayed according to the view definitions located at address 3.
^LVU
Update any view currently
looking at this list
Update any view currently looking at this list.
NOTE: This must be called after changes to list data.
Syntax:
SEND_COMMAND <DEV>,"'^LVU-<view address>'"
Variables:
• view address = the address of the view definition
Example:
SEND_COMMAND Device,"'LVU-3'"
Updates the data list and displays it according to the view definitions located at
address 3.