Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to save Grid Column widths
Message
From
18/05/2005 11:23:56
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 6 SP3
Miscellaneous
Thread ID:
01015023
Message ID:
01015404
Views:
25
>Hi
>
>>It's far better to use the Event Tracking feature of the debugger than it is to seed wait windows around. Are you missing dodefault() calls? You should step through the destruct sequence in the trace window to see why your current code isn't firing.
>
>I tried to look for missing dodefault() but couldn;t find any. I'll try it the degugger way. Thanks for your help.

Here's my grid.destroy()
For i=1 To This.ColumnCount
	o=This.Columns[i]
	If pemstatus(o, "cleanup",5)
		o.cleanup()
	Endif
Endfor
I'm using custom column class, so here I just check whether the column has the cleanup method (i.e. is it my column class, or the grid may have a column dynamically added or has it autorebuilt, in which case I may have a standard column), and run it if it has one. The column.cleanup then saves its own stuff. What can I say - I wrote this two years ago, and it has always worked.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform