Progress
Help Development
Guide
Implementing ToolTips with the Progress 4GL
To implement ToolTips, you specify the ToolTip text in the TOOLTIP attribute of the associated widget and set the TOOLTIPS attribute to TRUE for a SESSION system handle.
TOOLTIP Attribute
Each widget for which the TOOLTIP option is implemented has a run-time attribute, called TOOLTIP, established with read/write capabilities. If the TOOLTIP attribute is set to "" or the unknown value (?), then no ToolTip is displayed for that widget. The default is to not have a ToolTip. You can add a ToolTip to a widget at any time.
The following syntax is for the TOOLTIP Attribute:
tooltip
A quoted string containing the text that displays when the mouse pointer pauses over the widget.
The following code example shows how to specify a ToolTip at run time:
You can use the TOOLTIP option with the following 4GL elements:
TOOLTIPS Attribute
There is a session attribute called TOOLTIPS. The session default setting for TOOLTIPS is on (TRUE). To turn TOOLTIPS off for the session, set the TOOLTIPS session attribute to FALSE, for example:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |