version 6.5
WR Get frame (area) Longint
| Parameter | Type | Description | |
| area | Longint | 4D 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:
| Value | Location |
| 0 | text area |
| 1 | right header |
| 2 | right footer |
| 3 | left header |
| 4 | left footer |
| 5 | first header |
| 6 | first 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