Solved

Popup menu

Posted on 2001-07-29
3
262 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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

773 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