Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to save Grid Column widths
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 6 SP3
Miscellaneous
Thread ID:
01015023
Message ID:
01015181
Views:
21
Bhavbhuti,

Destroy() events trigger from outermost to innermost container. Grid.Destroy() fires as it destructs, all the columns are still objects that can be interrogated for their current position and width that you can put in your data store for that info.

>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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform