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
EmulateSimulator (Function)
In French: PiloteSimulateur
ODBCOLE DBAvailable only with these kinds of connection
Emulates the window of the mobile (Android/iOS) simulator.
WINDEV This function is available in WINDEV only in order to be used in simulator mode. Used in a WINDEV application, this function has no effect.
Example
// Change the orientation of the simulator
EmulateSimulator(esTurnScreen)
Syntax
EmulateSimulator(<Action>)
<Action>: Integer constant
Action to perform:
esCloseCloses the simulator.
esMenuSimulates pressing the Menu button.
iPhone/iPad This constant is not available.
esBackSimulates pressing the Back button.
iPhone/iPad This constant is not available.
esTurnScreenTurns the screen round: switches from landscape mode to portrait mode (or conversely).
Remarks
This function must only be used in the code of automatic tests run on the Android or iOS simulator.
Minimum required version
  • Version 20
Comments
Click [Add] to post a comment