Solved

Popup menu

Posted on 2001-07-29
3
259 Views
Last Modified: 2010-04-06
I have two components that both have their PopupMenu property set to the same popup menu. In the OnPopup event of the popup menu how can I tell which component was the component on which the user right-clicked to activate the popup menu?

0
Comment
Question by:zebada
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 50 total points
ID: 6333151
look at

popupmenu1.popupcomponent
property

(guess it sounds so or similar)

meikl ;-)
0
 
LVL 6

Author Comment

by:zebada
ID: 6333171
Perfect, I should've found it in the doco, I must be getting lazy, thanks for the info.
Paul
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6333277
:-))
glad to helped you
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

Suggested Solutions

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

910 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

19 Experts available now in Live!

Get 1:1 Help Now