PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Adds a character string (in RTF format 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 format.
Caution: Regardless of the syntax used, this function is not recommended in a thread.
Example
// Add the content of EDT_EDIT2 at the end of EDT_EDIT1
RTFAdd(EDT_EDIT1, EDT_EDIT2)
// Add "(c) 2003 MyCompany" at the end of EDT_EDIT1
RTFAdd(EDT_EDIT1, "(c) 2003 MyCompany")
Syntax

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

RTFAdd(<RTF control> , <New Character String>)
<RTF control>: Character string (with or without quotes)
Name of RTF control (RTF edit control in a window, RTF control in a WINDEV report).
<New Character String>: Character string (with quotes)
Character string (in RTF format 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 (with or without quotes)
Name of character string containing characters in RTF format.
<New Character String>: Character string (with quotes)
Character string (in RTF format or not) that will be added to the content of RTF string.
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 : wd240obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment