Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to save Grid Column widths
Message
From
17/05/2005 15:13:16
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:
01015050
Views:
31
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform