| 4D Write v15WR Get RTF expression | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D Write v15
 WR Get RTF expression 
         | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| WR Get RTF expression ( area ) -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| area | Longint |   | 4D Write area | |||||
| Function result | Text |   | Content of the RTF expression | |||||
The WR Get RTF expression command allows recuperating the text of the RTF expression currently selected within area.
To select RTF expressions contained in a 4D Write document, you should use the WR Count(Area;wr nb RTF expressions) command and then make a loop for WR SELECT(Area;14;$loop).
You want to get RTF expressions contained in your 4D Write document:
 C_LONGINT(Area;$i;$NbRTFExp)
 C_TEXT($MyExp)
 
 $NbRTFExp:=WR Count(Area;wr nb RTF expressions)
 For($i;1;$NbRTFExp)
    WR SELECT(Area;14;$i)
    $MyExp:=WR Get HTML expression(Area)
 End for
	Product:  4D Write
	Theme:  WR Database Objects
	Number:  
        89431
        
        
        
	
	Created:  4D Write 6.7
	
	
	
	
	
	
	
	
	4D Write Language ( 4D Write v15)
	
	
	
	
	
	
	
 Add a comment
Add a comment