Non-Editable forms

attardcattardc Member Posts: 97
I need to set the Customer Card form controls to Non Editable except for the personal details. I was trying to set the form to non-editable and then set the name and Address to Editable.

OnOpenForm
CurrForm.Editable := false;
CurrForm.Name.Editable := True;
CurrForm.Address.Editable :=True;
CurrForm.Update.

However, the card form remains editable. I tried setting the editable property from the card form (not through code), but everything remained editable anyways.

Any ideas how I can achieve this without having to set every control individually to non editable?

I tried using the UpdateEditable function (CurrForm.UpdateEditable := False) but it resulted in some syntax errors.

Thanks a lot!

Comments

Sign In or Register to comment.