Command WR SET FRAME

4D Write

WR SET FRAME

version 6.5


WR SET FRAME (area; frame)

ParameterTypeDescription
areaLongint4D Write area
frameIntegerFrame number

Description

The WR SET FRAME command places the insertion point at its previous location in the part of the 4D Write area area indicated by the frame parameter. This position was previously memorized by 4D Write. If the Normal view mode is selected and the insertion point is placed in an header or footer area, 4D Write automatically switches to Page view mode.

You can pass the following values or constants in frame:

ValueConstants
0wr text frame
1 wr right header
2wr right footer
3wr left header
4wr left footer
5wr first header
6wr first footer

Values 3 and 4 are to be used when you use different headers and footers for left and right pages.

Values 5 and 6 are to be used when you use different headers and footers for the first page.

Note: The list of values is also available in the "WR Frames" constants theme.

Examples

See the examples for the following commands: WR GET CURSOR POSITION, WR SET CURSOR POSITION and WR INSERT PAGE NUMBER.

See Also

WR Get frame.