Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retaining Grid Properties
Message
From
04/08/1999 03:31:46
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00249339
Message ID:
00249604
Views:
25
Hi Binoy.

>> Everytime we set the recordsource property of the grid to this table, we lose all previously set properties of the columns. All coulmns appear resized and difficult to read unless manually re-adjusted. Without going through storing previous properties to arrays and then restoring them, is there another easier way to restore properties??? The field names for the table created will always be the same. <<

If the structure of your cursor is not going to change, you can create the cursor in your Form.Load. Then, whenever you need to refresh the cursor's data, you can just zap it and append your new data. Since zapping the cursor doesn't close it, your grid won't get reset.

Marcia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform