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:
01016013
Views:
17
Bhavbhuti,

Then obviously you'll have to hook the process before the framework rips everything out from under your form. Perhaps you should just do the grid save from the form.QueryUnload().

>That would have been done by the CodeBook as I have minimum code in my form, just for the grid column saving. More so when the debug window was open and I also had that wait window to show me the column count in release as well as in the destroy of the grid, I noticed not only was the grid w/o any columns but also all the controls txtboxes etc were also not there/hidden, only the grid border and the labels where showing.
>
>>When the grid RecordSource goes away, the grid will lose all of it's contained objects.
>
>that is what I have observed and if has to be done by the framework releaseing the BOs, but I have not been able to pinpoint the exact place as such stuff is supposed to be done in the form destroy but I presume that the form.release is called much before (as I have the column count > 0) yet the call straight to the grid releaSe from form.release yields columncount = 0.
df (was a 10 time MVP)

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

Click here to load this message in the networking platform