cancel
Showing results for 
Search instead for 
Did you mean: 

simply change pages screen

NicoEFI
Associate III

When a condition is validated, for example clicking in the middle of the scroll whell (flag == 1), how to change page, I can't do it? I've tried several things but I can't find anything explicit and clear in the posts or tutorials.

NicoEFI_2-1708627916614.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
JTP1
Lead

Hello

Just add to some of your screen interactions for changing screen - Screen x for all necessary screens. Its not needed to put any trigger to those interaction.

Then generate code and check generated function names from FrontendApplicationBase.cpp file. Then just call those functions from your switch-case structure.

Check my earlier answer here, maybe its enough clear:

https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/frontendapplication-cpp-is-overwritten-when-he-code-is-generated/td-p/572550

Br JTP

 

View solution in original post

2 REPLIES 2
JTP1
Lead

Hello

Just add to some of your screen interactions for changing screen - Screen x for all necessary screens. Its not needed to put any trigger to those interaction.

Then generate code and check generated function names from FrontendApplicationBase.cpp file. Then just call those functions from your switch-case structure.

Check my earlier answer here, maybe its enough clear:

https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/frontendapplication-cpp-is-overwritten-when-he-code-is-generated/td-p/572550

Br JTP

 

NicoEFI
Associate III

Many thanks