ImageEn, unit iexRichEdit |
|
TIERichEdit.PromptToOpen
Declaration
function TIERichEdit.PromptToOpen(Caption: string = ''; AllowImport: Boolean = True): Boolean;
Description
Prompt the user to specify a filename and load content from the file.
Caption specifies the title text for the Open dialog. If unspecified it defaults to a localized version of "Open File".
If AllowImport is true, loading from Word and PDF is permitted (requires
CanImportExport = True).
Result is true if the load succeeds.
// Prompt user to load a document
IERichEdit1.PromptToOpen();
See Also
◼OpenFromFile
◼SaveToFile
◼PromptToSave
◼ImportFromWord
◼Filename