Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid, Odd Behavior
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00167111
Message ID:
00167557
Views:
22
>What would suddenly cause a subclassed grid to
>
>1. start complaning about a perfectly valid dynamic backcolor expession and
>
>2. fail to refresh the controls in the grid -- that is the default refresh() behavior of the grid is not occuring.
>

Hi James,

Not that it will cure your problems but just a general thought that had me fidgeting a while back...

When setting properties like DynamicBackColor and DynamicForeColor (any 'Dymnamic' property for that matter) it's important that the CurrentControl of the column actually have that property.

You can get into your kind of problem when assigning say a DynamicForeColor property to a column and a DynamicCurrentControl that will bring up a control without that property. In this case you get similar behaviour from FoxPro as in your case.

Just my 0.1 cents
(using VFP 3.0 for Win & Mac)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform