Solved

vb5 - pop up menu's

Posted on 1998-09-11
6
349 Views
Last Modified: 2013-11-28
How do you make a pop up menu like Win95 utilizes with the right mouse click to bring it up?
0
Comment
Question by:ChrisK
  • 3
  • 3
6 Comments
 
LVL 8

Accepted Solution

by:
MikeP090797 earned 100 total points
ID: 1434419
To make a popup menu, use PopupMenu mnuName
where mnuName is a menu name you want to bring up
You can put that in _MouseDown even if you want to simulate Win95 behavior
0
 
LVL 2

Author Comment

by:ChrisK
ID: 1434420
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.
0
 
LVL 8

Expert Comment

by:MikeP090797
ID: 1434421
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
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 2

Author Comment

by:ChrisK
ID: 1434422
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?
0
 
LVL 8

Expert Comment

by:MikeP090797
ID: 1434423
Don't use the X, Y at all, it will display it automaticly in the place the mouse is
0
 
LVL 2

Author Comment

by:ChrisK
ID: 1434424
ok I got it all workin now....thanks.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This story has been written with permission from the scammed victim, a valued client of mine – identity protected by request.
Before we dive into the marketing strategies involved with creating an effective homepage, it’s crucial that EE members know what a homepage is. In essence, a homepage is the introductory, or default page, of a website that typically highlights the …
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now