Adding a Navigation Menu Bar
Overview
PhixFlow allows you to create navigation menus that always appear. This allows for a single menu to be set up that can be accessed from any point in your application. It is also possible to set up a menu that only displays when called. Template navigation menus are provided with the Serene Grey Template Package.
Create a Custom Menu
From the Screens home page, click Add Menu.
Complete the details:
Name - indicative of the menu being created
Add to startup action - if you want the menu to open with the application
All users can View Data - toggle off to only allow selected user groups to view the menu. See Managing User Groups and Privileges.
Position - where you would like the menu to appear. Defaults to
Pinned to Top
Height/Width - If using Pinned to Top, the Serene Grey Navigation menu is designed to be 50px
Description, for example,
Main navigation menu for application
Template section, click on the desired navigation menu. Hover over each one to see the full description, or right-click and press Display to see a preview.
Click Create Application Menu.
This may take a few minutes to generate the menu.
Adding Navigation Menu Buttons
There are two methods to add buttons.
Method 1: Drag Screen onto Navigation Menu
Open your Navigation Menu and ensure it is Unlocked
- From the toolbar, click Screens to open the list of available Screens in the Repository
- Drag the screen you wish to open onto a clear space on the Navigation Menu, i.e. not on top of an existing button
Provide a name for the button and continue
PhixFlow automatically creates an actionflow that will open this screen
To edit the actionflow, right-click the button and select Display Actionflow; see Understanding Actionflows.
This process is illustrated here:
The default settings for a menu button must be set up for this method to work.
In your application's Properties, ensure a style is set for the Menu Button Component in the Default Components section of the Styles tab. See Application Properties.
This can also be setup in the System Configuration. See System Configuration.
Method 2: Create button and link to screen
Open your Navigation Menu and ensure it is Unlocked
Open the Palette and open Buttons - Navigation
Drag Button - Custom onto the Navigation Menu and give it a name
From the toolbar, click Screens to open the list of available Screens in the Repository
- Drag the required screen and drop it onto the button you just created
PhixFlow automatically creates an actionflow that will open this screen
To edit the actionflow, right-click the button and select Display Actionflow; see Understanding Actionflows.
This process is illustrated here:
Updating the Navigation Button Icon
Click on the button to open its properties
Click the Styles tab
Scroll down to Image
Tick the box to override the style
allows you to add a new image
Follow the prompts to add a new image
List Images allows you to select an existing image
A list of available images appears, drag the desired image into the input box
Apply your changes