Douglas Farias Expert Licensed User Longtime User Aug 6, 2014 #1 Hi how can i make to change the orientation portait - landscape via button? i see many apps in the google play with config and in the config you can change orientation how make this on b4a *-*?
Hi how can i make to change the orientation portait - landscape via button? i see many apps in the google play with config and in the config you can change orientation how make this on b4a *-*?
NJDude Expert Licensed User Longtime User Aug 6, 2014 #2 On the button's CLICK event add this: B4X: Private p As Phone p.SetScreenOrientation(0) 'or 1 depending on the orientation you need. Upvote 0
On the button's CLICK event add this: B4X: Private p As Phone p.SetScreenOrientation(0) 'or 1 depending on the orientation you need.
antofer Member Licensed User Longtime User Mar 17, 2015 #3 Phone add the library and declare the variable but I can not assign ownership As p Private Phone p.SetScreenOrientation (0) 'or 1 Depending on the orientation you need. setScreenOrientation not exist as property I do wrong? Upvote 0
Phone add the library and declare the variable but I can not assign ownership As p Private Phone p.SetScreenOrientation (0) 'or 1 Depending on the orientation you need. setScreenOrientation not exist as property I do wrong?