Can you test the Sender parameter? E.g. if Sender is TMenuItem then
begin... or if Sender = btnOk then begin...
Guy Brown
TimeMaster Systems
-----Original Message-----
Mark Derricutt wrote:
In a TAction.OnExecute event, is there anyway to find out which component
caused the action to run? I couldn't see any properties of the TAction
that pointed back to say Button1...
---------------------------------------------------------------------------
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"