try:

((Sender as TMenuItem).parent as TForm).name

Dave

edsynergy <[EMAIL PROTECTED]> wrote:                               I have a 
popup menu that is used by several forms. to keep it simple
 it is sitting on a datamodule used by all the forms. In the onclick
 event I need to find out the name of the form in which the actual menu
 click occured. I have tried various forms Getparentcomponent and the
 like but making no progress
 
 Is it possible to do this ?
 
 Best wishes Ed.
 
 
     
                               

       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.

[Non-text portions of this message have been removed]

Reply via email to