Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting individual grid cell color
Message
From
02/05/2000 02:17:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
28/04/2000 13:02:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00364206
Message ID:
00364979
Views:
28
>Hi Cetin-
>
>Your suggestion is a good start -- I need to pass in the *name* of the controlsource to mySetColor, rather than the value. I have tried numerous combinations of quotes etc with no luck. Any suggestions?
>
>Carlie


Carlie,
Reading your post again maybe I misguide you. You say you tried combinations of quotes. Here is another sample that uses "old" varread() to get active cell :
this.SetAll("DynamicBackColor", ;
	"iif(recno(this.recordsource) = thisform.nCurRec or " +;
	"this.activecolumn > 0 and this.columns(this.activecolumn).controlsource "+;
	"= lower(this.recordsource+'.'+varread()), 256^2-1,256^3-1)","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
Reply
Map
View

Click here to load this message in the networking platform