I am building an application and it now consists of 1 main form with a couple of buttons leading to other forms.
Every form has a ActionMainMenuBar, and only the main form has a ActionManager. So, ever ActionMainMenuBar is linked to this ActionManager.
When i press a button a new form is created and shown:
procedure Thoofdscherm.overzichtBtnClick(Sender: TObject);
overzichtenMenu := ToverzichtenMenu.Create(hoofdmenu.hoofdscherm);
When this new form is shown, everything works fine.
When i close it, and again reopen it the ActionMainMenuBar is suddenly empty, all the items on it are gone.
Thanks for any help.