WR O Get page

4D - Documentation   Français   English   German   4D Write, Command Theme List   4D Write, Command Alphabetical List   4D Write, Constant Theme List   Back   Previous   Next

version 6.0


WR O Get page (area; position) Integer

ParameterTypeDescription
areaLongint4D Write area
positionLongintPosition of a character in area
Function resultIntegerPage of the character position passed in position

Note 6.5: This command was only maintained for compatibility purposes. We recommend using the WR GET CURSOR POSITION command.

Description

The command WR O Get page returns the page of the character position passed in the position parameter. For example, if the 100th character is on page 3, the value in Result in the following line of code will be 3:

   Result:=WR O Get page (Area;100)

Note: This function is useful only if you set the document to View Page mode.

See Also

WR GET CURSOR POSITION.


4D - Documentation   Français   English   German   4D Write, Command Theme List   4D Write, Command Alphabetical List   4D Write, Constant Theme List   Back   Previous   Next