|
|
|
|
|
ScreenType (Function) In french: TypeEcran Returns the type of screen on which the application is running: phone, tablet, computer or watch. Remarks: - 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.
IF ScreenType() IN (stTablet, stComputer) THEN
...
END
Syntax <Result>: Integer constant Type of screen: | | teComputer | Computer screen (diagonal greater than 13 inches). | tePhone | Phone screen (diagonal included between 2 and 7 inches). | teTablet | Tablet screen (diagonal included between 7 and 13 inches). | teWatch | Watch screen (diagonal less than 2 inches). |
Component: wd300android.aar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|