Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Stego
  Where is Stego?
 Redlands
 California - United States
 Stego
 Tags
Subject: Grid Row Color based on Data In Column 1
Thread ID: 22904 Message ID: 22904 # Views: 29 # Ratings: 0
Version: Visual FoxPro 6 Category: Grids
Date: Tuesday, April 29, 2003 8:38:06 PM         
   


Hello there!
I've looked through the FAQ and the Forums and cannot find an answer to this, thus I ask:

I've got a Grid that is 8 colums wide, and several rows deep.
Based on the Text that shows in column 1, I'd like to change the color of that particular row.
What I'd like to find out is, How do I reference the data contained in a grid cell on the same row? Ive tried

thisform.jogrid.setall("DynamicBackColor", ;
"iif(activerow.column1.text = '*', RGB(255,0,0);
,RGB(255,255,255))", "Column")

and a few other variations, and it allways says the expression is invalid.


COMPLETE THREAD

Grid Row Color based on Data In Column 1 Posted by Stego @ 4/29/2003 8:38:06 PM
RE: Grid Row Color based on Data In Column 1 Posted by Pete Sass @ 4/29/2003 9:01:05 PM
RE: Grid Row Color based on Data In Column 1 Posted by Khalil Shaddad @ 4/30/2003 6:49:55 AM