Locking and Unlocking Fields on a Form
Posted on 2014-01-05
I have a form the most of the time needs to be read only.
Up 'til now I have locked all the text boxes.
The users have been able to unlock a particular field by clicking a button that toggles the Locked property for that text box.
I now want to unlock all the fields by the click of one toggle button. What's the best way to do this?
a) Using the Allow Edits property instead
b) Looping through the text boxes (but I don't know how)
c) Setting each control to unlocked one at a time.
d) another way