Link to home
Start Free TrialLog in
Avatar of ChrisK
ChrisKFlag for United States of America

asked on

vb5 - pop up menu's

How do you make a pop up menu like Win95 utilizes with the right mouse click to bring it up?
ASKER CERTIFIED SOLUTION
Avatar of MikeP090797
MikeP090797

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ChrisK

ASKER

ok but it says object required....I thought this was something built in?!  Am I suppost to make another form to act as the menu?  If so what the hell is the purpose of popupmenu when all ya need is formx.visible = true and coordinates!  So please be a little more specific and show some code.
Avatar of MikeP090797
MikeP090797

The object is the form on which you display the popupmenu, like when the user right clicks on Form1, you put Form1.PopupMenu mnuMyMenu, X, Y
Avatar of ChrisK

ASKER

Ok....I got it to work after playin around with it a bit...but the menu isn't popping up where my mouse is at, it's almost random and I'm using the X, Y from the form mousedown!  So how do I fix that?
Don't use the X, Y at all, it will display it automaticly in the place the mouse is
Avatar of ChrisK

ASKER

ok I got it all workin now....thanks.