Command WR Get frame

4D Write

WR Get frame

version 6.5


WR Get frame (area) Longint

ParameterTypeDescription
areaLongint4D write area

Function result Longint Page area in which the cursor is

Description

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:

ValueLocation
0text area
1 right header
2right footer
3left header
4left footer
5first header
6first footer

You can enter these values by number or by using a predefined constant (as shown).

Examples

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

See Also

WR SET FRAME.