Author Topic: adding page to mainform  (Read 3434 times)

TCE

  • Newbie
  • *
  • Posts: 8
    • View Profile
adding page to mainform
« on: January 04, 2024, 12:31:17 PM »
how do i add another page to Mainform or how do i make Page2 to work. I can put controls on page2 and assing a PLC Address i can also switch to page2 but controls.

dmroeder

  • Administrator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
Re: adding page to mainform
« Reply #1 on: January 04, 2024, 12:51:21 PM »

TCE

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: adding page to mainform
« Reply #2 on: January 04, 2024, 01:19:19 PM »
i don't really need another page if i could get page2 to work. like i said i can add controls and switch to page2 but the control don't work or don't display any value

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: adding page to mainform
« Reply #3 on: January 04, 2024, 02:21:13 PM »
Did you add the same driver to Page2 as the one you have on the MainForm?

In Visual Studio, when you look at your controls on Page2 each one of them should have a driver assigned for communication.

TCE

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: adding page to mainform
« Reply #4 on: January 04, 2024, 05:46:30 PM »
Tanks Godra i missed that didn't know you had to do that for every page. Works now😊😊😊