Link to home
Start Free TrialLog in
Avatar of CalvinDay
CalvinDay

asked on

Action Lists

How can I add may own Action List to the Standard Actions Property Editor? I have written the components but I can't get them into the Action List Editor.
Avatar of rwilson032697
rwilson032697

Listening...
I don't quite get what you mean, explain a little bit more...

Paul
Hi Calvin,

Use RegisterActions (ActnList.pas) to register your own actions with the action editor.

Ciao, Mike
Avatar of CalvinDay

ASKER

Thanks Lischke,

I have tried to do that with the following in the component's unit, but it doesn't seem to work:

implementation

procedure Register;
begin
  RegisterActions('Screen', [TModalScreen, TModelessScreen],nil);
end;

ASKER CERTIFIED SOLUTION
Avatar of Lischke
Lischke

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I did the compile and did not do the install. Your last comment tipped me. Thanks
Glad to help :-)

Ciao, Mike
does anyone know how to define the images that goes with user defined actions?

like: cut, copy and paste have their own images.

i tried using a dcr, but that didn't work...
Just set them using the ImageIndex and ImageList properties...

Cheers,

Raymond.
Oh - you mean automatically, don't you :-(
yep. maybe post a new question?
done it.