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


> 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

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