SCREENWIDTH()
From Lianjapedia
Contents
Purpose
Function to return the screen/viewport width
Syntax
SCREENWIDTH()
See Also
SCREENHEIGHT(), JavaScript built-in Lianja/VFP functions
Description
The SCREENWIDTH() function is returns the screen/viewport width in pixels.
Example
if screenwidth() < 900 // handle UI elements for smaller screen accordingly else // handle UI elements for larger screen accordingly endif