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.
Listening...
I don't quite get what you mean, explain a little bit more...
Paul
Paul
Hi Calvin,
Use RegisterActions (ActnList.pas) to register your own actions with the action editor.
Ciao, Mike
Use RegisterActions (ActnList.pas) to register your own actions with the action editor.
Ciao, Mike
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;
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I did the compile and did not do the install. Your last comment tipped me. Thanks
Glad to help :-)
Ciao, Mike
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...
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.
Cheers,
Raymond.
Oh - you mean automatically, don't you :-(
yep. maybe post a new question?
done it.