I asked about this just before Christmas, but didn't see any response. I'm
going to try again, in case I missed something, 'cause I'm still stuck.
I am trying to create a simple clickable button, with a text label, that I
can write event handlers for. This seems like just about the simplest
interactive widget imaginable, but I can't get it to work. I am using the
dyapi.gui.button object as the base, but it doesn't work. Clicking on the
text of the button does not result in an event that triggers the event handler.
If I put a wide border around the button, and click on the border, events
happen as I expect. However, clicking directly on the text does not cause
an event.
I'd easily believe that I am doing something wrong, but the example -
dynapi.gui.button.html in the examples directory - behaves exactly the same
way. In the largest button with a text label in that example, clicking
directly on the text has no effect; clicking on the border around the
button causes the button to grow, exactly as it is supposed to.
So what I am doing wrong? Surely this is one of the most basic widgets
possible. I can't imagine I am the only one who has tried to do this. Is
there something special I have to do to make it possible to get events from
a label?
Thanks for any help anyone can provide.
--
Peter Curran Software Developer Casebank Technologies Inc.
[EMAIL PROTECTED]
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-help