Re: [WIN] stumped in win32lib [Jeff Fielding]
- Posted by "Jerry C. Cummings" <futures8 at EARTHLINK.NET> Dec 05, 2000
- 431 views
Jeff; Thanks for the detailed explanation. It solved my problem, of course. Still mystified by the fact that a loop is not required (in my code, at least) to keep returning to the EditText fields for subsequent errors. Apparently, that's being handles somewhere in the depths of Win32Lib. (A trace(1) before your 'return' statement showed the code returning to line 16,333 in function wmCommand). Looks to me like I have to get used to thinking quite differently in programming for Windows. Thanks for your help, Jeff. Jeffrey Fielding wrote: > If you instead returned from the procedure as soon as an error was detected > and a message box displayed, then the user could fix the error and click OK > again. I've included an example below. > > Jeff Fielding >