Type | Description | |||
Caption as String | A String expression that indicates the caption of the node being added. The Caption supports built-in HTML tags. | |||
Image as Variant | long expression that indicates the index of the icon being assigned to the node. | |||
Picture as Variant | A string expression that indicates the path to the picture file being loaded by the node, a IPictureDisp object that specifies the picture of the node |
Return | Description | |||
Node | A Node object being created. |
The Caption parameter supports the following built-in 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: