Solved

right-click menu

Posted on 2002-03-18
2
122 Views
Last Modified: 2012-05-04
how do you pop a menu upon right-clicking, let's say, a textbox?
0
Comment
Question by:killer5
2 Comments
 
LVL 51

Accepted Solution

by:
Ryan Chong earned 5 total points
ID: 6878792
Use the PopupMenu function in VB:

Private Sub Text1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
    If Button = 2 Then PopupMenu mymenu
End Sub

* Please do to award me a A if accept my comment as the answer.
0
 
LVL 1

Author Comment

by:killer5
ID: 6878807
i was about to delete this question coz i remembered how to do it! anyway, thanks!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

856 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