Hello,
i'm facing a weird issue.
I have an app with several screens.
in my screen A i have a button "play" with this code onVisible
Set(POINTS_PER_QUESTION,1);
Set(STATUS_WAITING,"WAIT");
Set(STATUS_ANSWERED,"ANSWERED");
Set(ACTION_WAITING_MSG,"Scegli la risposta corretta:");
Set(ACTION_CORRECT_MSG,"Complimenti, la risposta è esatta!");
Set(ACTION_WRONG_MSG,"Spiacente, la risposta è errata!");
Set(ACTION_TIMEEXCEEDED_MSG,"Spiacente, la risposta è errata!");
and this code onSelect
//set a global variable to store the round value, round goes from 0 to 4
Set(gameRound, 1);
Set(currentGameStatus, STATUS_WAITING);
Set(gameID, CountRows(Match_1)+1);
//navigate to the game screen
Navigate(Game,ScreenTransition.Cover);
in my Game screen i have no code in my onVisible, and I have a label showing the variable currentGameStatus.
Considering this code, i am expecting that, once in my Game screen, i have currentGameStatus showing the text WAIT.
The weird thing is that in my variable panel, i see currentGameStatus as WAIT, but my label is showing nothing... and considering i have some controls based on that status, i cannot use it. What am i doing wrong? is it a bug?
thank you