cancel
Showing results for 
Search instead for 
Did you mean: 

application().goToXScreenNoTransition()

Priyank
Associate III

Hello, I am having issues in the IDE, with making the application transition screens.

What I've noticed is that even though the goToScreenX function for specific screens is declared in the FrontEndApplicationBase.cpp, it hard faults if the screen transition function isn't already called somewhere in TouchGFXC.

For example, if I want to go to PageA, and PageA has no screens currently going to it, and I type application().goToPageAScreenNoTransition(), it would error. 

But if I already had pageB -> pageA using a interaction+button in TouchGFX, then application().goToPageAScreenNoTransition(), would be valid from any other page. 

1 ACCEPTED SOLUTION

Accepted Solutions
Priyank
Associate III

I found the solution, the page view needs a #include <touchgfx/widgets/Button.hpp> or else application().goToScreen will hard fault.

View solution in original post

1 REPLY 1
Priyank
Associate III

I found the solution, the page view needs a #include <touchgfx/widgets/Button.hpp> or else application().goToScreen will hard fault.