Suppose that you have an Action called actSaveData and your component is
called MyComponent,
that can't you write:

        MyComponent.ExecuteAction(actSaveData)

Maybe I've not understood the problem though...

John

-----Original Message-----
From: Eion McIntosh (Christchurch) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 25 July 2001 2:47 pm
To: Multiple recipients of list delphi
Subject: [DUG]: TBasicAction


Hi

I have a component which when clicked on automatically does a specific task.
There are no events available for this component but it does have a function
called ExecuteAction which is shown as a hint and defined as follows

        ExecuteAction(Action:TBasicAction):Boolean

I know there is a Execute action available for TBasicAction described under
Help but what the proper syntax to make the ExecuteAction run the Execute
procedure? I expect there do be something like mryes, mrok that are used for
TMsgDlgButtons but I can't find anything.

Regards
Eion McIntosh
PPCS Ltd

---------------------------------------------------------------------------
    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/

Reply via email to