Search

User Manual

GETTING STARTED


MODULES AND PLATFORM


APPENDIX


TUTORIALS & HELPFUL TRICKS


GLOSSARY


STRATEGIC PARTNER LINKS

Sepasoft - MES Modules
Cirrus Link - MQTT Modules

RESOURCES

Inductive University
Ignition Demo Project
Knowledge Base Articles
Forum
IA Support
SDK Documentation
SDK Examples

ALL MANUAL VERSIONS

Ignition 8
Ignition 7.9
Ignition 7.8

Deprecated Pages

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: IU link

 

Another navigation strategy in Ignition Vision is to have set up Forward and Back Buttons on your main screen to navigate between different windows.  It does This strategy is perfect for a small business process with ordered steps. It does not have a docked window, tree view, or tabs to navigate around.  This strategy is perfect for a small business process with ordered steps.  It It is one big main window and has buttons to navigate forward and back from one Main Window to the next in the list.


Image Added


On_this_page



Scroll HTML Exporter Ignore


Iulink
URLhttps://www.inductiveuniversity.com/videovideos/navigation-back-and-forward-buttons?r=/course/windows/8.0
NameNavigation - Back and Forward Buttons

 

 




This navigation strategy is very simple to setup in the Designer.  You can start by creating your project using a blank template.  

In the
  1. In the Project Browser, right click on the Main Windows folder and select create a new Main Window.   You have the option of renaming your Main Window Enter a name for your window to whatever best describes your the window .  In this example, it’s called (i.e., Main Window 1.  You don’t need to have a header on each window, but for this example, a label was added for clarity and called Main Window 1.  Repeat ). Add a label to the window for clarity (i.e., Main Window 1) so when you navigate through different windows, you know precisely what window you're viewing. Repeat this step to create Main Window 2 and Main Window 3.
     Image Removed
    Image Added

  2. From the the Component Palette in Designer, select and drag a Button component  component to your Main Window 1.   Label the button, Main Window 2.  In the Property Editor,   
  3. Next we'll add a right green arrow to your button component from the Image Path property.  To get the arrow to move to the right side of the button, set the Button component. With the Button component selected, click the folder to the right of the Image Path property . This opens the Image Management Tool
  4. Open the Built-in/icons/24/ folder and select a right green arrow.  Close the Image Management Tool.
  5. Set the Horizontal Text Position property to to Left in the Property Editor
     Image Removed
    Image Added

  6. Now you need to tell the Main Window 2 button what to do when someone a user clicks on it. Right click on the the Main Window 2 button and select Scripting and the  button, select Scripting. The component scripting dialogue box dialog box will open. 
    Image Removed
    Image Added

  7. Under the Event Handlers folder, open the the action folder  folder and select select actionPerformed
    1. Click the the Open / Swap and Swap  and Swap radio buttons.   The Swapping function is used to put buttons on windows for easily building simple scripts The Swapping function builds a simple script to go back and forth between different main windows.   The Swap function ensures only one main window is will be open at a time. 
    2. From the the Window dropdown box, select select Main Windows/Main Window 2.    
    3. Click OK OK.
      Image Removed
      Image Added
       
  8. Save and Publish Publish your project. 
  9. Open your your Client.  Click on the Main Window 2 button and Ignition swaps the Main Window 1 will be swapped out with Main Window 2.
    Image Removed
    Image Added


  10. Repeat Steps 2 and 3 to create Main Windows 2 and 3, respectively.    Make sure for On Main Window 2 , make sure you have a button for both Main Windows Window 1 and Main Window 3. Your Set your window path for the Main Window 1 button is set to to Main Windows/Main Window 1 (refer to step 4).   For the Main Window 3 button, set the window path to to Main Windows/Main Window 3.      

  11. In the following example, each button navigates you to the next main window.  Click on the Main Window 1 button and Ignition navigates you to Main Window 1.  It swaps out Main Window 2 with Main Window 1 so you always have one main window open.  In this image, Main Window 2 is open. By clicking either button, it open the respective window. Click on the Main Window 1 button, and Main Window 2 swaps out and opens Main Window 1. Click on the Main Window 3 button , and Ignition swaps out Main Window 2 swaps out and opens with Main Window 3.   
    Image RemovedYou'll notice that you always have one main window open. 

 

  1. Image Added