I just realized I left out a key detail. Whenever I was mixing host and component menus on the same menu bar, 4D would crash when I quit. I solved this by duplicating the host menu in code before appending the component menus. This is probably why all the host methods must be shared.
John DeSoi, Ph.D. > On Dec 18, 2017, at 7:59 AM, John DeSoi via 4D_Tech <[email protected]> > wrote: > > This is working for me in version 16 (16.3). I set the main menu bar with a > callback to the host. Then the component appends some additional menus > created in the component to the host main menu. The appended menus are > created with code. The component form has a completely empty menu associated > with it and "Active Menu Bar" checked. > > I just noticed that even though the component called the host to set the main > menubar, all of the host menu methods must have the "Shared" property set for > the menu item to work. I get a error that the method is not found otherwise. ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

