Results 1 to 3 of 3

Thread: How to remove default popup menu for textbox like controls ...

  1. #1


    Hi...Hi to all of u..

    How to remove default popup menu for textbox like controls ...

    when we right click on textbox ..
    a default pop menu is come up i had trie a lot but i didnt get it ...
    please tell me how to do that..
    and how to show our own popup menu to..
    if possible i want answer for both the que.

    Bhavin Sanghvi

  2. #2
    Fanatic Member
    Join Date
    Oct 1999
    MA, USA


    First question: Check this out.

    Second question: (To show PopUpMenu)
    1. Create Menu using Menu Editor (call it let's say mnuMain); set it's visible property to False
    2. Use PopUpMenu Function
    Private Sub Text1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
        If Button = vbRightButton Then
            PopupMenu mnuMain
        End If
    End Sub
    Hope this will help

    Visual Basic Programmer (at least I want to be one)
    You will hear a lot about it.

    [This message has been edited by QWERTY (edited 11-13-1999).]

  3. #3


    I had tried tis it works but firsat it show the default menu and then mine...

    and some time even i dont want to display any menu.. but i want to do some other work...

    Thanks Again for positive responce..

    Regards from BK

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width