Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to save Grid Column widths
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 6 SP3
Divers
Thread ID:
01015023
Message ID:
01015958
Vues:
17
Hi David

>You didn't address this part of my last post: You've got to have some other code that is causing the grid to internally self destruct prior to the Grid.Destroy event. Are you closing the table/cursor earlier than it would naturally happen in the normal sequence of events?

That would have been done by the CodeBook as I have minimum code in my form, just for the grid column saving. More so when the debug window was open and I also had that wait window to show me the column count in release as well as in the destroy of the grid, I noticed not only was the grid w/o any columns but also all the controls txtboxes etc were also not there/hidden, only the grid border and the labels where showing.

>When the grid RecordSource goes away, the grid will lose all of it's contained objects.

that is what I have observed and if has to be done by the framework releaseing the BOs, but I have not been able to pinpoint the exact place as such stuff is supposed to be done in the form destroy but I presume that the form.release is called much before (as I have the column count > 0) yet the call straight to the grid releaSe from form.release yields columncount = 0.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform