Adding new standard actions
I have compiled a vcl package, a collection of components which registered several actions in delphi 2009. Now, starting from these actions, i have created others but, even if I register it, I cannot see the开发者_运维技巧m in Action Edit Dialog. How I can add them?
How did you register them?
This should work:
unit MyPackageReg;
interface
uses
ActnList, MyActionUnit;
procedure Register;
implementation
procedure Register;
begin
RegisterActions('Category', [TMyActionType], nil);
end;
end.
Note the capital R in both Register declarations.
Now compile that package and install it.
精彩评论