OverviewExamples
RichText.LoadFromFile ( |
-- Load the license text document.
RichText.LoadFromFile("RichText1", "AutoPlay\\Docs\\License.rtf");
-- Test for error
error = Application.GetLastError();
if (error ~= 0) then
Dialog.Message("Error", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION);
end
Loads the RTF file "License.rtf" into the "RichText1" richtext object and displays an error if encountered.
See also: Related Actions