>>Hi,
>>
>>I want to change the forecolor on a textbox which is placed in a container which again is placed in an grid.
>>
>>If the value is >= 5 the forecolor should change to RED.
>>
>>Is this possible ?????
>
>Yes. Have the DynamicForeColor of the Grid.Column call a function that not only returns a valid color but sets the Textbox ForeColor as well. You can create a grid class with a special function for that or call a form level method.
>
>HTH.
I can add such functionality to my
GridHighlighter class.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison