Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot access the selected table.
Message
 
To
17/02/1999 09:20:54
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00187612
Message ID:
00188775
Views:
26
>We've run into this problem as well, and found a simple workaround that seems to work. It involves setting the form's Visible property to .f. at the beginning of the form's Destroy event (before running the framework's default code). For some reason, this seems to keep the form controls from trying to access their control sources (after their source data has been destroyed).
>
>Hope this helps......Eddie

Eddie,

I checked the framework, and the first thing that a cBaseForm.Destroy() does is setting the visible property of the form to .F. In other words your suggestion is already implemented and should work in most of the cases, but not here.

So for now on, I'll leave the SetFocusToFirst() call in UiEnabler.UiEnable() commented out. I've tried many approaches last night and found nothing of great interest that I could share...

José
Previous
Reply
Map
View

Click here to load this message in the networking platform