WR Get HTML expression

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.7


WR Get HTML expression (area) Text

ParameterTypeDescription
areaLongint4D Write area
Function resultTextContent of the HTML expression

Description

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

See Also

WR INSERT HTML EXPRESSION.


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