Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Renaming form method causes grid to
Message
De
02/02/2005 11:35:19
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00982551
Message ID:
00983090
Vues:
24
Bernard-

>Got a weird problem with my VFP app. It was a VFP6 app that I ported to VFP9.
>
>I have a form with one grid. After renaming one of the user-defined methods of the form, the grid seems to be destroyed at runtime. Stepping through the code, it seems the column objects were not created, and only the grid exists.
>
>Is this a known issue? How do I rename that method?

Was renaming the method and changing any code references to the method the only change you made between the grid working and not working? Are you sure the grid is being destroyed, and just not being built in the first place? For example, after the form is finished with its init, is the RecordSource set to what you expect and is the RecordSource populated? What happens if you reset the RecordSource?
ThisForm.MyGrid.RecordSource = myCursor
for example. You probably know that the classic cause of a grid being destroyed is requerying the RecordSource without first setting the RecordSource to "".
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform