ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Emulation functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Emulates the window of the mobile (Android/iOS) simulator.
WINDEV This function is available in WINDEV and is used only in simulator mode. 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:
esBackSimulates pressing the Back button.
iPhone/iPad This constant is not available.
esCloseCloses the simulator.
esMenuSimulates pressing the Menu 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 version required
  • Version 20
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help