Enable Side Menu Layout only when I want

I wanted to know how I do to enable the e Side Menu Layout only when I want and not just let me call elements or add them. I say this because I want to use the Screen1 with different Vertical Arrangements that are enabled and disabled.

Example:

What should happen: Home App, Vertical Arrangement1 is shown with a canvas like Splash, after three seconds Vertical Arrangement1 is disabled and Vertical Arrangement2 is enabled with buttons and a Side Menu Layout, call or add elements.

What really happens: App starts, shows Vertical Arrangement1 with the Canvas as Splash, you can also see the Side Menu Layout without any element inside.

Well, I think I already solved it. :joy:

Use two blocks, of which are in screen1. They are called “call Screen1.Lock Side Menu” and “call Screen1.Unlock Side Menu”.

image

I call “call Screen1.Lock Side Menu” in “when Screen.initialize” and call “call Screen1.Unlock Side Menu” in a procedural block, next to Side Menu items.
image

The procedural block called it when the “Vertical_Arrangement” containing the buttons is activated.
image

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.