Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing colour of one row/column of a grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00795400
Message ID:
00795420
Views:
10
>If the price field is less than 100 (for that row), I would like to display just the price field in red otherwise in black. Also, if the user modifies the price the foreground colour should change as necessary.
>>In other words, some prices may have a foreground colour of black and others - red.

>
>Use this for the column's DynamicForeColor and refresh the grid when the user changes the price.
>
>IIF( MyTable.PriceField < 100, RGB( 255, 0, 0 ), RBG( 0, 0, 0 ) )

Marcia,

Tks.
Regards,

Allan Coganovitch
allanc@proven-solutions.com
Previous
Reply
Map
View

Click here to load this message in the networking platform