TActionMainMenuBar - Adding the first Item at Runtime

Giganews Newsgroups
Subject:TActionMainMenuBar - Adding the first Item at Runtime
Posted by: Al Breingan (bo…@lelal.com)
Date:22 Jul 2008

I am trying to add a Category of Actions to a TActionMainMenuBar at run time without any success (For example adding all of the Edit actions from a TActionManager). The DynaActionbands demo shows how to add a category once you have a menu item to add after but I cant see how you get the first one there.
There are a number of posted solutions available via Google but none of them seem to work under Delphi 2006.
Thanks in advance for any tips you can offer.

Replies