Skip to main content
Associate II
April 8, 2025
Solved

Redirect user to a view globally

  • April 8, 2025
  • 1 reply
  • 316 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.

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,

1 reply

GaetanGodart
GaetanGodartBest answer
Technical Moderator
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,

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!