Programming the Mio R-4

Page Commands (Cont.)

@PPK

Kill a specific popup page from all pages. Kills refers to the deactivating (Off) of a popup

Deactivate a

window from all pages. If the pop-up page is part of a group, the whole group is

deactivated. This command works in the same way as the 'Clear Group' command in

popup page from

TPDesign4.

all pages

Syntax:

 

 

SEND_COMMAND <DEV>,"'@PPK-<popup page name>'"

 

Variable:

 

• popup page name = 1 - 50 ASCII characters. Name of the popup page.

 

Example:

 

SEND_COMMAND Device,"'@PPK-Popup1'"

 

Kills the popup page 'Popup1' on all pages.

 

 

@PPM

Set the modality for a specific popup page to either Modal or Non-Modal. A Modal popup

Set the modality

page, when active, only allows you to use the buttons and features on that popup page. All

other buttons on the panel page are inactivated.

for a popup page

Syntax:

 

 

SEND_COMMAND <DEV>,"'@PPM-<popup page name>;<mode>'"

 

Variables:

 

• popup page name = 1 - 50 ASCII characters. Name of the popup page.

 

• mode = NONMODAL converts a previously Modal popup page to a NonModal.

 

MODAL converts a previously NonModal popup page to Modal.

 

modal = 1 and non-modal = 0

 

Examples:

 

SEND_COMMAND Device,"'@PPM-Popup1;Modal'"

 

Sets the popup page 'Popup1' to Modal.

 

SEND_COMMAND Device,"'@PPM-Popup1;1'"

 

Sets the popup page 'Popup1' to Modal.

 

 

@PPN

Activate a specific popup page to launch on either a specified page or the current page. If

Activate a popup

the page name is empty, the current page is used (see example 2). If the popup page is

already on, do not re-draw it. This command works in the same way as the 'Show Popup'

page to launch

command in TPDesign4.

 

 

Syntax:

 

SEND_COMMAND <DEV>,"'@PPN-<popup page name>;<page name>'"

 

Variables:

 

• popup page name = 1 - 50 ASCII characters. Name of the popup page.

 

• page name = 1 - 50 ASCII characters. Name of the page the popup is displayed On

 

Example:

 

SEND_COMMAND Device,"'@PPN-Popup1;Main'"

 

Activates 'Popup1' on the 'Main' page.

 

Example 2:

 

SEND_COMMAND Device,"'@PPN-Popup1'"

 

Activates the popup page 'Popup1' on the current page.

 

 

44

Mio Modero R-4

Page 50
Image 50
AMX Mio Modero R-4 manual @Ppk, @Ppm, @Ppn