Project orientation missing

dualznz

Member
Licensed User
Longtime User
Hi all
For some reason i am unable to set the orientation of any project.
Normally i would goto PROJECT / ORIENTATIONS SUPPORTED but its no longer there.

is it now a hard code option? for lanscape / portrait / both

any help would be great
Cheers

B4A 2.50
 

dualznz

Member
Licensed User
Longtime User
yea thanks
i just figured it out declare global variable using phone
then under Activity_Create add
var.SetScreenOrientation(0)

-1 = both
0 = landscape
1 = portrait

or you can do it in the project attributes, cheers

:icon_clap:
 
Upvote 0
Top