Try OpenEdge Now
skip to main content
Programming Interfaces
External Program Interfaces : Providing Help for OpenEdge Applications : Field-level online help : ToolTips : TOOLTIP attribute
 
TOOLTIP attribute
Each object 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 object. The default is to not have a ToolTip. You can add a ToolTip to an object at any time.
Here is the syntax for the TOOLTIP option:

Syntax

[ TOOLTIP tooltip]
tooltip
A quoted string containing the text that displays when the user pauses the mouse pointer over the object.
The following code example shows how to specify the TOOLTIP attribute at run time:
Btn_OK:TOOLTIP = "Select this button to accept the information."
You can use the TOOLTIP option with the following ABL elements:
*DEFINE BROWSE statement
*DEFINE BUTTON statement
*DEFINE IMAGE statement
*DEFINE RECTANGLE statement
*VIEW-AS phrase for combo box, editor, fill-in, radio set, selection list, slider, text, and toggle box objects.