Skip to main content
Associate II
April 8, 2025
Solved

Redirect user to a view globally

  • April 8, 2025
  • 2 replies
  • 333 views

Hello!

I'd like to trigger a screen change (navigate to a specific screen) whenever a hardware button is pressed, and I want this behavior to be global. How can i do that in touchgfx?

The only way i managed to redirect user is local, creating interactions in each screen, but i want to do this globally.

This topic has been closed for replies.
Best answer by GaetanGodart

Hello @matheuschiarelli ,

 

Creating an interaction in every screen is probably the easiest way to achieve this.

Is this an issue for you to create one interaction on every screen?

 

Regards,

2 replies

GaetanGodart
GaetanGodartBest answer
ST Employee
April 9, 2025

Hello @matheuschiarelli ,

 

Creating an interaction in every screen is probably the easiest way to achieve this.

Is this an issue for you to create one interaction on every screen?

 

Regards,

Gaetan GodartSoftware engineer at ST (TouchGFX)
Associate II
April 9, 2025

Hello @GaetanGodart !

 

No problem with this, i just wanted to make sure if i could create some redirect function globally in a easy way. But yeah, i can continue making interactions in each screen.

 

Thank you!