PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
SysListScreenOrientation (Function)
In French: SysListeOrientationEcran
Used to find out the possible orientations of a screen on a Mobile Device (Pocket PC).
Example
// Fill the "LIST_Orientations" control with the possibles orientations
ListAdd(LIST_Orientations, SysListScreenOrientation())

// Select the current orientation of the screen in the list
LIST_Orientations = SysScreenOrientation()
Syntax
<Result> = SysListScreenOrientation()
<Result>: Character string
Character string containing the possible orientations, in the following format:
<Orientation 1> + CR + ... + <Orientation N>

Where <Orientation > corresponds to one of the following constants:
Orient0the screen is oriented in the default direction.
Orient90the screen is turned around by 90° clockwise.
Orient180the screen is upside-down (180°).
Orient270the screen is turned 90° clockwise (270°).
Remarks
The change of screen orientation is not supported by all the mobile devices. When this feature is not available, SysListScreenOrientation always returns Orient0.
Components
Windows Mobile wp230std.dll
Minimum required version
  • Version 11
Comments
Click [Add] to post a comment