Results 1 to 7 of 7

Thread: Pop up menu from the mouse *RESOLVED*

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2005
    Posts
    16

    Pop up menu from the mouse *RESOLVED*

    I made a (command) button, and I want a menu to pop out (where the mouse is) when it's clicked.
    Help?
    Last edited by SecretPact; Jun 29th, 2005 at 09:03 PM.

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Pop up menu from the mouse

    You have to have some menu created so it could be "popped up".
    So, do you have any menu (with submenues) yet ???

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jun 2005
    Posts
    16

    Angry Re: Pop up menu from the mouse

    I know this is possible, I've done it before, I just don't remember how. I know first you gotta make a menu. Then when the form loads you hide it, then you make it pop up somehow next to the mouse.
    I just don't remember...

  4. #4
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Pop up menu from the mouse

    In your command button's click event put something like this...

    VB Code:
    1. PopupMenu Form1.Menu1
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  5. #5
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Pop up menu from the mouse

    Quote Originally Posted by SecretPact
    ... somehow next to the mouse. ...
    What does that mean ???

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Jun 2005
    Posts
    16

    Re: Pop up menu from the mouse

    HOLY COW, THAT'S IT! thanks man!

  7. #7
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Pop up menu from the mouse *RESOLVED*

    You could just have asked for the syntax of it.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

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