Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to save Grid Column widths
Message
De
17/05/2005 15:02:04
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:
01015040
Vues:
24
This message has been marked as a message which has helped to the initial question of the thread.
Bhavbhuti,

I do this in the forms init. I have an object that finds all the grids on a form and stores an instance of that grid. Then the object resets all the user prefrences for each grid.

I also save all the grid setttings when the form is closed.



>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