SetToolTip and disabled buttons

Frank Wilder wrote:

I have an app where buttons are disabled until the user does some kind of action.

example: they must press the "Edit" button before they can edit fields on the a screen.

Some of the user testing the program are having trouble. They think the program is broken.

I have tool tips on the buttons/objects, but they are only activated when the widget is enabled. I would love to be able to have one both a 'enabled' and 'disabled' tool tip string.

Does anyone have a work around for this? Is it possible to display some kind of tool tip on a disabled widget? Do you have another solution?

The choice to display the native tooltips is handled by the platform following its own rules, so if it is not already doing it for disabled widgets then you probably can't make it do it. You can probably simulate it, however, by catching mouse events and showing a wx.TipWindow.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!