TOOLTIP Property
PLBCMP GUI Only
The TOOLTIP property specifies a string displayed in a tool tip window of an object. The property uses the following format:
TOOLTIP={value}
Note the following:
TOOLTIP may be used in CREATE, SETPROP, or GETPROP statements.
{value} is a literal or character variable containing the string displayed.
The TOOLTIP property is not supported for the following objects:
|
AUTOMATION |
LINE |
|
CHECKGRP |
MENU |
|
COLLECTION |
RADIOGRP |
|
COLOR |
SUBMENU |
|
DIALOG |
TIMER |
|
FLOATMENU |
VARIANT |
|
FONT |
WINDOW |
|
IMAGELIST |
|
Tool tip properties are set using the TOOLTIPHWND property.
When used with a STATUSPANEL object, the TOOLTIP text is displayed if the panel contains:
only an icon.
text that is truncated due to the size of the panel.
The tooltips for a TOOLBAR can be enabled to execute as an old style tooltip or to execute as a new style tooltip (9.4C). The new style tooltips allow a tooltip to appear over a TOOLBUTTON when a window containing the TOOLBAR is inactive. The old style tooltips do not allow this behavior for an inactive window.
The end-user application can cause the default tooltip behavior for any TOOLBAR to be set when the TOOLBAR is created by executing a SETMODE *TBTOOLTIPMODE keyword before a TOOLBAR is created.
After a TOOLBAR has been created, the tooltip behavior can only be changed by executing the TOOLBAR method named SetTBFlags. This method changes the current tooltip behavior to be the new or old style behavior.
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |