You don't give me the full source code so I can't reproduce your error but that fragment is incorrect. You are not adding the menu items to the main menu.
B4X:
Sub App_Start
FormEx1.New2("Form1","MDI parent",600,600)
myMainMenu.New1(10)
popMenuItem.New1
myMainmenu.NewMainMenu
popMenuItem.NewMenuItem("test1", True, False, False, True)
myMainMenu.AddMenuItem(popMenuItem.ControlRef)
popMenuItem.NewMenuItem("test2", True, False, False, True)
myMainMenu.AddMenuItem(popMenuItem.ControlRef)
myMainmenu.AddMainMenu(Formex1.ControlRef)
FormEx1.Run
End Sub
There is a bug in ToolStripTextBox that ignores the Width property which is why it is not present in the library. I later found a workaround you can do with the Door library. Obj1 and Obj2 are Door library Objects.
ControlsExDesktop version 1.8 now posted has OpenDialogEx and SaveDialogEx file dialogs that offer more capability than OpenDialog and SaveDialog in Basic4ppc. In particular the initial path that is opened when the dialog is shown can be set by the Path property.
Also I have added a Width property to ToolStripTextBox.