Programming the Mio R-4

Page Commands (Cont.)

@PHT

Set the hide effect time for the specified popup page.

Set the hide effect

Syntax:

time for a popup

SEND_COMMAND <DEV>,"'@PHT-<popup page name>;<hide effect time>'"

page

Variables:

 

 

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

 

On.

 

• hide effect time = Given in 1/10ths of a second.

 

Example:

 

SEND_COMMAND Device,"'@PHT-Popup1;50'"

 

Sets the Popup1 hide effect time to 5 seconds.

 

 

@PPA

Close all popups on a specified page. If the page name is empty, the current page is used.

Close all popups

This command works in the same way as the 'Clear Page' command in TPDesign4.

 

on a page

Syntax:

 

SEND_COMMAND <DEV>,"'@PPA-<page name>'"

 

Variable:

 

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

 

Example:

 

SEND_COMMAND Device,"'@PPA-Page1'"

 

Close all popups on Page1.

 

 

@PPF

Deactivate a specific popup page on either a specified page or the current page. If the

Deactivate a

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

of a group, the whole group is deactivated. This command works in the same way as the

popup page

'Hide popup' command in TPDesign4.

 

 

Syntax:

 

SEND_COMMAND <DEV>,"'@PPF-<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 1:

 

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

 

Deactivates the popup page 'Popup1' on the Main page.

 

Example 2:

 

SEND_COMMAND Device,"'@PPF-Popup1'"

 

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

 

 

@PPG

Toggle a specific popup page on either a specified page or the current page. If the page

Toggle a popup

name is empty, the current page is used (see example 2). Toggling refers to the activating/

deactivating (On/Off) of a popup page. This command works in the same way as the

page

'Toggle Popup' command in TPDesign4.

 

 

Syntax:

 

SEND_COMMAND <DEV>,"'@PPG-<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,"'@PPG-Popup1;Main'"

 

Toggles the popup page 'Popup1' on the 'Main' page from one state to another (On/Off).

 

Example 2:

 

SEND_COMMAND Device,"'@PPG-Popup1'"

 

Toggles the popup page 'Popup1' on the current page from one state to another (On/Off).

 

 

Mio Modero R-4

43

 

 

Page 49
Image 49
AMX Mio Modero R-4 manual @Pht, @Ppa, @Ppf, @Ppg