Private Sub Text1_GotFocus() Text1.Locked = True End Sub Private Sub Text1_LostFocus() Text1.Locked = False End Sub Private Sub Text1_KeyDown(KeyCode As Integer, _ Shift As Integer) KeyCode = 0 End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer) KeyAscii = 0 End Sub