Re: IDE question
- Posted by Derek Parnell <ddparnell at bigpond.com> Jan 29, 2003
- 483 views
On Thu, 30 Jan 2003 10:18:30 +1100, <Patrick.Barnes at transgrid.com.au> wrote: > > No matter, I used call_proc(onClick[button], {}) instead. > > ----Original Message----- > From: Barnes Patrick Sent: Thursday, 30 January 2003 10:05 > Subject: IDE question > > > I have a problem with the ordering of code within the IDE. > There is some code within the mainwin_onOpen event, that calls the > procedure listed for the button_onClick event. > Now, the way that the IDE has put the code into the exw means that the > procedures are in the wrong order for the above to happen, and it can't > find the procedure it needs. How do you change the order of things? > > ======================= Patrick, may I suggest that you use ... VOID = invokeHandler(button, w32HClick,{}) instead of using the onClick variable. This will help future-proof your application. -- cheers, Derek Parnell