Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to extract grid props when form closes?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Where to extract grid props when form closes?
Divers
Thread ID:
00302791
Message ID:
00302791
Vues:
62
I'm trying to extract the column widths from a grid when the form is closed, so I can store them in the registry and use them the next time the user opens that form.

When I try to extract the values in the Form's UNLOAD via:

THISFORM.Grid1.Column2.Width

I get an error that the object GRID1 does not exist -- so I figure the grid must be destroyed before the form unloads. I went ahead an put the code into the GRID's DESTROY event instead - but I still get the same error.

Where would be the appropriate place to put this code, so I pick up the values as the form is closed? Do I have to go to each COLUMN's DESTROY event?

TIA
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform