Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retaining grid row sizing attributes
Message
From
20/07/2000 02:10:07
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00394438
Message ID:
00394758
Views:
14
>>>I have a form that contains a couple of grids. Each of these grids has the AllowRowSozing property set to true (I won't get into why - but it was required). If the user changes the width of Grid columns, I'd like to save the settings so the next time they use the form - they don't have to go in and make changes again. How would I go about doing this?
>>
>>Allan, there is a simple Grid Saver class in Files Section/Classes-VCX (file#9308)
>
>Nick, I downloaded the class and dropped it into my form but it doesn't seem to work. Have you used this gridsizer class yourself? The readme file states that "The class should be placed in the form AFTER Grid's objects in which you want to save properties . . " I assume this means dropping the class on the form after having creating the grid - which is what I did. If you have used this class do you have any suggestions as to what I am not doing right?
>
>Thanks.

Hi Allan.
Privet Nick!
I wrote "place AFTER grids objects" then you need for grid init works before gridsaver init. If you place gridsaver on form at last order, then gridsaver init will work last and see all grids.
Tell me. Is my example do't works? Example have a lots grids in diffrent containers.
If during work you place on form new grid object, delete gridsaver from form and place again (for control have last order).
Let me know if problems stay.
Denis Gavrikov
marka@aha.ru
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform