Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Steve Dingle
  Where is Steve Dingle?
 Weybridge
 United Kingdom
 Steve Dingle
 To: Stefan Wuebbe
  Where is Stefan Wuebbe?
 Hamburg
 Germany
 Stefan Wuebbe
 Tags
Subject: RE: System Disabled Fore/Back Color
Thread ID: 209665 Message ID: 209672 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Win32API programming
Date: Tuesday, December 30, 2008 12:04:11 PM         
   


> > Heya All,
> >
> > Anyone know how I can get the fore/back colors currently set as the "disabled" controls colors?
> >
> > I want to disabled an ActiveX control and when I disable it the colors don't change so I need to do it manually
> >
> Hi Steve,
>
> How about creating an object on the fly
>
> o = CREATEOBJECT('Textbox')
> ? o.DisabledBackColor
> ? o.DisabledForeColor
>
>
> hth
> -Stefan

Heya Stefan,

Not a bad idea, I've been playing around with GETSYSCOLOR on assorted things and I just had my head stuck in WinAPI mode :-)

thanks,

Steve Dingle
http://weblogs.foxite.com/SteveDingle/
www.dsbusinesssolutions.co.uk

ENTIRE THREAD

System Disabled Fore/Back Color Posted by Steve Dingle @ 12/30/2008 11:11:40 AM
RE: System Disabled Fore/Back Color Posted by Stefan Wuebbe @ 12/30/2008 11:30:52 AM
RE: System Disabled Fore/Back Color Posted by Steve Dingle @ 12/30/2008 12:04:11 PM
RE: System Disabled Fore/Back Color Posted by Yousfi Benameur @ 12/30/2008 5:35:45 PM