>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.
Edward Pikman
Independent Consultant