Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids losing their properties
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01553237
Message ID:
01553239
Vues:
48
>I have a new grid that seems to forget the rowsource property for its columns. The grid uses a cursor created in the form’s load method. The grid itself can remember the rowsource property, but after I save and resume the session the grid has lost all the rowsource properties for each column.
>
>I use the safe select method for populating the grid. I only address the grid population in the refresh method of the grid. I never address the rowsource properties programmatically.
>
>Any thoughts?
>
>Thank you in advance,
>
>Gary

You can not switch datasession while working with the grids. Instead of switching datasession, try instantiating an object of the session based class and do the work in one of its methods. I had similar problems before - grids are very sensitive to the form keeping their datasession.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform