4D v13.4

Screen width

Home

 
4D v13.4
Screen width

Screen width 


 

Screen width {( * )} -> Function result 
Parameter Type   Description
Operator in Windows: width of application window, or width of screen if * is specified Macintosh: width of main screen
Function result  Longint in Width expressed in pixels

On Windows, Screen width returns the width of 4D application window (MDI window). If you specify the optional * parameter, the function returns the width of the screen.

On Macintosh, Screen width returns the width of the main screen, the screen where the menu bar is located.

 
PROPERTIES 

Product: 4D
Theme: System Environment
Number: 187

Windows specific

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: < 4D v6

 
SEE ALSO 

SCREEN COORDINATES
Screen height