PRB: Caption Dithered If DisabledForeColor Equals ForeColor (156101)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q156101 SYMPTOMS
For certain Visual FoxPro controls, if the DisabledForeColor property is
set the same as the ForeColor property when the control is disabled, the
disabled control's foreground color appears dithered. This behavior applies
to command buttons, labels, option buttons, and check boxes. This behavior
also affects how their captions appear.
WORKAROUND
Set the DisabledForeColor property to be 1 (one) different from the
ForeColor property. For example, place the following code in the Init
method for a check box:
this.DisabledForeColor = this.ForeColor + 1
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 12/3/2003 |
---|
Keywords: | KB156101 |
---|
|