PRB: DisabledBackColor Property of a Label Defaults to Gray
Article ID: 157053
Article Last Modified on 10/15/2003
APPLIES TO
- Microsoft Visual FoxPro 5.0 Standard Edition
- Microsoft Visual FoxPro 6.0 Professional Edition
This article was previously published under Q157053
SYMPTOMS
In Visual FoxPro 5.0 the DisabledBackColor property of Label objects
defaults to gray. In Visual FoxPro 3.0b, the DisabledBackColor defaults to
white.
CAUSE
In Visual FoxPro 5.0 the Label's ColorSource property defaults to 4-Windows
Colors (Default). In Visual FoxPro 3.0b, the ColorSource property defaults
to 0-Object's Color Properties.
WORKAROUND
Change the ColorSource property to 0-Object's Color Properties. A special
Label class could be created that has the ColorSource property set to 0-
Object's Color Properties. Use this Label class instead of the base class
Visual FoxPro provides.
STATUS
This behavior is by design.
Additional query words: kbdsd VFoxWin
Keywords: kb3rdparty KB157053