Solved

Popup menu

Posted on 2001-07-29
3
265 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi component that can load a DLL in design time? 8 100
When I am typing into a TEdit last word repeats 7 172
Multiple image collision 13 102
TAction.OnAfterExecute? 2 29
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

734 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