Page 1 of 1

Hide Navigation in Choreographer

Posted: 15 Jun 2021, 04:45
by Dino
Lets say I have 3 screens, with information in 3 of them that I want to show in the first one. So I create a choreography that visit all 3 screens then come back to the first one. In each of the successive screens we grab the information that we want an put in temporary fields (sessionStorage in this sample code).

Question... Is there any way to hide the screen/navigation when the choreographer go shopping, then show it again after it finish? like "HIDESCREEN(); " "SHOWSCREEN(); " or something like that so the user don't have to see all this navigation? While fast, still feels like the car is fighting for the control of my steering for a minute.... not an easy feeling.... yet. lol

Code: Select all

if (sessionStorage.getItem('NUMBER3') === null) {
   /* we go to visit several screens to grab the information we need */
   /* hide screen */
   EXECUTECHOREONAME("GetInfFromOtherScreens");
   /* show screen */
}

/* now we show what we got... */
var res = "I got this NUMBER1:" + sessionStorage.getItem('NUMBER1')
+ " Numero2:" + sessionStorage.getItem('NUMBER2') 
+ " Numero3:" + sessionStorage.getItem('NUMBER3');
FIELDS("LABEL1").setProperty("text", res );
FIELDS("LABEL1").refresh();

Re: Hide Navigation in Choreographer

Posted: 23 Jun 2021, 17:45
by Fairdinkum
Hi Dino,
How about importing the attached auto-gui rule to hide screens while EXECUTECHOREONAME() is beeing executed. As you can see from the video below, Row HTML extension covers the navigation.
https://drive.google.com/file/d/1wlTSb_ ... sp=sharing

*Note*
It reffers internal variables as follows.
  • AXES.UI.ChoreoTab.mode
  • AXES.UI.ChoreoTab.data.commands[AXES.UI.ChoreoTab.data.curIdx]
Regards,
Hide

Re: Hide Navigation in Choreographer

Posted: 23 Jun 2021, 18:21
by Fairdinkum
It's me again.
I've updated the auto-gui rule. Please try using this one. Thanks.

Regards,
Hide

Re: Hide Navigation in Choreographer

Posted: 07 Jul 2021, 23:45
by Dino
Thank you Fdk, I can see the rule is active and works, but basically is introducing another screen between the navigation. I can still see all the screens plus now one more in the transition with the "Please wait..." message.

Re: Hide Navigation in Choreographer

Posted: 09 Jul 2021, 10:30
by Fairdinkum
Hi Dino,
See the attached. In my test environment, all the screens while EXECUTECHOREONAME() is beeing executed are hidden under the "Please wait..." element. If you tested it in dev mode, try it again in user mode instead please?

Regards,
Hide