AutoPlay Media Studio 9

RichText.LoadFromFile

RichText.LoadFromFile

This is the first topic This is the last topic  

RichText.LoadFromFile

This is the first topic This is the last topic  

OverviewExamples

RichText.LoadFromFile (

string ObjectName,

string Filename )

Example 1

-- 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


Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us