Ed Leafe wrote:
Added the first in what I hope will be a series of demos that newcomers to Dabo can look at to get a taste of what Dabo code looks like.
Thanks, good demo. Observations:
+ It takes a full minute for the dropdown to be populated (linux)
+ When you press the up arrow on the spinner before populating the dropdown, a
recursion in the listbox happens (setting index > length)
+ Why do you both save the self.btn attr as well as the RegID of button?
self.btn and self.button refer to the same object.
+ line 78's eval() can be replaced with:
ret = getattr(self.btn, val).__doc__
+ When I push up arrow on the spinner after populating, I get:
Dabo Error Log: Thu Nov 10 10:51:33 2005: End-around call of event (<class
'dabo.dEvents.ValueChanged'>, (), {})
and nothing seems to change, other than the first item in the list
(AcceptsFocus) is no longer there, replaced by a separator.
+ I see now why you wanted to raise Hit when the value changed. I'd suggest
instead to revert that change and respond to ValueChanged instead, which is the
intent of that event.
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev