beautypg.com

AMX MVP-5100 User Manual

Page 112

background image

Programming

104

MVP-5100/5150 Modero Viewpoint Touch Panels

Page Commands (Cont.)

PPOF

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:

"'PPOF-;'"

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

Deactivates the popup page ’Popup1’ on the Main page.
Example 2:

SEND_COMMAND Panel,"'PPOF-Popup1'"

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

PPOG

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:

"'PPOG-;'"

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

Toggles the popup page ’Popup1’ on the Main page from one state to another (On/Off).
Example 2:

SEND_COMMAND Panel,"'PPOG-Popup1'"

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

PPON

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:

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

Activates the popup page ’Popup1’ on the Main page.
Example 2:

SEND_COMMAND Panel,"'PPON-Popup1'"

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

This manual is related to the following products: