Skip to Content
avatar image
Former Member

How to diaplay message when cursor moves on the icon?

Hi,

I have defined a field colum in a table control, which is used to display icon, such as '@5c@', my question is, I hope some message can be displayed when the mouse cursor moves on the icon, so how to realize this kind of function?

Please kindly advise.

Thanks and best regards.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 18, 2007 at 11:45 AM

    Hai,

    In screen painter

    1. Go to element list.

    2. Select the properties of that particular field.

    3. There you can find 'TooltipText' property select text.

    4. Here you can specify your text by two ways i.e, text element and value from variable.

    If you follow the above steps you will get the tool tip text for a field.

    Run the trx ICON, here you can see all codes of SAP icon.

    In the PBO of your screen:

    LOOP AT ITAB....

    MODULE SHOW_ICON.

    ENDLOOP.

    MODULE SHOW_ICON.

    ITAB-ICON = '@XX@'.

    ENDMODULE.

    The field ITAB-ICON should be for ONLY OUTPUT

    include <icon>.

    DATA: INFO(20) VALUE 'Information for this icon'.

    WRITE: / ICON_INFORMATION AS ICON QUICKINFO info

    HOTSPOT COLOR COL_POSITIVE

    Regards

    Preeti

    <i><b>

    Dont forget to reward points</b></i>

    Add comment
    10|10000 characters needed characters exceeded