Jump to content

Lock screen orientation in runtime


Michal

Recommended Posts

Hi

I have a restaurant software that runs on very different devices. Some of them are small  where best screen orientation is portrait but some users with large tablet prefer landscape orientation. I cannot lock orientation in runtime. I tried to set 

Application. SupportedOrientations:=[TfgInterfaceOrientation.Portrait,TfgInterfaceOrientation.ReversePortrait];

but it doesn't seem to work

I can't set it in manifest, this has to be user decision

Regards

Michał

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...