PhixFlow makes it easy to setup menus and navigation buttons. In this chapter we will look at creating a simple top menu that we can add navigation buttons to.
Menu
Menus are created in the same way as a screen, as they are essential the same as a screen. We just set some of their properties a little differently.
From the Screen home page create a new Screen.
Name, Main Menu.
Open Maximised, untick.
Description, Application main menu.
Template, Top Menu.
When the screen opens, click the Properties button in the toolbar.
Tick, Always On Top.
This ensure the menu always appears and is not covered by another screen.
Click the Styles tab.
Position, Pinned to Top.
Height, 50px.
Save your changes.
Close and reopen the screen for the changes to be shown.
Home Button
From the screens toolbar click Screen.
From the list that opens, drag the Home screen onto the Home button.
Companies Button
Click on the label containing Screen Name.
Change the Display Text to be, Companies.
From the screens toolbar click Screen.
From the list that opens, drag the Companies List onto this button.
Orders Button
We need to add a new button that will allow us to access the orders.
From the Palette, Navigation Menus section, drag a Button - Custom.
Name, Order.
Use the Layer section to place the button to the right of the Screen button.
From the screens toolbar click Screen.
From the list that opens, drag the Invoicing screen onto this button.