Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DynamicForeColor on Textbox in a container in a grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00451525
Message ID:
00451583
Views:
26
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform