PRB: Setting the ReadOnly Property of a Control Does Not Work (130225)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
This article was previously published under Q130225 SYMPTOMS
Setting the READONLY property of a control in a Grid does not have any
effect at runtime. It is possible to edit the data in the Grid.
CAUSE
The READONLY attribute is controlled by the READONLY property of the Column
object, which takes precedence over the READONLY property of the controls
contained in a column.
WORKAROUND
Set the READONLY property of a column to .T. if you want users to view the
data without editing it.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 2/10/2000 |
---|
Keywords: | KB130225 |
---|
|