Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot access the selected table.
Message
 
À
17/02/1999 09:20:54
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00187612
Message ID:
00188775
Vues:
24
>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é
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform