This page explains how to add a custom menu bar to your application, to provide navigation and options for the application user.It is common for an application to have a menu bar to provide navigation and additional options for the application user. In traditional designs, the menu bar would be across the top of the screen. Do we need this last sentence?
Application level
- Default menu bar - no styling and cannot move (legacy)
- Custom menu bar - this applies to the whole application. You can now create App Menu from the screens page.... You can have more than 1. and appear as a screen... and will always be present...
Screen-specific buttons via layout components on the screen.
Default menu is a legacy item now...
Open a screen on startup
- Setting the default action
- Screen has properties "open on startup".
- When you create a menu bar it automatically has open on start...
Default Action was in menu item, is moving to Application properties - see flow 2.3. (currently in transit.)
Create a Custom Menu
- Click
to create a new screen.Insert excerpt _app_menu_bar _app_menu_bar nopanel true - In the pop-up menu, select the location for the menu bar.
- Select a blank menu or a template. We can set any screen to open on startup, but that is not covered anywhere in the documents. When we discuss it I recommend stating the default action can also be set.
Menu's are set to Open on Startup automatically. - PhixFlow prompts you to enter the name and description for the menu bar.
- Specify the the dimensions of the menu bar in percentages or pixel's. For example:
vertical dimensions:
width: 100%
height: 50px
horizontal dimensions
width: 200px
height: 100%
- Click Confirm.
- PhixFlow opens a new screen canvas on the left and the palette on the right.
Associating the Menu with Screens
PhixFlow creates an application menu as its own screen. This means you can associate the menu with all the screens in your application.
...
Adding Menu Options
To add a top-level menu option that will open a screen:
...