Modify the Toolbar

Create an Genero Toolbar file (.4tb) to modify the Toolbar of the generated application.

The Toolbar is initially defined by a default Genero Toolbar file (dbapp.4tb) located in the styles sub-directory of the template set directory.

For details regarding the syntax of a Genero Toolbar file, see the Genero Business Development Language User Guide.

  1. Select File > New.
    The Select an item dialog opens.
  2. Select Genero BAM Desktop.
  3. Under the Resources section, select Toolbar (.4tb).
    An untitled Genero Toolbar file with a .4tb extension displays in the central workspace. This file is based on the default Toolbar file for the selected template set.
  4. Modify the Toolbar file by adding, modifying, or deleting actions.
  5. Save the modified file to your project.
    The default name expected for the Toolbar file is dbapp.4tb. Saving your file using this name ensures that Genero Studio will use your file at runtime, replacing the template default. If you save your file using a different name, you must find the BLOCK in the generated code that calls the ui.Interface.loadToolBar() method and change the parameter name to the name of your new file.