TOOLTIP Property


PLBCMP GUI Only

square.png Objects

 

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:

  1. TOOLTIP may be used in CREATE, SETPROP, or GETPROP statements.

  2. {value} is a literal or character variable containing the string displayed.

  3. The TOOLTIP property is not supported for the following objects:

  4.  

    AUTOMATION

    LINE

    CHECKGRP

    MENU

    COLLECTION

    RADIOGRP

    COLOR

    SUBMENU

    DIALOG

    TIMER

    FLOATMENU

    VARIANT

    FONT

    WINDOW

    IMAGELIST

     

     

  5. Tool tip properties are set using the TOOLTIPHWND property.

  6. When used with a STATUSPANEL object, the TOOLTIP text is displayed if the panel contains:

  7. only an icon.

  8. text that is truncated due to the size of the panel.

  9. 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.

  10. 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.

  11. 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

 



PL/B Language Reference TITLEFGCOLOR Property TOOLTIPHWND Property