Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Question - Changing font color on text
Message
From
27/09/2012 10:23:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Grid Question - Changing font color on text
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01553756
Message ID:
01553756
Views:
108
I have a grid with several columns of data in. I have set the property "Allow Cell Selection" to false so that the user can not change any values in the grid. I want to change the font color of the text in the text box under two conditions.

Condition 1
- If the value in a text exceeds a certain value then the font must be read of for that text box

Condition 2
- The text box in certain colums must be bold and in another color when the current row is highlighted.


So if you look at the screen capture of my grid. I want the following:
- values in the 3rd column to be red if the value is above 50
- i want the value in the 3rd, 4th and 5th column where the row is highlighted to be bold and in another color.

Is this possible and how do I go about doing this.

Thanks in advance.

Stuart
Stuart Reid

True nobility lies not in being superior to another man, but in being superior to one’s previous self
Next
Reply
Map
View

Click here to load this message in the networking platform