4D v13

WR Get frame

Home

 
4D Write v13
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
Theme: WR Area Options
Number: 89471

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Write 6.5

 
SEE ALSO 

WR SET FRAME