WR SET SELECTION

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 SET SELECTION (area; first; last)

ParameterTypeDescription
areaLongint4D Write area
firstLongintFirst character
lastLongintLast character

Description

The command WR SET SELECTION selects the text in area described by the numbers first and last. Text is selected from first + 1 characters to last.

If first and last are equal, WR SET SELECTION places the insertion point after the character described by first. If last is greater than the length of the text in Area, WR SET SELECTION selects the text to the end of the document. If last is less than first, WR SET SELECTION does nothing.

Example

The following example selects the first ten characters in area:

   WR SET SELECTION (area;0;10)

See Also

WR GET SELECTION.


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