<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > Richedit Control > Richedit Control Commands > RTF_SetText |
Description
Substitute current rich edit content with a new text buffer.
Syntax
RTF_SetText(hWnd, ctrlID, sBuffer, sType)
Returns
None
Parameters
Name |
Type |
Optional |
Meaning |
hWnd |
Number |
No |
Handle of the dialog containing the Rich Edit control |
ctrlID |
Number |
No |
Control identifier assigned to the control during CONTROL ADD ... |
sBuffer |
String |
No |
String expression containing the text to append |
sType |
String |
No |
Either %SF_TEXT or %SF_RTF specifies the text type contained in the buffer |
Remarks
Restrictions
See also
Examples