4D v16.3

WP Get selection

Home

 
4D v16.3
WP Get selection

WP Get selection 


 

WP Get selection ( {* ;} wpArea ) -> Function result 
Parameter Type   Description
Operator in If specified, wpArea is a form object name (string). If omitted, wpArea is an object field or variable.
wpArea  String, Object in Form object name (if * is specified) or 4D Write Pro object variable or field (if * is omitted)
Function result  Object in Range object

The WP Get selection command returns a new text range object (rangeObj) based upon the currently selected text in the wpArea 4D Write Pro area.

 

For more information, refer to the description of this command in the 4D Write Pro Language chapter of the 4D Write Pro Reference manual.



See also 

WP Get paragraphs
WP Get pictures
WP Get range

 
PROPERTIES 

Product: 4D
Theme: 4D Write Pro
Number: 1340

 
HISTORY 

Created: 4D v15 R4

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)