Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with DynamicBackColor
Message
From
10/11/2020 16:19:01
 
 
To
10/11/2020 16:00:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01677077
Message ID:
01677096
Views:
54
If re-setting the DynamicBackColor value after assigning records works then great. But in my grid I have in the Init of the grid the creation of the cursor to hold the data (which now has no records), the setting of the grid binding to the cursor fields for each column, the restore of the column widths and display order, and finally the DynamicBackColor setting. At this point the grid has no records. In another place I have the code to query the backend tables via SQL into a temporary cursor. Then I append this temporary cursor to the cursor created in the grid's Init() event. I never have to reset the DynamicBackColor value.

If you do a SQL directly to the cursor set for the grid, then the grid does loose all the property settings.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform