Type | Description | |||
String | A String expression that may contain HTML tags and expressions that indicates the additional information about the bar from the cursor to be shown in the Zoom-OnFly view. |
The following screen shot shows the default caption in the Zoom-OnFly view:
By default, the caption of the Zoom-on-fly includes the following information:
so the caption of the Zoom-on-fly includes the following information:
and the zoom on fly panel shows as following:
The ZoomOnFlyCaption property 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:
The ZoomOnFlyCaption property supports expressions between <%= and %>, aka <%=expression%>, where the expression can use predefined operators and functions like explained bellow. Inside the expression, the the %0, %1, %2, %3, indicates the bar's property. For instance, the <%=%0%> indicates the ItemBar(exBarName) or the type of the bar such as "Task", "Split", ... , as the exBarName identifier is 0, or <%=%9%> indicates the ItemBar(exBarKey) or the key of the bar ( the Key parameter of the AddBar method ) , as the exBarKey identifier is 9. Also, the known variables are %C0, %C1, %C2, ... which indicates the values in the columns. For instance the expression <%=%9 + '/' + %C0%>, displays the key of the bar, followed by '/' character, and next the value in the first column ( 0 indicates the index of the column ).
This property/method supports predefined constants and operators/functions as described here.