Programming
Page Commands (Cont.)
@PPM | A Modal popup page, when active, only allows you to use the buttons and features on that | |
Set the modality | popup page. All other buttons on the panel page are inactivated. | |
Syntax: | ||
of a specific | ||
popup page to | ||
Modal or | Variable: | |
NonModal. | popup page name = 1 - 50 ASCII characters. Name of the popup page. | |
| ||
| mode = NONMODAL converts a previously Modal popup page to a NonModal. | |
| MODAL converts a previously NonModal popup page to Modal. | |
| modal = 1 and | |
| Example: | |
| SEND_COMMAND | |
| Sets the popup page ’Popup1’ to Modal. | |
| SEND_COMMAND | |
| Sets the popup page ’Popup1’ to Modal. | |
|
| |
@PPN | If the page name is empty, the current page is used (see example 2). If the popup page is | |
Activate a | already on, do not | |
command in TPDesign4. | ||
specific popup | ||
Syntax: | ||
page to launch on | ||
either a specified | ||
page or the | Variable: | |
current page. | popup page name = 1 - 50 ASCII characters. Name of the popup page. | |
| ||
| page name = 1 - 50 ASCII characters. Name of the page the popup is displayed On. | |
| Example: | |
| SEND_COMMAND | |
| Activates ’Popup1’ on the ’Main’ page. | |
| Example 2: | |
| SEND_COMMAND | |
| Activates the popup page ’Popup1’ on the current page. | |
|
| |
@PPT | If timeout is empty, popup page will clear the timeout. | |
Set a specific | Syntax: | |
popup page to | ||
timeout within a | Variable: | |
specified time. | popup page name = 1 - 50 ASCII characters. Name of the popup page. | |
| ||
| timeout = Timeout duration in 1/10ths of a second. | |
| Example: | |
| SEND_COMMAND | |
| Sets the popup page ’Popup1’ to timeout within 3 seconds. | |
|
| |
@PPX | This command works in the same way as the 'Clear All' command in TPDesign 4. | |
Close all | Syntax: | |
popups on all | "'@PPX'" | |
pages. | Example: | |
| SEND_COMMAND Panel,"'@PPX'" | |
| Close all popups on all pages. | |
|
| |
@PSE | Syntax: | |
Set the show | ||
effect for the | Variable: | |
specified popup | popup page name = 1 - 50 ASCII characters. Name of the page the popup is displayed | |
page to the | On. | |
named show | show effect name = Refers to the popup effect name being used. | |
effect. | ||
Example: | ||
| ||
| SEND_COMMAND | |
| Sets the Popup1 show effect name to ’Slide from Left’. | |
|
|
100 |