Results 1 to 2 of 2
  1. #1
    Sureshgurram is offline Member
    Join Date
    Oct 2008
    Posts
    8
    Rep Power
    0

    Default tooltip should be visible when button disabled

    Hi,

    I have added a SWT button to the composte, and I set tooltip for that.
    But the tooltip is visible only when the button is enabled, it is not visible when the button is disabled.

    I want the tooltip to be visible all the time.
    How can I do that?

    Thanks in advance.

  2. #2
    fladnag is offline Member
    Join Date
    Nov 2010
    Posts
    1
    Rep Power
    0

    Default

    Hi

    I know this thread is old, but I have the same problem... and I have a solution, so maybe this can be useful to someone else.

    If you create a specific composite for your disabled component (button, checkbox, etc...) and add a tooltip on the composite, it will be displayed when component is disabled.

    Don't forget to add the tooltip for the component too if you also want to display it when it is enabled.
    Last edited by fladnag; 11-29-2010 at 11:59 AM. Reason: syntax

Similar Threads

  1. button is not getting disabled on onload event
    By Harshada in forum Advanced Java
    Replies: 2
    Last Post: 03-08-2009, 02:03 PM
  2. Address bar not visible
    By Akashchopra521 in forum New To Java
    Replies: 0
    Last Post: 12-03-2008, 07:13 AM
  3. constructor ... is not visible
    By emceenugget in forum New To Java
    Replies: 2
    Last Post: 09-27-2008, 05:12 AM
  4. Disabled JButton font color
    By p900128 in forum Advanced Java
    Replies: 1
    Last Post: 07-24-2008, 08:16 AM
  5. How to disabled a node.
    By smartsubroto in forum New To Java
    Replies: 32
    Last Post: 07-01-2008, 07:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •