FIX: CheckBox Control in Grid Cannot Be Set to Read Only
Article ID: 140792
Article Last Modified on 9/30/2003
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
- Microsoft Visual FoxPro 3.0b Standard Edition
This article was previously published under Q140792
SYMPTOMS
Setting the Readonly property to True for a column that contains a check
box does not prevent the check from being changed at run-time. Setting the
Readonly property of a column containing a text box to true prevents the
entries in that column from being changed at run-time.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This bug has been fixed in Visual
FoxPro 5.0.
WORKAROUND
Set the Enabled property of the column to false. The column displays but
the colors are dimmed. You can change these colors. However, the column
will not display disabledforecolor as black even with an entry of 0,0,0.
The check box also remains dimmed.
Additional query words: 3.0b kbvfp300 kbvfp300b kbvfpfix500
Keywords: kbbug kbfix KB140792