AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones específicas para móviles / Funciones de teléfono
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
ScreenType (Function)
In french: TypeEcran
Returns the type of screen on which the application is run: phone, tablet, computer or watch.
Remarks:
  • Android To find out the exact size of the diagonal of the screen, use ScreenSize.
  • In simulator mode, the type of screen corresponds to a computer screen.
Example
// If the application is displayed on a large screen (tablet or PC)
IF ScreenType() IN (teTablet, teComputer) THEN
...
END
Syntax
<Result> = ScreenType()
<Result>: Integer constant
Type of screen:
teComputerComputer screen (diagonal greater than 13 inches).
tePhonePhone screen (diagonal included between 2 and 7 inches).
teTabletTablet screen (diagonal included between 7 and 13 inches).
teWatchWatch screen (diagonal less than 2 inches).
Component: wd290android.aar
Versión mínima requerida
  • Versión 22
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local