Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change a row's color in a browse
Message
 
To
01/07/1999 04:00:57
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00227597
Message ID:
00236373
Views:
17
>>>Is there a way to change a row or field's back or fore color in a browse based upon some condition? Something like DynamicBackColor or DynamicForeColor. I have been playing with the COLOR SCHEME stuff but all I can do is change the whole thing or the current record, not any record based upon a condition. Thanks for the suggestions.
>>
>>From the lack of responses it seems like there isn't. You could use a grid on a form instead... much more control.
>Responses lack primaryly the message has never been noticed :) Your message led me to notice it.
>Browse has been granted to use grid properties :) Here is a very simple ledger style browse :
use home()+"samples\data\employee"
>browse nowait name myBrowse
>myBrowse.setall("DynamicBackColor",;
> "iif(recno()%2=0,rgb(255,255,0),rgb(255,255,255))","Column")
Cetin

Hey, guys, this is posted under 2.6. We should probably be urging Shane to move to vfp so that he can do what he desires :)
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform