When a project is opened

I want to run a piece of code when the app is opened, how do-ido that?

edit: does [If [1 = 1] then] work?

You can use Screen1. Initialize event.It should be triggered as soon as your app is opened.

1 Like

You mean this little block right here:

This event :wink: :
component_event (17)
You will find it in every screen. as Screen1 is opened firstly when the app opens, so this event will be triggered.

1 Like

Depends on what the code is doing, the Screen needs some milliseconds to initialise!

Safer to do this:



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