Re: dead buttons??
- Posted by eugtk at yahoo.com Aug 11, 2003
- 388 views
--- George Walters <gwalters at sc.rr.com> wrote: > > All my buttons work, however when I click the > "Begin" button to start a > program, my "Cancel" button is now dead eventhough > I've never disabled it. > Some, like updates need to have a dead Cancel button > but stuff like reports > and non updates need this to work. Any Idea's why > this is so? It seems the > "object" nature of the program objects is broken. Just to clarify - are you talking about starting some long process such as printing a report, and then wanting to interrupt that process before it is complete by hitting "cancel"? AFAIK, since Eu doesn't do threads, it (and Winlib) are not going to be checking for button presses while doing something else. I think there's a peekEvents call or doEvents or similar you could add to your print routine to periodically check for queued events like button clicks. After each line is printed, for example. I don't do Windows, however. Someone else will have to come up with the correct name. Regards, Irv