Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2007 Apr : How to add TAction to TActionList?
| Subject: | How to add TAction to TActionList? |
| Posted by: | "xy" (..@delphi.com) |
| Date: | Wed, 18 Apr 2007 10:07:49 |
TActionListDesigner can AddAction to TActionList, but
TCustomActionList = class(TComponent)
...
protected
procedure AddAction(Action: TContainedAction);
procedure RemoveAction(Action: TContainedAction);
...
end;
||
.
TActionList = class(TCustomActionList)
private //implicitly
procedure AddAction(Action: TContainedAction);
procedure RemoveAction(Action: TContainedAction);
end;
so I cann't use AddAction and RemoveAction in my code.