Orientation

From NSB App Studio
Revision as of 19:18, 5 January 2013 by Ghenne (talk | contribs) (→‎Example)
Jump to navigation Jump to search

Description

The Orientation control puts up a full screen message if the orientation changes. If your app is only designed to run in Portrait mode and the user rotates to Landscape, it will black out the screen and ask the user to rotate back. The previous content of the screen will display once this happens. It can also be set to make Landscape the allowed orientation.

Properties and Methods

The Orientation control has only one property:

screenOrientation Normal orientation: Portrait or Landscape. Design time only.

Example

(No code required for this control)

Output

(depends on use. See nsbShowProgress sample)

Related Items

MsgBox