Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Dale Dedoroy
  Where is Dale Dedoroy?
 Bacolod City, Negros Occidental
 Philippines
 Dale Dedoroy
 To: Ryss Unger
  Where is Ryss Unger?
 Cape Town
 South Africa
 Ryss Unger
 Tags
Subject: RE: colors text in row's grid
Thread ID: 430 Message ID: 459 # Views: 3 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Wednesday, May 30, 2001 9:37:44 PM         
   


> > > I am not exactly sure what you want. Do you want to have red, green and black colums? Or do you want textboxes with different foregroundcolors? Please tell us a bit more.
> >
> > no, not colums... i want colors rows's grid.
> > in sample
> >
> > 1 - red color
> > 2 - black color
> > 3 - black color
> > 4 - green color
> >
> > 1,2,3,4 - row in grid.
> >
> >
> Hi Nika ,
> Would the data in the rows be a clue and uniquie in each row 1 - 4, so that this could be used to set the color.
> What is the data source. Could you add a indicatator 1,2,3,4 etc?
>
>
> Regards
> Ryss

Nika,
Use the DynamicBackColor and DynamicForeColor properties of the column via SetAll method of the grid. In addition, you can employ multiple IIf() to get the desired color.

Hth,
Dale

ENTIRE THREAD

Few different colors in text's grid. Posted by Nika Pozharsky @ 5/30/2001 2:15:53 AM
RE: Few different colors in text's grid. Posted by Eric den Doop @ 5/30/2001 5:31:13 AM
colors text in row's grid Posted by Nika Pozharsky @ 5/30/2001 8:36:43 AM
RE: colors text in row's grid Posted by Ryss Unger @ 5/30/2001 12:44:28 PM
RE: colors text in row's grid Posted by Dale Dedoroy @ 5/30/2001 9:37:44 PM