Pdr; Phe; Php; Pht - AMX Modero G4 Instruction Manual

Configuration and programming
Table of Contents

Advertisement

Programming
Page Commands (Cont.)

@PDR

@PHE

@PHP

@PHT

@PPA

56
Set the popup location reset flag. If the flag is set, the popup will return to its default location on show
instead of its last drag location.
Syntax:
"'@PDR-<popup page name>;<reset flag>'"
Variables:
popup page name = 1 - 50 ASCII characters. Name of the page the popup is displayed On.
reset flag = 1 = Enable reset flag, 0 = Disable reset flag
Example:
SEND_COMMAND Panel,"'@PDR-Popup1;1'"
Popup1 will return to its default location when turned On.
Set the hide effect for the specified popup page to the named hide effect.
Syntax:
"'@PHE-<popup page name>;<hide effect name>'"
Variables:
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'.
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-<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,"'@PHP-Popup1;75,0'"
Sets the Popup1 hide effect x-coordinate value to 75 and the y-coordinate value to 0.
Set the hide effect time for the specified popup page.
Syntax:
"'@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 Panel,"'@PHT-Popup1;50'"
Sets the Popup1 hide effect time to 5 seconds.
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-<page name>'"
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.
Modero G4 Touch Panels - Configuration and Programming

Advertisement

Table of Contents
loading

Table of Contents