|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:
Also, newer HTML format supports decorative text like follows:
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.