Old app does not work anymore

Hello

A few years ago, I wrote an app that worked perfectly. Now I want to use the app again and I get a runtime error. The error declares that the operation Screen Orientation cannot accept the arguments: center. Nor it accepts left or right.

Did some things change in the program area so I can't use this way of programming?

Show blocks where you changed the ScreenOrientation property

1 Like

Full image

1 Like

Well this block should never had worked

from helper blocks use the orientation block and choose which one you want

bild

bild

3 Likes

Thank you! Don't understand because once it worked. But I agree with you, this is the way it must be done.

1 Like

@WD_B , maybe first you used the correct blocks and then after downloading your app you might have changed the blocks to try something else and then forgot about it, it happens a lot to many people.

Arnav Tiwari

2 Likes