4D v17.4QR Get area property | 
            ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
                 
                
  | 
                
			
                    
                         
    4D v17.4
 
QR Get area property 
                                
                                
        
 | 
                |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| QR Get area property ( area ; property ) -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| area | Longint | 
             
         | 
        Reference of the area | |||||
| property | Longint | 
             
         | 
        Interface element designated | |||||
| Function result | Longint | 
             
         | 
        1 = displayed, 0 = hidden | |||||
The QR Get area property command returns 0 if the interface element (toolbar or menu bar) passed in property is not displayed; otherwise, it returns 1.
The menu bar and toolbars are numbered from 1 to 6 (top to bottom) and the value 7 is dedicated to the context menu.
You can use the constants from the QR Area Properties theme to designate the interface item:
| Constant | Type | Value | Comment | 
| qr view color toolbar | Longint | 5 | Display status of the Color toolbar (Displayed=1, Hidden=0) | 
| qr view column toolbar | Longint | 6 | Display status of the Column toolbar (Displayed=1, Hidden=0) | 
| qr view contextual menus | Longint | 7 | Display status of the Contextual menu (Displayed=1, Hidden=0) | 
| qr view menubar | Longint | 1 | Display status of the menu bar (Displayed=1, Hidden=0) | 
| qr view operators toolbar | Longint | 4 | Display status of the Operators toolbar (Displayed=1, Hidden=0) | 
| qr view standard toolbar | Longint | 2 | Display status of the Standard toolbar (Displayed=1, Hidden=0) | 
| qr view style toolbar | Longint | 3 | Display status of the Style toolbar (Displayed=1, Hidden=0) | 
If you pass an invalid area number, the error -9850 will be generated.
If you pass an invalid property parameter, the error -9852 will be generated.
	Product:  4D
	Theme:  Quick Report
	Number:  
        795
        
        
        
	
	Created:  4D 2003
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D Language Reference ( 4D v17)
	
	
	
	
	
	
	4D Language Reference ( 4D v17.1)
	
	
	4D Language Reference ( 4D v17.2)
	
	
	4D Language Reference ( 4D v17.3)
	
	4D Language Reference ( 4D v17.4)
	
	
Add a comment