Re: wxEuphoria no event triggered
- Posted by Greg Haberek <ghaberek at gma?l.co?> Jan 25, 2008
- 556 views
jacques deschĂȘnes wrote: > > That wright. It's what I did at first, but it was apparently not working. The > error was in the event handler itself. I was calling end_dialog() with the > this > parameter which is not the dialog but the button. > So the dialog was nerver closing. From there I wrongly concluded that event > handler was not called. > I should had trace my code before going to wrong conclusion. > > thanks both of you for your answer. Ah yes, the "this isn't that" paradigm. wxEuphoria has lead me down that road many, many times. I'm used to the Win32Lib mindset where each control gets its own events and "pSelf" is what had assigned in setHandler(). Alas, I've now got a rather firm grip on wxEuphoria. I'm enjoying it more every day! -Greg