Type | Description | |||
String | A String expression that indicates the caption being displayed in the label. The string may contains built-in HTML element like explained. |
The Caption property supports the following built-in HTML elements:
The control supports expandable HTML captions feature which allows you to expand(show)/collapse(hide) different information using <a ;exp=> or <a ;e64=> anchor tags. The exp/e64 field of the anchor stores the HTML line/lines to show once the user clicks/collapses/expands the caption.
Any ex-HTML caption can be transformed to an expandable-caption, by inserting the anchor ex-HTML tag. For instance, <solidline><b>Header</b></solidline><br>Line1<r><a ;exp=show lines>+</a><br>Line2<br>Line3 shows the Header in underlined and bold on the first line and Line1, Line2, Line3 on the rest. The show lines is shown instead of Line1, Line2, Line3 once the user clicks the + sign.
or <font ;31><sha 404040;5;0><fgcolor=FFFFFF>outline anti-aliasing</fgcolor></sha></font> gets:
Use the Appearance property to specify the control's border. Use the BorderWidth, BorderHeight property to indent the control's label based on the control's client area. Use the BackColor property to specify the label's background color. Use the ForeColor property to specify the control's foreground color. The RequiredHeight property returns the height of the label required to display its entire contents. The RequiredWidth property returns the width of the label required to display its entire contents.