Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change a row's color in a browse
Message
From
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:
00236334
Views:
16
>>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

Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform