by msrao (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 29th December 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Shows how to disable a right mouse click on a text box.
If Button = 2 Then
Text1.Locked = True
End If
End Sub
Private Sub Text1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Text1.Locked = False
End Sub