AMX Modero CV7 User Manual

Page 149

Advertising
background image

Programming

137

7" Modero Touch Panels

Page Commands (Cont.)

@PPX

Close all
popups on all
pages.

This command works in the same way as the 'Clear All' command in TPDesign 4.

Syntax:

"'@PPX'"

Example:

SEND_COMMAND Panel,"'@PPX'"

Close all popups on all pages.

@PSE

Set the show
effect for the
specified popup
page to the
named show
effect.

Syntax:

"'@PSE-<popup page name>;<show effect name>'"

Variable:

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

show effect name = Refers to the popup effect name being used.

Example:

SEND_COMMAND Panel,"'@PSE-Popup1;Slide from Left'"

Sets the Popup1 show effect name to ’Slide from Left’.

@PSP

Set the show
effect position.

Only 1 coordinate is ever needed for an effect; however, the command will specify both.
This command sets the location at which the effect will begin at.

Syntax:

"'@PSP-<popup page name>;<x coordinate>,<y coordinate>'"

Variable:

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

Example:

SEND_COMMAND Panel,"'@PSP-Popup1;100,0'"

Sets the Popup1 show effect x-coordinate value to 100 and the y-coordinate value to 0.

@PST

Set the show
effect time for the
specified popup
page.

Syntax:

"'@PST-<popup page name>;<show effect time>'"

Variable:

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

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

Example:

SEND_COMMAND Panel,"'@PST-Popup1;50'"

Sets the Popup1 show effect time to 5 seconds.

PAGE

Flip to a specified
page.

Flips to a page with a specified page name. If the page is currently active, it will not redraw
the page.

Syntax:

"'PAGE-<page name>'"

Variable:

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

Example:

SEND_COMMAND Panel,"'PAGE-Page1'"

Flips to page1.

Advertising