| 4D v13WR Get frame | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  | 
    4D Write v13
 WR Get frame 
         | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| WR Get frame ( area ) -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| area | Longint |   | 4D write area | |||||
| Function result | Longint |   | Page area in which the cursor is | |||||
The WR Get frame command returns a number that represents which page area the insertion point or the current selection is in.
The following values can be returned:
| Constant | Type | Value | 
| wr text frame | Longint | 0 | 
| wr right header | Longint | 1 | 
| wr right footer | Longint | 2 | 
| wr left header | Longint | 3 | 
| wr left footer | Longint | 4 | 
| wr first header | Longint | 5 | 
| wr first footer | Longint | 6 | 
You can enter these values by number or by using a predefined constant (as shown).
See the examples for the WR GET CURSOR POSITION and WR SET CURSOR POSITION commands.
	Product:  4D
	Theme:  WR Area Options
	Number:  
        89471
        
        
        
	
	Created:  4D Write 6.5