Type | Description | |||
String | A string expression that defines the button's tooltip. |
The ToolTipText supports the following HTML tags:
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:
In the VB environment, the extended wrapper control that implements properties like Visible, Top, Left, Width, Height ... and so on includes also a property named TooltipText that can provide confusions. In order to avoid confusions on this name, the VB users must call at runtime a code like:
With Button1 .Object.ToolTipText = "In VB, this is the right way to call the ToolTipText property at runtime." End With
If the Object property is missing, the code changes the TooltipText property of the VB extended class, instead calling object's property.