ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / RTF functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Adds a character string (in RTF or not) at the end of content:
  • of RTF edit control,
  • of RTF control in a report (WINDEV report only)
  • of character string containing a text in RTF.
Warning: Regardless of the syntax used, this function is not recommended for use in a thread.
Example
// Ajoute le contenu de SAI_SAISIE2 à la fin de SAI_SAISIE1
RTFAdd(SAI_SAISIE1, SAI_SAISIE2)
// Ajoute "(c) 2003 MaSociete" à la fin de SAI_SAISIE1
RTFAdd(SAI_SAISIE1, "(c) 2003 MaSociété")
Syntax

Adding a character string at the end of RTF control Hide the details

RTFAdd(<RTF control> , <New Character String>)
<RTF control>: Character string
Name of RTF control (RTF edit control in a window, RTF control in a WINDEV report).
<New Character String>: Character string
Character string (in RTF or not) that must be added to the content of the RTF control.

Adding a character string at the end of RTF string Hide the details

<Result> = RTFAdd(<RTF string> , <New Character String>)
<Result>: Character string
New character string into which the addition was performed. The initial string is not modified.
<RTF string>: Character string
Name of character string containing characters in RTF.
<New Character String>: Character string
String of characters (in RTF format or not) to be added to the RTF string content.
Remarks
This function controls the RTF management of WIndows. Depending on the Windows version used, a paragraph end may be added at the end of the line.
Component: wd300obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help