Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to save Grid Column widths
Message
From
17/05/2005 15:02:04
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 6 SP3
Miscellaneous
Thread ID:
01015023
Message ID:
01015040
Views:
23
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform