怎样屏蔽Textbox控件右键菜单

解决方案 »

  1.   

    这个问题早有许多答案了http://expert.csdn.net/Expert/FAQ/FAQ_Index.asp?id=137587
      

  2.   

    Private Sub Text1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
        If Button = vbRightButton Then
            Text1.Enabled = False
            PopupMenu aa '自己定义的菜单,自己定义一个右键菜单,取代TEXT控件本身的菜单
            Text1.Enabled = True
        End If
    End Sub
      

  3.   

    http://expert.csdn.net/Expert/FAQ/FAQ_Index.asp?id=102347