PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment