Programming
129
TPI-PRO Total Presentation Interface - Pro Edition
List Box Commands (Cont.)
Data List Commands
^LDL
Modifies the data in a single
column field
Modifies the data in a single column field. This can be used to load a data list
that has long text fields.
Syntax:
SEND_COMMAND <DEV>,"'^LDL-<list
address>,<column>,<uniflag>,<primary data>,<data
column>'"
Variables:
• list address = address where data resides
• column = the starting column number (first column is 1)
• uniflag = indicates unicode; 0 - No unicode, 1 - Uses unicode
• primary data = the "key" data column. The information in this column provides
each row with its uniqueness.
• new cell data = data information for a single field or "cell"
Example:
SEND_COMMAND Device,"'^LDL-1,1,0,Entry5,Music'"
The field located in column 1, in the row with the primary data "Entry5" and in
the data list located at the address of 1 is a text value of Music.
Example (unicode):
SEND_COMMAND Device, "'^LDL-
1,1,1,0045006E0074007200790035,004D0075007300690063'"
The field located in column 1, in the row with the primary data "Entry5" and in
the data list located at the address of 1 is a text value of Music.
^LVC
Set the table column display
order according to the order
of the entered column values
Set the table column display order according to the order of the entered column
values.
Syntax:
SEND_COMMAND <DEV>,"'^LVC-<view
address>,<column>,<column>…'"
Variables:
• view address = the address of the view definition
• column = the column number to display (first column is 1)
Example:
SEND_COMMAND Device,"'^LVC-3,5,2,1'"
Sets the column display 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.