beautypg.com

AMX Modero MVP-5200i User Manual

Page 111

background image

Programming

103

MVP-5200i Modero Viewpoint Widescreen Touch Panel

Page Commands (Cont.)

@PHE

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

Syntax:

"'@PHE-;'"

Variable:

popup page name = 1 - 50 ASCII characters. Name of the page the popup is displayed
On.
hide effect name = Refers to the popup effect names being used.

Example:

SEND_COMMAND Panel,"'@PHE-Popup1;Slide to Left'"

Sets the Popup1 hide effect name to ’Slide to Left’.

@PHP

Set the hide 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 end at.
Syntax:

"'@PHP-;,'"

Variable:

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

Example:

SEND_COMMAND Panel,"'@PHP-Popup1;75,0'"

Sets the Popup1 hide effect x-coordinate value to 75 and the y-coordinate value to 0.

@PHT

Set the hide effect
time for the

specified popup
page.

Syntax:

"'@PHT-;'"

Variable:

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 Panel,"'@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. Same as the ’Clear Page’ command
in TPDesign4.
Syntax:

"'@PPA-'"

Variable:

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

Example:

SEND_COMMAND Panel,"'@PPA-Page1'"

Close all pop-ups on Page1.