WR Get selected text

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 Get selected text (area) Text

ParameterTypeDescription
areaLongint4D Write area
Function resultTextText selected in area

Description

The command WR Get selected text returns the selected text in area.

The maximum number of characters 4th Dimension can store in a field or variable is 32,000. Therefore, WR Get selected text will return a maximum of 32,000 characters. If more than 32,000 characters are selected, this function returns an empty string and an error will be reported by WR Error number.

Example

The following example places the selected text in area into the variable vText.

   vText:=WR Get selected text (area)

See Also

WR GET PARAGRAPHS, WR GET SELECTION, WR Get text, WR GET WORDS.


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