beautypg.com

Ppof, Ppog, Ppon – AMX Mio Modero R-4 User Manual

Page 54

background image

Programming the Mio R-4

46

Mio Modero R-4

Page Commands (Cont.)

PPOF

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 ,"'PPOF-;'"

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,"'PPOF-Popup1;Main'"

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

Example 2:

SEND_COMMAND Device,"'PPOF-Popup1'"

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

PPOG

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 ,"'PPOG-;'"

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,"'PPOG-Popup1;Main'"

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

Example 2:

SEND_COMMAND Device,"'PPOG-Popup1'"

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

PPON

Activate a popup
page to launch.

Activate a specific popup page to launch 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
already On, do not re-draw it. This command works in the same way as the 'Show Popup'
command in TPDesign4.

Syntax:

SEND_COMMAND ,"'PPON-;'"

Variable:

• 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,"'PPON-Popup1;Main'"

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

Example 2:

SEND_COMMAND Device,"'PPON-Popup1'"

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