VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Shows how to disable a right mouse click on a text box.

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.

Rate 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


Download this snippet    Add to My Saved Code

Shows how to disable a right mouse click on a text box. Comments

No comments have been posted about Shows how to disable a right mouse click on a text box.. Why not be the first to post a comment about Shows how to disable a right mouse click on a text box..

Post your comment

Subject:
Message:
0/1000 characters