Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setall fails in a grid
Message
From
26/02/1999 14:38:42
 
 
To
26/02/1999 11:34:26
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00191974
Message ID:
00192105
Views:
18
>>I have a class with a grid on a container. I'm trying to highlight the current line. I've added all necessary code to an mvGrid sub-class to get this behavior. All other grids highlight correctly. Some are on containers in a sub-class adn some are grids placed directly on a form. All other grids work correctly.
>>
>>In the debugger, I've watchhed the statements that SetAll dynamicbackcolor and dynamicforecolor execute. On working grids I can watch the expression appear in the grid properties. On the non-working grid, the expression will NOT appear in the properties. I've even tried putting in the iif() expressions directly in the non-working grids grid and IT STILL DOESN'T WORK.
>>
>>Is there some property that I need to set to make this work that I'm missing? VFP 5.0a
>
>'Failed' means that grid is not highlighted, but there are no error messages? Could you post your DynamicBack/ForeColor expression? It was found once one funny thing: if you add a space at the end of this expression (if my memory serves me right) the whole thing really stops to work properly.

I've found that any spaces in the expression can cause this.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform