Navigation: thinBasic Modules > UI (User Interface) > CONTROLs > Dedicated Control Functions > RTF Control > RTF_SaveToFile |
|
Description
Save a Rich Edit control content into a RTF file.
Syntax
s = RTF_SaveToFile(hWnd, ctrlID, FileName, FileType)
Returns
String, the saved buffer.
Parameters
Name |
Type |
Optional |
Meaning |
hWnd |
Number |
No |
Handle of the dialog containing the RichEdit control |
ctrlID |
Number |
No |
Control identifier assigned to the control during CONTROL ADD ... |
FileName |
String |
No |
Full path name of the file to load |
FileType |
Number |
No |
Either %SF_TEXT or %SF_RTF specifies the type of file to be read |
Remarks
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |