Why not just pass a parameter with the calling functions name? Dave. ----- Original Message ----- From: "Paul Mostek" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Tuesday, October 09, 2001 4:41 AM Subject: [DUG]: Name of Caller Procedure
> Dear Sirs, > I have the following problem: > > Imagine you have seven procedures (A(), B(), C(), > D(), E(), F() and MyProc(). Anyone of them can call > the procedure MyProc(). > Inside MyProc() I need to know which was the > procedure that called it. > Is there a way of doing this in Delphi ? > > Thank you in advance. > > Paul Mostek > > > > > -------------------------------------------------------------------------- - > 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" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > --------------------------------------------------------------------------- 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" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/