Question Event handlers execution order

VBobCat

Well-known member
Joined
Sep 6, 2011
Messages
137
Location
S?o Paulo, Brazil
Programming Experience
3-5
If one control has one of its events (for instance, TextBox.Leave) being handled by more than one routine, is it possible to predict in which order these routines will run? Thanks!
 
With Handles you can't control the order the event handlers were added, using AddHandler you can.
Though it would sound to me like a design flaw if that order mattered, and that these handlers should instead be routed to a single method that handles the order of things.
 
Back
Top