I'm having problems with dynapi.gui.button widget. I have been assuming it 
is my problem, but now I have realized that the same problem shows up in 
the example, so I figure it is more complicated.

I am trying to create a simple labelled, clickable button. I don't want the 
text to be selectable, but I want to be able to click on it and get an event.

When I try this, using fairly simple and obvious code, using a Label widget 
or setText to set up the contents of the button, the button shows up. 
However, it is only "clickable" at the outside edges - clicking on the 
actual text in the button has no effect.

In the example in the CVS database, the same thing happens for the buttons 
that have text, under IE5.5. Clicking on the text of any of the labelled 
buttons has no effect; clicking in the border area outside the text causes 
the buttons to grow, as they are supposed to. (The image buttons in the 
example seem to work properly.)

Under NS4.75, the behaviour is almost the same, except the buttons flicker 
each time you click on the text, indicating something is happening, but not 
the right thing.

I have tried various things - fiddling with the event handlers in label.js 
and int button.js, adding event handlers, and various other things, but no 
luck. Can anyone suggest when is wrong here, and how I can fix it?

Thanks for any help.


--
Peter Curran     Software Developer    Casebank Technologies Inc.
[EMAIL PROTECTED]


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-help

Reply via email to