Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to save Grid Column widths
Message
De
17/05/2005 15:13:16
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
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:
01015050
Vues:
32
I have my code in the forms destroy method. As I said, I have one object that handles all grids. That way I don't have to do any special coding for the grid.

>Hi James
>
>>I also save all the grid setttings when the form is closed.
>
>Thanks for your response. But the thing that really bugged me is that I could not find a place in the Grid's method that fires when the form class closes. Like I mentione I tried release and destroy but they never fired, why?
>
>>>Hi all
>>>
>>>I have tried to restore and save grid column widths in one of my form. The only problem is that I can restore the positions in grid.init() but I cannot seem to save the position in grid.destroy() or grid.release()
>>>
>>>I had finally to put the code in form.release(). I was hoping to successfully do the same in grid.release() or grid.destroy() so that once tested I can move the code into the i-layer of codebook for future use.
>>>
>>>Please advise.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform