4D Write v14

WR Get frame

Home

 
4D Write v14
WR Get frame

WR Get frame 


 

WR Get frame ( area ) -> Function result 
Parameter Type   Description
area  Longint in 4D write area
Function result  Longint in 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).

Example  

See the examples for the WR GET CURSOR POSITION and WR SET CURSOR POSITION commands.

 
PROPERTIES 

Product: 4D Write
Theme: WR Area Options
Number: 89471

 
HISTORY 

Created: 4D Write 6.5

 
SEE ALSO 

WR SET FRAME

 
ARTICLE USAGE

4D Write Language ( 4D Write v11.6)
4D Write Language ( 4D Write v12)
4D Write Language ( 4D v13)
4D Write Language ( 4D Write v14)
4D Write Language ( 4D Write v14 R2)
4D Write Language ( 4D Write v14 R3)
4D Write Language ( 4D Write v14 R4)