How can I make the screen be the starting screen instead of screen 1

I designed an application with a lot of screens, and now I want to modify it to make another screen become the starting screen instead of screen 1.

Can I do this by modifying the project's aia file

Screen1 is the "root" screen: any app made by means of AI2 starts from there and cannot be renamed or substituted.

Anyway: what you can do is to void your current Screen1 from any operation and to use it as a splash screen, that lasts for a couple of seconds, maybe with a welcome message and a picture. Then, by using a clock set to 2000 ms in the Screen1 initialization block (that fires only once) to switch to the screen that you want to be as the main one.
It's a trick, but it works.

Happy new year !

PS The next app that you want to make with many screens, think about to use "virtual" screens. You can find a lot of posts and tutorials by doing a quick search in the forum...

1 Like

Your suggestion is very good, but screen 1 has many functions. It would be tiring to repeat all this in another screen.
But I will try to do that, thank you

Happy New Year to us and to you, brother

Ok, I will research and review these topics

  1. select screen1 in component tree, Ctrl+C if you are working on windows.
  2. make a new screen, Ctrl+V.
  3. use backpack to copy all blocks.
2 Likes

These are automatically copied and pasted into the new screen including existing extensions (using Ctrl+V).

Of course, some blocks must be renamed:

2 Likes

Great hint, @Kevinkun and @Anke !!!
Happy new year to all!
image

2 Likes

Yes but sometimes not all copied when Ctrl +V. I always deleted them all and use backpack to copy again.

1 Like

Watch out for procedures and global init blocks.
I don't remember them coming along in the Ctrl-V.

2 Likes

I would like to tell you that I am developing via my phone