This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
Windows

Windows 

 

 

Constant  Type Value Comment
External window  Longint 5  
Floating window  Longint 14  
Modal dialog  Longint 9  
Regular window  Longint 8  
Screen size  Longint 0

The coordinates of the entire screen. (default value)

Screen work area  Longint 1

The coordinates of the available screen area that can be used (i.e., they are not occupied by Windows taskbar or macOS menu bar and Dock).

XY Current form  Longint 1 Origin is top left corner of current form
XY Current window  Longint 2 Origin is top left corner of current window
XY Main window  Longint 4

On Windows: origin is top left corner of main window; on OS X: same as XY Screen

XY Screen  Longint 3

Origin is top left corner of main screen (same as for SCREEN COORDINATES command).



See also 

CONVERT COORDINATES
SCREEN COORDINATES
Window kind

 
PROPERTIES 

Product: 4D
Theme: List of constant themes

 
HISTORY 

Renamed: 4D v15 R3

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)