cancel
Showing results for 
Search instead for 
Did you mean: 

Best place to set toggleButton initial state to off

TIF
Visitor

Brand new to TouchGFX (and C++) but enjoying so far!

 

I have togglebutton(s) on screen2 and I want the state to be set to off on powerup. (The defaul is on)

I have a splash screen that only displays on power up for 3 seconds. Is it best to set the state of toggles on screen2? If so, how would I reference those widgets on the second screen?

Is there a better way?

I may leave screen2 and come back to it so I don't want to use screen2::setupScreen()

Thanks!

0 REPLIES 0