4D v13

WR SET SELECTION

Home

 
4D Write v13
WR SET SELECTION

WR SET SELECTION 


 

WR SET SELECTION ( area ; first ; last ) 
Parameter Type   Description
area  Longint in 4D Write area
first  Longint in First character
last  Longint in Last character

The WR SET SELECTION command 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.

The following example selects the first ten characters in area:

 WR SET SELECTION(area;0;10)

You want to place the insertion point at the end of the text.

 WR SET SELECTION(area;10000000;10000000)

 
PROPERTIES 

Product: 4D
Theme: WR Text Manipulation
Number: 89198

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Write 6