picturepanel TagClose property
Return to Introduction  Previous page  Next page
Applies to
acRichLabel, acInfoBox, acFormHelp, acHeader, acHeaderPanel and acPicturePanel components as subproperty of TextStyle structure.  

Declaration
property TagClose: Char;  

Description
The TagClose property specifies the sign which marks the ending of formatting area of rich-text. The rich formatting tags of AppControls pack are similar to brackets "<>" of tags in HTML format. Default TagClose value is "]" sign.  

Examples of standard tags

[b] - makes text after this tag bold.  
[i] - makes text after this tag italic  
[biu] - makes text after this tag bold, italic and underlined.  
[] - clears text formatting.  
[red] - makes text after this tag red.  
[lime] - makes text after this tag light green (lime).  
[def] or [default] - returns the text formatting 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 and PlainText properties and example of using rich-formatting tags.