cancel
Showing results for 
Search instead for 
Did you mean: 

How to switch screen using user code when a certain flag becomes true.

AKetc
Associate III

I have gone through the methods that are gui generated when change screen transition is done through the designer. I have also gone through the previously asked question how to implement switchscreen() in touchgfx. However, sadly I don't understand exactly how to fulfill my requirement. I want to carry out transition whenever a certain boolean variable becomes true. The variable becomes true after response from the hardware. Please guide me on how to implement this. I shall be thankful.

10 REPLIES 10
MPhil.1
Associate II

@AKetc​ would you be so kind to share how you accomplished this? I am in a similar scenario where I want to change the screen based on a flag. Any help would be appreciated. Thank you! Mike