| 4D v15.4QR SET HEADER AND FOOTER | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v15.4
 QR SET HEADER AND FOOTER 
         | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| QR SET HEADER AND FOOTER ( area ; selector ; leftTitle ; centerTitle ; rightTitle ; height {; picture {; pictAlignment}} ) | ||||||||
| Parameter | Type | Description | ||||||
| area | Longint |   | Reference of the area | |||||
| selector | Longint |   | 1 = Header, 2 = Footer | |||||
| leftTitle | String |   | Text displayed on the left side | |||||
| centerTitle | String |   | Text displayed in the middle | |||||
| rightTitle | String |   | Text displayed on the right side | |||||
| height | Longint |   | Header or footer height | |||||
| picture | Picture |   | Picture to display | |||||
| pictAlignment | Longint |   | Alignment attribute for the picture | |||||
The QR SET HEADER AND FOOTER command sets the contents and size of the header or footer.
selector selects the header or the footer:
leftTitle, centerTitle and rightTitle are the values for, respectively, the left, center and right header/footer.
height is the height of the header/footer, expressed in the unit selected for the quick report.
picture is a picture that will be displayed in the header or footer.
pictAlignment is the alignment attribute for the picture passed in picture.
If you pass an invalid area number, the error -9850 will be generated.
If you pass an invalid selector value, the error -9852 will be generated.
The following statement places the title “Center title” in the header for the Quick Report in MyArea and sets the header height to 200 points:
 QR SET HEADER AND FOOTER(MyArea;1;"";"Center title";"";200)
	Product:  4D
	Theme:  Quick Report
	Number:  
        774
        
        
        
	
	Created:  4D 2003
	
	
	
	
	4D Language Reference ( 4D v15.4)
	
	
	4D Language Reference ( 4D v15)
	
	
	
	
	
	
	
	
	4D Language Reference ( 4D v15.3)
	
	
 Add a comment
Add a comment