formhelp Text-formatting tags
FormHelp component
Previous  Top  Next
If you would like to make rich-text formatting of your context sensitive help you may:
1. Use built-in WYSIWYG context-sensitive help designer (drop acFormHelp onto your form and try to edit secondary part of Hint property of any visible control like TButton, TCheckBox or TGroupBox).
2. Make formatting manually in the secondary part of Hint property of any visible control, using special tags:

Style tags (for changing the style attributes):
[B] - Bold font.Example: "[b]Hello world[]"  
[I] - Italic font.Example: "[i]Hello world[] "  
[U] - Underlined font.Example: "[u]Hello world[]"  
[S] - Striked font.Example: "[s]Hello world[]"  
[]  - normal, regular font  
You can also combine several stiles simultaneously:  
[BI] - Bold+Italic.Example: "[bi]Hello world[]"  
[US] - Underline+StrikedExample: "[us]Hello world[]"  
[BIUS] - Bold+Italic+Underline+Striked   Example: "[bius]Hello world[]"  

Color tags (for changing the text colors):
[Black]   Example: the [black]FormHelp[def] component  
[Maroon]   Example: the [maroon]FormHelp[def] component  
[Green]   Example: the [green]FormHelp[def] component  
[Olive]   Example: the [olive]FormHelp[def] component  
[Navy]   Example: the [navy]FormHelp[def] component  
 
[Purple]   Example: the [purple]FormHelp[def] component  
[Teal]   Example: the [teal]FormHelp[def] component  
[Gray]   Example: the [gray]FormHelp[def] component  
[Silver]   Example: the [silver]FormHelp[def] component  
[Red]      Example: the [red]FormHelp[def] component  
[Lime]   Example: the [lime]FormHelp[def] component  
 
[Yellow]   Example: the [yellow]FormHelp[def] component  
[Blue]   Example: the [blue]FormHelp[def] component  
[Fuchsia]   Example: the [fuchsia]FormHelp[def] component  
[Aqua]   Example: the [aqua]FormHelp[def] component  
[White]   Example: the [white]FormHelp[def] component  
 
[Def] or [Default] - these tags will return text color and style to default state, as specified in Font property.  


Note
If PlainText property is True, nor rich text will be displayed. All formating will be shown as usual flat text.  

See also
TagOpen, TagClose and PlainText properties.