Results 1 to 3 of 3

Thread: [RESOLVED] pop up menu right click

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Resolved [RESOLVED] pop up menu right click

    I have problem here, in my popup menu have this menu, A,B,C

    I show all menu when I right click on mouse.

    How do show only C menu when I right click on mouse and invisible the other?

    Code:
    If Button = vbRightButton Then
    
     PopupMenu Layer
    End If

  2. #2
    Fanatic Member amrita's Avatar
    Join Date
    Jan 2007
    Location
    Orissa,India
    Posts
    888

    Smile Re: pop up menu right click

    Try this

    Code:
    If vbRightButton Then
        
        a.Visible = False
        b.Visible = False
        Me.PopupMenu POPUP
        
    End If
    where a and b are the names of the menuitems.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Re: [RESOLVED] pop up menu right click

    Thank you amrita, I got an idea from this

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