
Programming
Page Commands (Cont.)
PPOG | If the page name is empty, the current page is used (see example 2). Toggling refers to the | |
Toggle a | activating/deactivating (On/Off) of a popup page. This command works in the same way | |
as the ’Toggle Popup’ command in TPDesign4. | ||
specific popup | ||
Syntax: | ||
page on either a | ||
specified page or | ||
the current page. | Variable: | |
| 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 | |
| Toggles the popup page ’Popup1’ on the Main page from one state to another (On/Off). | |
| Example 2: | |
| SEND_COMMAND | |
| Toggles the popup page ’Popup1’ on the current page from one state to another (On/Off). | |
|
| |
PPON | 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 the popup page ’Popup1’ on the Main page. | |
| Example 2: | |
| SEND_COMMAND | |
| Activates the popup page ’Popup1’ on the current page. | |
|
|
Programming Numbers
The following information provides the programming numbers for colors, fonts, and borders.
Colors can be used to set the colors on buttons, sliders, and pages. The lowest color number represents the lightest color- specific display; the highest number represents the darkest display. For example, 0 represents light red, and 5 is dark red.
RGB triplets and names for basic 88 colors
|
| RGB Values for all 88 Basic Colors |
|
|
|
|
| |
|
| Index No. | Name | Red |
| Green | Blue |
|
|
|
|
|
|
|
|
|
|
|
| 00 | Very Light Red | 255 |
| 0 | 0 |
|
|
|
|
|
|
|
|
|
|
|
| 01 | Light Red | 223 |
| 0 | 0 |
|
|
|
|
|
|
|
|
|
|
|
| 02 | Red | 191 |
| 0 | 0 |
|
|
|
|
|
|
|
|
|
|
|
| 03 | Medium Red | 159 |
| 0 | 0 |
|
|
|
|
|
|
|
|
|
|
|
| 04 | Dark Red | 127 |
| 0 | 0 |
|
|
|
|
|
|
|
|
|
|
|
| 05 | Very Dark Red | 95 |
| 0 | 0 |
|
|
|
|
|
|
|
|
|
|
|
| 06 | Very Light Orange | 255 |
| 128 | 0 |
|
|
|
|
|
|
|
|
|
|
|
| 07 | Light Orange | 223 |
| 112 | 0 |
|
|
|
|
|
|
|
|
|
|
|
| 08 | Orange | 191 |
| 96 | 0 |
|
|
|
|
|
|
|
|
|
|
|
| 09 | Medium Orange | 159 |
| 80 | 0 |
|
|
|
|
|
|
|
|
|
|
|
| 10 | Dark Orange | 127 |
| 64 | 0 |
|
|
|
|
|
|
|
|
|
|
|
| 11 | Very Dark Orange | 95 |
| 48 | 0 |
|
|
|
|
|
|
|
|
|
|
|
| 12 | Very Light Yellow | 255 |
| 255 | 0 |
|
| 102 |
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
| |||||
|
|
|
|
|
|
|
|
|