Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Colour of text or background of specifc rows in a grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00573481
Message ID:
00573484
Views:
41
You can use DynamicForeColor/DynamicBackColor properties of Columns
DynamicForeColor = "IIF( Qty>0, RGB(255, 0, 0), RGB(0,0,0))"
DynamicBackColor = "IIF( Qty>0, RGB(0, 0, 255), RGB(255,255,255))"
You can use SETALL() function to set all columns at once in the init of the grid.



>Is it possible for specific rows of a grid to use a different colour text and/or background?
>
>The scenario is as follows:
>The order entry screen for one of my clients displays all of the items that are available to be sold on pages in a page frame.
>The sales rep. just keys in the quantities ordered.
>I realize that we can use a checkbox in each row to indicate which rows have quantities entered.
>However, the sales rep. would like these rows to be displayed in a different colour regardless of whether the row has the focus.
>
>Any suggestions?
>TIA.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform