2024-12-10 08:23 AM
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.
Solved! Go to Solution.
2024-12-10 10:08 AM
I found the solution, the page view needs a #include <touchgfx/widgets/Button.hpp> or else application().goToScreen will hard fault.
2024-12-10 10:08 AM
I found the solution, the page view needs a #include <touchgfx/widgets/Button.hpp> or else application().goToScreen will hard fault.