>thisform.ReadOnly = .t.
>
BOb,
That would probably work if form's had a readonly property.
Michiel,
You can give your form class a lReadOnly property, and in the calsses for the controls you can put this code in the refresh;
THIS.ReadOnly = THISFORM.lReadOnly
Then in the form's Init accept a parameter that indicates if the form is read only or not, assign a .T. or .F. to the form's lReadOnly Property and then issue a THISFORM.Refresh()