> I am creating a object at runtime.  This object has a popup menu
> that
> is also created at runtime.  I will be creating many copies of this
> class.
> What I want to do is, in the OnClick menu code, to know some of the
> values of the properties of the object e.g.,

[To confirm I understand what you mean ... ]

You have one popup menu that can be popped up by right clicking 
any of a number of different components - and you want the 
click handler of the menu item to be able to identify the component
that got the click.     Is that right?

If it is - the TPopupMenu.PopupComponent property of the
menu item will give you that.

hope this helps

-ns




---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to