Create a “global” navigation menu that you can use on multiple Px pages in a station to achieve a standardized, uniform look.
You can have a consistent navigation menu available on your home page or on all pages and you need only edit the navigation
menu page any time a change is required. Since the navigation menu Px file is a PxInclude on the other Px views, they are
automatically updated with any change that you make.
Create a navigation menu for use on multiple Px pages
- Create a new Px view for the menu.
NOTE: Remove the ScrollPane at the root in this view otherwise scroll bars will display on the menu once it is embedded in other
Px views.
- Drag and drop Action (Image) button widgets from the kitPx palette to the canvas pane, one for each Px view that will include the menu.
- For each image button widget, add a value binding setting the
ord property to the appropriate Px file. For example, Home.px, Basement.px, 1st_Floor.px, 2nd_Floor.px.
- Click the Save icon in the Workbench toolbar to save your changes.
This Px file is the global, navigation menu that you can include in other Px views.
- To to embed the navigation menu, drag and drop the PxInclude widget from the bajaui palette to each of the other Px pages on the station.
The result is a standardized menu displayed on each page, as shown below, which you maintain simply by editing the navigation
menu page any time a change is required.