| {\rtf1\ansi\ansicpg1252\deff0\deflang1044{\fonttbl{\f0\fnil\fcharset0 MS Sans Serif;}} \viewkind4\uc1\pard\f0\fs17 If you don't want the user to use the default right click edit menu you can easily replace it with your own using this code. \par \par Private Sub Text1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) \par If Button = vbRightButton Then \par Text1.Enabled = False \par Text1.Enabled = True \par Text1.SetFocus \par PopupMenu MyCustomMenu \par End If \par End Sub \par } |
Disabling Textbox Popup menu |
India web developer web development India | India web development company India ecommerce web developer