On Dec 20, 2010, at 1:47 PM, Paul McNett wrote:
>> Both are bound. You can have multiple handlers for a given event. Try
>> adding some debug output to those two handlers to see that they are both
>> called. A common case is for some behavior to be bound at the framework
>> level, and then have the developer bind additional behavior at the
>> application level.
>
> If the first handler calls evt.stop(), the second handler won't get called.
Actually, if the *second* handler that is bound calls evt.stop(), the
first one bound won't get called. Events get handled in the reverse order of
their bindings. Try running this sample code:
http://dabo.codepad.org/hpWgPZJK
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]