Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preserving Grid Properties: Arnon is smart
Message
 
 
To
09/11/1996 15:20:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00011864
Message ID:
00011896
Views:
33
>several things
>1st when u sub-class a grid you don't have to have it functional you can
>just use it as a template

Good point. But still doesn't solve the problem if you need to change the grid from one alias to another during runtime. In fact, with VFP 5.0, I'm even having problems with MSFT's suggestion of pointing the grid to another table with the exact same structure. For some reason, changing the Grid's recordsource causes all controlsources for the columns to be reset, no matter what you change recordsource to.

>2nd you can also try to set ther recordsource to "" before making the change and then setting it (as suggested by Michel P. in VFUG tips)

This seems to not work with 5.0. Maybe it has to do with the syntax of the controlsources for the grid columns (I also tried leaving columns' controlsources blank and setting the controlsource for each column's control. Still made no difference).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform