Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Column order
Message
 
 
To
01/06/1999 13:49:04
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00225025
Message ID:
00225029
Views:
58
>HI all!!
>
>Ready for DevCon ??
>
>Well in the maen time I have a question...
>How I can save the column order of a grid control at run time, so, when the user comes back to the form will find the column order as he left it...???
>
>Thanks

You will need to store the settings to a separate table [like a FoxUser table] when the form is closed. You could code this in a custom method of your form class and [optionally] call it if you want this feature in all your forms. I think the design of this settings table may be best left to your imagination and needs depending on what all you want to be able to restore -- e.g., last top and left coordinates of the form, height and width of the form, grid column widths and order, etc.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform