Log In    |    Knowledge Base    |    4D Home
Tech Tip: Moving Menu Bars between databases
Published On: August 13, 2009
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

The drag and drop feature of 4D v11 SQL does not allow you to drag a menu bar from one database to another. This can be circumvented by creating a new project form and assigning it the desired menu bar. Then you can drag and drop the new project form from one database to another, and in the process, the assigned menu bar is copied as well.

Menus and menu items are included in the copy, but if a menu item calls a method not in the new database, that method is not copied. The methods must be copied over separately.

As usual take care when copying objects with the same name. You may end up with multiple menus of the same name but different menu items.

See Also:
Commented by Thomas Fitch on August 21, 2009 at 10:22 AM
This same tactic can be used to copy style sheets (which you cannot drag and drop on their own) between databases.