Ed Leafe wrote:
On Oct 17, 2005, at 9:29 AM, Paul McNett wrote:

        self.Form.bindEvent(MyEvent, self.onMyEvent)


    OIC. I was using: self.bindEvent(MyEvent, self.onMyEvent)

The way we have Dabo events designed, there isn't any automatic propagation. Raising something from the form level isn't going to be seen by an object of the form unless that object binds to the form event.


    Then why do wx.Paint events flow down to all controls on a form?

Because that's how wx events are designed - they can be set to propagate if they haven't been handled, and even if they have been handled. Much more complex, but very useful. For pure-Dabo events though, I opted for simplicity and left out the propagation machinery.

--
Paul McNett
http://paulmcnett.com
http://dabodev.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to