From: John L. <jla...@gm...> - 2005-07-21 17:37:53
|
On 7/20/05, The Doctor <the...@bl...> wrote: > Thankyou. :) > Sorry I didn't say something earlier, been a lot going on these past two = days. No, problem. We're all probably pretty busy. =20 > That example you gave me will do well, I'll get something working from th= at. The reason I didn't give a framework for code to be added to is that I = don't often know what will be possible, as my question this time suggests.= =20 I'm glad it helped, but sometimes a little more code would make the descriptions more clear. For example, what did you have that made the event:ControlDown() not work, maybe it was just a typo or something. > In other words, for a framework for adding an example, the easiest way th= at might help others as well as me might be to reach for whichever exiistin= g wxLua example is currently supplied with the distribution, and work it in= to that. That was what I was thinking. > I'm really hoping for wxLua to have libraries written so MIDI and audio s= ignals can be handled.=20 That will be something you'll have to do unfortunately. > PS. I did what you suggested, removed that SetEventHandler() stuff. I jus= t bundled the individual handler code into a for loop. Can't help thinking = though, that this might still fill up a load of RAM with dupes that might b= etter be avoided with a bit of event propagation the user can control. I don't think it'll be a problem, even with thousands of them. Regards, John Labenski |