Kent,
You will have to save the column widths, order etc into some form of user
definition such as an .ini or I personally use a DBF file keyed on the
Form/object name. 

Cycle through all the columns and save their attributes into a memo field.
Obviously the number of properties you want to save will vary. You probably
need to check out the pemstatus()and GetPem() functions if you make the
save/restore methods generic.

Unfortunately there is no easy way of doing it but if you put the
save/restore code into the base class then at least it is available for all
your application objects.

Dave Crozier

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Kent Belan
Sent: 16 April 2008 00:36
To: 'ProFox Email List'
Subject: Grid - Remember Last positions

Hello,
I have a grid in VFP9. 
If a user resizes columns and changes the order of columns,
how can I remember the last grid positions the next time
the grid is displayed?

Thanks,
Kent




[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to