AdvancedHMI Software

General Category => Open Discussion => Topic started by: blueskies on October 23, 2013, 02:10:15 AM

Title: multiple pages
Post by: blueskies on October 23, 2013, 02:10:15 AM
Hello,
I am a newbie to vb. How do i make multiple pages/screens on an HMI in AdvancedHMI?
I do just fine with the single page HMI.

Thanks for any assistance.
Title: Re: multiple pages
Post by: blueskies on October 23, 2013, 07:49:08 AM
I think i figured out the answer to my own question.
add a Windows Form to the project and then add a button with the code:
Code: [Select]
Page2.Show()
Me.Hide()
with "Page2" being the name of the secondary form to switch screens

Sorry for the n00b question.
Title: Re: multiple pages
Post by: Archie on October 23, 2013, 08:19:44 AM
You can also use the FormChangeButton that doesn't require any code.