Programming

Page Commands (Cont.)

@DPG

Syntax:

Delete a specific

"'@DPG-<popup page name>;<popup group name>'"

popup page from

Variable:

specified popup

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

group if it exists.

 

 

popup group name = 1 - 50 ASCII characters. Name of the popup group.

 

Example:

 

SEND_COMMAND Panel,"'@DPG-Popup1;Group1'"

 

Deletes the popup page ’Popup1’ from the popup group ’Group1’.

 

 

@PDR

If the flag is set, the popup will return to its default location on show instead of its last drag

Set the popup

location.

 

location reset flag.

Syntax:

 

"'@PDR-<popup page name>;<reset flag>'"

 

Variable:

 

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.

 

 

@PHE

Syntax:

Set the hide effect

"'@PHE-<popup page name>;<hide effect name>'"

for the specified

Variable:

popup page to the

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

named hide effect.

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

Only 1 coordinate is ever needed for an effect; however, the command will specify both.

Set the hide effect

This command sets the location at which the effect will end at.

position.

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.

 

 

@PHT

Syntax:

Set the hide effect

"'@PHT-<popup page name>;<hide effect time>'"

time for the

Variable:

specified popup

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

page.

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.

 

114

7" Modero Widescreen Touch Panels

 

 

 

Page 122
Image 122
AMX NXD-CV7 @DPG-popup page namepopup group name, Sendcommand Panel,@DPG-Popup1Group1, @PDR-popup page namereset flag