Results 1 to 3 of 3

Thread: Menu emergent with right click from mouse

  1. #1

    Thread Starter
    Member betto's Avatar
    Join Date
    Mar 2000
    Location
    Perú
    Posts
    38
    Hi again... this place is really nice
    Could anyone tell me how to get a menu emergent with right click from mouse on a FileList Box.. o maybe i need another object...

    i hope i see you soon... betto

  2. #2
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    Add a menu to the form (I named it mnuTest), set visible to false. Add at lest 1 submenu to this menu. In the Mouse_Down event of the filelistbox use the PopupMenu method.
    Code:
    Private Sub File1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
        PopupMenu mnuTest
    End Sub

  3. #3

    Thread Starter
    Member betto's Avatar
    Join Date
    Mar 2000
    Location
    Perú
    Posts
    38

    Thanks Frans

    Your Advice really helped me... Thanx, now i can get the action in the right button with "Button = 2" ....
    I said before and I say now: This place is really cool!!! .. and nice... bye
    betto



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