My wishlist: open another screen - close current


#1

Hello,
I’m new here, but I have a point for the wish list:

A extension, when Button1 click, open another screen Name: Screen2 AND close currentScreen 1

Maybe this is an idea?

Greetings
Thomas


#2

@TF101, you dont need extension. You can do this.


#3

I’m with you I don’t like the tabbed approach either. My current project has 20 screens. I have a procedure which allows you to close the current screen and move to another. You need to use this method on every screen. If you do you will also be able to close the app from the current screen as it will be the only screen open. Hope this helps.

block1block2


#4

Hi, thanks for your answer.
For my understanding, the block call GotoScreen i have to insert in the button click event?

Greetings
Thomas


#5

The call block shown goes inside your button click yes.


#6

Thank you.
I will try it tonight.

Greetings
Thomas


#7

block3

I also add it to the .BackPressed event too.


#8

The “startValue” is optional.


#9

Hello Steve,
Your blocks are working fantastic!

Thanks again for your help!
greetings
Thomas