I have a partner developing a RhoElements application on the ET1. He wants to turn off screen orientation.
Do we have any documentation on turning off screen orientation within ET1?
Or if there's sample RhoElements code that can disable the screen orientation, that would be great.
Matt,
There are a couple of ways to do this:
1) Config.xml - this will be a global setting
ScreenOrientation\AutoRotate = 0
2) Programatically using screenOrientation object:
screenOrientation.autoRotate = 'Disabled';
Points: 0
You voted ‘up’
Log in to post comments