Programming the Mio R-4

Page Commands (Cont.)

@DPG

Delete a specific popup page from a specified popup group if it exists.

Delete a popup

Syntax:

page from a group

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

 

 

Variables:

 

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

 

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

 

Example:

 

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

 

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

 

 

@PDR

Set the popup location reset flag. If the flag is set, the popup will return to its default loca-

Set the popup

tion on show instead of its last drag location.

 

location reset flag

Syntax:

 

SEND_COMMAND <DEV>,"'@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 Device,"'@PDR-Popup1'"

 

Popup1 will return to its default location when turned On.

 

 

@PHE

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

Set the hide effect

Syntax:

for a popup page

SEND_COMMAND <DEV>,"'@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 Left'"

 

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

 

 

@PHP

Set the hide effect position. Only 1 coordinate is ever needed for an effect, however the

Set the hide effect

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

position

Syntax:

 

SEND_COMMAND <DEV>,"'@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 Device,"'@PHP-Popup1;75,0'"

 

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

 

 

42

Mio Modero R-4

Page 48
Image 48
AMX Mio Modero R-4 manual @Dpg, @Pdr, @Phe, @Php