DerekT
MyWindow June 08, 2009 10:57AM |
Jimbo
Re: MyWindow June 08, 2009 04:22PM |
Moderator |
Quote
DerekT
WDMobile 12
Mobile application - 1 window, 9 planes
If Logon fails then the app will change plane and go into a retry loop.
This runs for 5 iterations in its own thread - global procedure programmed using the automatic timer (icon top right of code window).
If Logon cannot be achieved then I return, or at least should do, to the Logon window.
The code used to do this is MyWindow..plane = 1
What I get is the following error.............
Error at line 36 of Local Procedure lpP01b_LogonLoop process.
Unable to use MyWindow: no current window.
Why,how can I lose reference to the current window when there is only one?
Changing the command to use the actual window name overcomes the problem but I would be interested for any insight into this situation.
MyWindow..plane = n works everywhere else without a problem.
Regards
DerekT
Al
Re: MyWindow June 08, 2009 05:04PM |
Moderator |
DerekT
Re: MyWindow June 09, 2009 11:47AM |