Native Windows Tooltip Support

A new statement called, WinTooltipCtrl was introduced in VTS 7.1 to support Windows tooltips.

A Windows tooltip is a pop-up text window that provides an operational hint to a user based on the object on which the mouse pointer is focused. VTS formerly used native "post-it notes" for this purpose; however, VTS 7.1 introduced native Windows tooltips. As a VTS developer, you may choose to present the textbox-style tooltips to users, or employ the balloon-style tooltips (default).

VTS and VTScada Notes

The VTS and VTScada layers have some changes to support the new tooltips.

The default behavior is to display balloon-style tooltips for "drawn" objects (e.g. an analog input represented as a number on a page), and to display rectangular tooltips for other objects, such as buttons in a tool bar (e.g. rectangular tooltips appear for each of the buttons in the tool bar on the Historical Data Viewer page). This behavior can be changed to always display rectangular tooltips by setting the Config.ini variable "NoBalloonTips" to a non-zero value.

Tooltips in a VTS application will use a font called TipFont if you have defined one (you may select any font when defining TipFont). If not defined, the default system font will be used.

The names of the constants in the Config.ini file that pertain to tooltips have been changed; the string "PostIt" has been replaced with "Tip" (e.g. PostItOn has been modified to TipOn). The default (Invalid) for all of these settings results in the default operating system settings being used. Please refer to Config.ini [SYSTEM] Section Variables for Tooltips.

Windows Options Statement

The WindowsOptions statement has been extended to allow setting the text color, background color, and timings associated with all tooltips for a given window. These settings are inheritable, so that Windows that are children of a window that already has these settings modified uses the parent window's settings, unless explicitly overridden by subsequent WindowOptions statements. These additional options can be found in WindowOptions.