1. Win32Lib Sugestion: Multiple event handlers
- Posted by "Thomas Parslow (PatRat)" <patrat at rat-software.com> Sep 12, 2001
- 441 views
Hi, How about allowing sequences of handlers to assigned to events in Win32Lib? Something like this: onClick[button1] = {routine_id("handler1"),routine_id("handler2")} It doesn't seem like this would be very hard to implement and it wouldn't brake any existing code. Would be very helpful when writing modular code... Any chance this could be added Derek? Thomas Parslow (PatRat) ICQ #:26359483 Rat Software http://www.rat-software.com/ Please leave quoted text in place when replying
2. Re: Win32Lib Sugestion: Multiple event handlers
- Posted by Derek Parnell <ddparnell at bigpond.com> Sep 12, 2001
- 437 views
That is on the TODO list already. Currently there is a setHandler() command. In future there will also be additional commands like... addHandler( id, event, routineId, where) removeHandler(id, event, routineId) replaceHandler(id, event, routineId) ---- Derek ----- Original Message ----- From: "Thomas Parslow (PatRat)" <patrat at rat-software.com> To: "EUforum" <EUforum at topica.com> Sent: Wednesday, September 12, 2001 9:54 PM Subject: Win32Lib Sugestion: Multiple event handlers > > Hi, > > How about allowing sequences of handlers to assigned to events in > Win32Lib? Something like this: > > onClick[button1] = {routine_id("handler1"),routine_id("handler2")} > > It doesn't seem like this would be very hard to implement and it > wouldn't brake any existing code. Would be very helpful when writing > modular code... > > Any chance this could be added Derek? > > Thomas Parslow (PatRat) ICQ #:26359483 > Rat Software > http://www.rat-software.com/ > Please leave quoted text in place when replying > > >