Screen Type
Returns the type of screen on which the application is run: phone, tablet, computer or watch.
Notes:
· 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 the application is displayed on a large screen (tablet or PC)
IF ScreenType() IN (ssTablet, ssComputer) THEN
...
END
IF ScreenType() IN (ssTablet, ssComputer) THEN
...
END
<Result>: Integer constant
Type of screen:
teComputer
|
Computer screen (diagonal greater than 13 inches).
|
teWatch
|
Watch screen (diagonal less than 2 inches).
|
teTablet
|
Tablet screen (diagonal included between 7 and 13 inches).
|
tePhone
|
Phone screen (diagonal included between 2 and 7 inches).
|
Comments
Post a Comment