AMX Mio Modero R-4 User Manual

Page 51

Advertising
background image

Programming the Mio R-4

43

Mio Modero R-4

Page Commands (Cont.)

@PHT

Set the hide effect
time for a popup
page

Set the hide effect time for the specified popup page.

Syntax:

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

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 page

Close all popups on a specified page. If the page name is empty, the current page is used.
This command works in the same way as the 'Clear Page' command in TPDesign4.

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
popup page

Deactivate a specific popup page on either a specified page or the current page. If the
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
'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 popup
page

Toggle a specific popup page on either a specified page or the current page. If the page
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

'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).

Advertising