Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Colour of rows in browse command
Message
 
 
To
15/12/2011 13:43:33
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Environment versions
Visual FoxPro:
FoxPro Windows
OS:
Windows XP SP2
Application:
Desktop
Miscellaneous
Thread ID:
01531132
Message ID:
01531140
Views:
50
>How can I paint in different colour rows depending of condition in browse command (for example rows with
>amount greater of 5000 in yellow and less then 5000 in red)?
>
>Thanks in advance

You can add NAME clause to the Browse, e.g.
browse ... NAME oGrid

oGrid.SetAll('DynamicForeColor','iif(Amount>5000,rgb(...),rgb(...))'','Column')
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform