Article ID: 10117
HOWTO:  Use control characters to create Text Effects on Single Prompts
HOWTO
Applies To: ITScriptNet V1/V2
When visually designing programs it may useful to emphasize portions of display text using formatting such as Normal, Bold, Reverse, or Bold & Reverse characters as well as text colors. This can help visually seperate and distinguish text displayed to the user.
DETAILS
Embedding the following control characters in the Text you wish to display will format the appearance of the text.

Control Character Table
Control Character Text Display Effect Terminals
\B Bold CE, Pocket PC
\R Reverse CE, Pocket PC, Supported DOS
\V Bold And Reverse CE, Pocket PC
\N Normal CE, Pocket PC, Supported DOS


Color Control Character Table
Control Character Text Display Effect Terminals
\C0 Black CE, Pocket PC
\C1 Blue CE, Pocket PC
\C2 Green CE, Pocket PC
\C3 Red CE, Pocket PC
\C4 Yellow CE, Pocket PC
\C5 Magenta CE, Pocket PC
\C6 Orange CE, Pocket PC
\C7 Teal CE, Pocket PC
\C8 Gray CE, Pocket PC
\C9 White CE, Pocket PC


EXAMPLES
Embedded Text Prompt Value Displayed
Emp: $EmpNum$ SCT Emp: SCT
Emp: \B$EmpNum$ SCT Emp: SCT
Emp: \C1$EmpNum$ SCT Emp: SCT
Emp: \B\C1$EmpNum$ SCT Emp: SCT
This article last updated: 1/1/2009 12:00:00 AM
Please help us improve the Knowledge Base by rating this article.
    © 1997-2026 Z-Space Technologies - a BCA Innovations Company - All rights reserved