Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Insert excerpt
_Banners
_Banners
namescreen
nopaneltrue

Introduction

PhixFlow makes it easy to setup set up menus and navigation buttons. In this chapter, we will look at creating a simple top menu that we can add navigation buttons to for our application.

Menu

Menus are created in the same way as a screen, as they are essential essentially the same as a screen. We just set some of their properties a little differently.

  1. From the 
    Insert excerpt
    _screen_toolbar
    _screen_toolbar
    nopaneltrue
    home page create a new Screen, select 
    Insert excerpt
    _createMenu
    _createMenu
    nopaneltrue
    .
    1. Name, Main Menu.Open Maximised, untick.
    2. Add to startup action, toggle on
      Insert excerpt
      _toggle_on
      _toggle_on
      nopaneltrue
      .
    3. All Users can View Data, toggle on
      Insert excerpt
      _toggle_on
      _toggle_on
      nopaneltrue
      .
    4. Position, Pinned to Top.
    5. Height, 50px.
    6. DescriptionApplication main menu.
    7. Template, Top Menu.
    8. Click Create Application Menu
  2. When the screen opens, click the 
    Insert excerpt
    _property_settings
    _property_settings
    nopaneltrue
     button in the toolbar.
      Tick,
      1. Always On Top
      .
      1. This ensure the menu always appears and is not covered by another screen.
      Click the Styles tab.
      1. Position, Pinned to Top.
      2. Height, 50px., toggle on
        Insert excerpt
        _toggle_
        save
        on
        _
        save
        toggle_on
        nopaneltrue
         your changes.
          Close and reopen the screen for the changes to be shown
            1. This ensures the menu always appears and is not covered by another screen.
        1. Home Button
          1. From the screens toolbar click 
            Insert excerpt
            _screen
            _screen
            nopaneltrue
            .
          2. From the list that opens, drag the Home screen onto the Home button.
        2. Companies Button
          1. Click on the label containing Screen Name.
          2. Change the Display Text to be, Companies Data.
          3. From the screens toolbar click 
            Insert excerpt
            _screen
            _screen
            nopaneltrue
            .
          4. From the list that opens, drag the Companies List onto this button.
        3. Orders Button
          1. We need to add a new button that will allow us to access the orders.
          2. From the Palette , → Navigation Menus section, drag a Button - Custom.
            1. Name, Orders.
            2. Use the Layer section Layers pane to place the button to the right of the Screen Companies Data button.
          3. From the screens toolbar click 
            Insert excerpt
            _screen
            _screen
            nopaneltrue
            .
          4. From the list that opens, drag the Invoicing screen onto this button.

        Check Point

        Your menu should look like this:

        Additional Task

        We can change the icons on the menu buttons using the techniques learnt in 15. Editing Content on Screen - Part 2