Adding New Standard Actions

I compiled a vcl package, a set of components that registered several actions in delphi 2009. Now, starting with these actions, I have created others, but even if I register it, I don’t see them in the Edit Actions dialog box. How can I add them?

+3
source share
1 answer

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.

Compile this package and install it.

+5
source

All Articles