This page explains how to add a 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.
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
- 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.
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 pixcels. 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.
??How do you tell PhixFlow which screens to add it to??
Adding Menu Options
...
To add a top-level menu option that will open a screen
...
:
- Open the repository to show the list of screens.
- Drag a screen-name from the repository onto the menu bar.
- PhixFlow prompts you to add the Display Name text you want to appear in the menu. By default, the text is the screen's name.
- PhixFlow adds the menu option and automatically creates the actionflow.
When a user clicks the option, the screen opens automatically.
Use the Menu properties to configure more complex menus, for example, nested menus or options that run an actionflow
...
.
...
Benefits:
...