Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Private Sub cmdToggleEdit_Click()
Dim ctl As Control
Dim blnLock As Boolean
If cmdToggleEdit.Caption = "&Edit" Then
cmdToggleEdit.Caption = "&Lock"
blnLock = False
Else
cmdToggleEdit.Caption = "&Edit"
blnLock = True
End If
For Each ctl In Me.Controls
If TypeOf ctl Is TextBox Then
ctl.Locked = blnLock
End If
Next ctl
End Sub