2021-05-07 04:44 AM
2021-05-10 02:51 AM
The ToggleButtonTrigger.hpp file is found in Middlewares\ST\touchgfx\framework\include\touchgfx\containers\buttons\ToggleButtonTrigger.hpp
The "When Screen Transition Ends" trigger is the new name for what was previously called "When Screen Entered". This means that whatever you wish to do will start after you have finished going to another screen.
The "When Screen Transition Begins" trigger will trigger an action at the start of the transition from a screen to another.
So the difference is just if you wish to have the action take place before or after the transition has started.
2021-05-10 12:43 AM
Hi,
I believe you are looking at the different trigger options of a Flex button ?
You can read more about this in either the documentation on buttons, or directly through the generated code (for example in ToggleButtonTrigger.hpp or ClickButtonTrigger.hpp)
/Romain
2021-05-10 01:13 AM
Thank you.
I get it. Where can I find the ToggleButtonTrigger.hpp file?
How they work: Screen transition begins a how screen transition ends?
Andrzej
2021-05-10 02:51 AM
The ToggleButtonTrigger.hpp file is found in Middlewares\ST\touchgfx\framework\include\touchgfx\containers\buttons\ToggleButtonTrigger.hpp
The "When Screen Transition Ends" trigger is the new name for what was previously called "When Screen Entered". This means that whatever you wish to do will start after you have finished going to another screen.
The "When Screen Transition Begins" trigger will trigger an action at the start of the transition from a screen to another.
So the difference is just if you wish to have the action take place before or after the transition has started.
2021-05-10 03:23 AM
Thanks for the precise explanation.
Andrzej