Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change a row's color in a browse
Message
From
03/07/1999 09:11:54
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00227597
Message ID:
00237166
Views:
13
>>>>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 :)
Yeah Bruce I should read the section too :)
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
Reply
Map
View

Click here to load this message in the networking platform