Hi!
For current cell grid use properties of the control inside of the column. So probably you need to write a code for control in the column to set up colors properly in the GotFocus event. Note that when you have Sparse=.F., this could be different.
>Hi, I am trying to get a grid cell in a different color.
>
>What I really want is that there is a narrow border around the cell,
>but it would be acceptable if the color was changed inside the cell.
>
>The best I can do is change the dynamicbackcolor and forecolor using something like:
>
>THIS.column1.DYNAMICBACKCOLOR='RGB(255, 0, 0)'
>THIS.column1.DYNAMICFORECOLOR='RGB(255, 0, 0)'
>
>My problem is it seems as though the BorderColor and DynamicForeColor
>have no effect.
>
>With the above code when you go into the field the color is not kept;
>It only shows the color as red when I am not in the field.
>
>Does anyone know how to do this?
>
>thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.