Programming the Mio R-4

List Box Commands (Cont.)

List View Commands

 

 

 

^LVP

Display a new position. If the select option is set, then select that position.

Display a new 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. Update must be called for changes to take

Set the column order for

effect.

 

sorting

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

NOTE: This must be called after changes to list data.

looking at this list

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.

 

 

86

Mio Modero R-4

Page 92
Image 92
AMX Mio Modero R-4 manual Sendcommand DEV,LVP-view address,index, Sendcommand Device,LVP-5,3, Sendcommand DEV,LVS-view