AMX Mio Modero R-4 User Manual

Page 90

Advertising
background image

Programming the Mio R-4

82

Mio Modero R-4

List Box Commands (Cont.)

^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.

^LVF
Filter a list by setting what
column to use and what
string to compare

Filter a list by setting what column to use and what string to compare. Note that
setting column to zero or data to none makes the filtered ordering the same as
sorted ordering. Update must be called for changes to take effect.

Syntax:

SEND_COMMAND <DEV>,"'^LVF-<view

address>,<uniflag>,<column>,<search data>'"

Variables:

• view address = the address of the view definition

• uniflag = indicates unicode; 0 - No unicode, 1 - Uses unicode

• column = the starting column number (first column is 1)

• search data = the data on which to filter

Example:

SEND_COMMAND Device,"'LVF-1,0,2,Smith'"

Filters list based on column 2 such that only those rows whose column 2

contains Smith are displayed. The data is displayed according to the view

definitions located at address 1. Filter is case sensitive.

^LVL
Set the data list to be

displayed

Set the data list to be displayed.

Syntax:

SEND_COMMAND <DEV>,"'^LVL-<view address>,<list

port>,<list address>'"

Variables:

• view address = the address of the view definition

• list port = 1-100. port where data resides

• list address = address where data resides

Example:

SEND_COMMAND Device,"'^LVL-5,my songs'"

Sets the data list viewed to my songs and displays it according to the view def-
initions located at address 5.

Advertising