NetLinx Programming
82
TPI-PRO-DVI - Instruction Manual
Page Commands (Cont.)
@PHE Set the hide effect for the specified pop-up page to the named hide effect.
Syntax:
"'@PHE-<popup page name>;<hide effect name>'"
Variables:
• popup page name = Name of the page on which the pop-up is displayed (1 - 50 ASCII characters).
• hide effect name = Refers to the pop-up 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 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 on which the pop-up is displayed.
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 pop-up page.
Syntax:
"'@PHT-<popup page name>;<hide effect time>'"
Variables:
• popup page name = 1 - 50 ASCII characters. Name of the page on which the pop-up is displayed.
• 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 pop-ups on a specified page. Same as the ’Clear Page’ command in TPDesign4.
Note: If the page name is empty, the current page is used.
Syntax:
"'@PPA-<page name>'"
Variable:
• page name = 1 - 50 ASCII characters. Name of the page on which the pop-up is displayed.
Example:
SEND_COMMAND Panel,"'@PPA-Page1'"
Close all pop-ups on Page1.
@PPF Deactivate a specific pop-up page on either a specified page or the current page. If the page name is empty, the current page is
used (see example 2). If the pop-up page is part of a group, the whole group is deactivated. This command works in the same
way as the ’Hide Popup’ command in TPDesign4.
Syntax:
"'@PPF-<popup page name>;<page name>'"
Variables:
• popup page name = 1 - 50 ASCII characters. Name of the pop-up page.
• page name = 1 - 50 ASCII characters. Name of the page on which the pop-up is displayed.
Example:
SEND_COMMAND Panel,"'@PPF-Popup1;Main'"
Deactivates the pop-up page ’Popup1’ on the Main page.
Example 2:
SEND_COMMAND Panel,"'@PPF-Popup1'"
Deactivates the pop-up page ’Popup1’ on the current page.
@PPG Toggle a specific pop-up page on either a specified page or the current page. If the page name is empty, the current page is used
(see example 2). Toggling refers to the activating/deactivating (On/Off) of a pop-up page. This command works in the same way
as the ’Toggle Popup’ command in TPDesign4.
Syntax:
"'@PPG-<popup page name>;<page name>'"
Variable:
• popup page name = 1 - 50 ASCII characters. Name of the pop-up page.
• page name = 1 - 50 ASCII characters. Name of the page on which the pop-up is displayed.
Example:
SEND_COMMAND Panel,"'@PPG-Popup1;Main'"
Toggles the pop-up page ’Popup1’ on the ’Main’ page from one state to another (On/Off).
Example 2:
SEND_COMMAND Panel,"'@PPG-Popup1'"
Toggles the pop-up page ’Popup1’ on the current page from one state to another (On/Off).