| 
                    
 This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com  | 
            |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
                 
                
  | 
                
					
                    
                         
    4D v20.6
 
Screen width 
                                
                                
        
 | 
                ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Screen width {( * )} -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| * | Operator | 
             
         | 
        Windows: width of application window, or width of screen if * is specified Macintosh: width of main screen | |||||
| Function result | Longint | 
             
         | 
        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.
	Product:  4D
	Theme:  System Environment
	Number:  
        187
        
        
        
	
	Created:  < 4D v6
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D Language Reference ( 4D v20)
	
	
	4D Language Reference ( 4D v20.1)
	
	
	
	4D Language Reference ( 4D v20.2)
	
	4D Language Reference ( 4D v20.3)
	
	4D Language Reference ( 4D v20.4)
	
	
	4D Language Reference ( 4D v20.5)
	4D Language Reference ( 4D v20.6)
	
	
	
Add a comment