Re: Win32Lib Sugestion: Multiple event handlers

new topic     » goto parent     » topic index » view thread      » older message » newer message

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
>
>
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu