4D v13

WR Get HTML expression

Home

 
4D Write v13
WR Get HTML expression

WR Get HTML expression 


 

WR Get HTML expression ( area ) -> Function result 
Parameter Type   Description
area  Longint in 4D Write area
Function result  Text in Content of the HTML expression

The WR Get HTML expression command allows recuperating the text of the HTML expression currently selected within area.

To select HTML expressions contained in a 4D Write document, you should use the WR Count(Area;wr nb HTML expressions) statement and then make a loop for WR SELECT(Area;13;$loop).

Example  

You want to get HTML expressions contained in your 4D Write document:

 C_LONGINT(Area;$i;$NbHTMLExp)
 C_TEXT($MyExp)
 
 $NbHTMLExp:=WR Count(Area;wr nb HTML expressions)
 For($i;1;$NbHTMLExp)
    WR SELECT(Area;13;$i)
    $MyExp:=WR Get HTML expression(Area)
 End for

 
PROPERTIES 

Product: 4D
Theme: WR Database Objects
Number: 89433

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Write 6.7

 
SEE ALSO 

WR INSERT HTML EXPRESSION