SCREENHEIGHT()

From Lianjapedia
Jump to: navigation, search

Purpose

Function to return the screen/viewport height

Syntax

SCREENHEIGHT()

See Also

SCREENWIDTH(), JavaScript built-in Lianja/VFP functions

Description

The SCREENHEIGHT() function is returns the screen/viewport height in pixels.

Example

if screenheight() < 900
    // handle UI elements for smaller screen accordingly
else
    // handle UI elements for larger screen accordingly
endif