Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ken Murphy
  Where is Ken Murphy?
 Springhill
 Canada
 Ken Murphy
 To: Binod Binani
  Where is Binod Binani?
 Kolkata
 India
 Binod Binani
 Tags
Subject: RE: Forms Color
Thread ID: 112628 Message ID: 112650 # Views: 1 # Ratings: 2
Version: Visual FoxPro 6 Category: Forms
Date: Friday, November 10, 2006 11:38:37 AM         
   


> > > In a Form There are few Text Box,Combo & Grid.
> > >
> > > Is there any way to change Backgrond Color, Fore Color,Fonts Color
> > >
> > > of Forms it self,Textbox,grids,combo at a time,by one command OR Similar.
> > >
> > >
> > > I was trying SETALL() but not success.
> > >
> > > new to vfp

> >
> >
> > You can't do it with a single command. You need at least two:
> >
> > * set background property of all controls on this form) 
> > thisform.SetAll("backcolor", RGB(255,0,0)) 
> > * set background property of this form) 
> > thisform.backcolor = RGB(255,0,0) 
> > 

> > --
> > Eric den Doop
> > www.foxite.com - The Home Of The Visual FoxPro Experts

>
> Thanx a lot Mr ERIC
>
> It worked. No matter for two commands.
>
>
> new to vfp


Binod,

If Eric's reply was of value to you, perhaps you could consider taking the time to give him a rating. When you rate a post, you not only show appreciation, you also inform other members (who may be dealing with the same issues you are) that this post was of value to you in solving your problem.

Ken
You shall know the truth - and the truth shall set you free. (John 8:33)

ENTIRE THREAD

Forms Color Posted by Binod Binani @ 11/10/2006 9:03:32 AM
RE: Forms Color Posted by Eric den Doop @ 11/10/2006 9:42:07 AM
RE: Forms Color Posted by Binod Binani @ 11/10/2006 10:07:25 AM
RE: Forms Color Posted by Ken Murphy @ 11/10/2006 11:38:37 AM