开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜