JVCL Help:TJvStreamConversion.Retry

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Returns whether the conversion process can be retried.


Pascal

 functionRetry: Boolean; override;


Return Value

Returns true if the current conversion process can be retried, false otherwise.


Description

TJvRichEdit calls Retry after a failed import or export process. If the converter indicates that the import or export process can be retried (by returning true) the rich edit control will start the import or export process once again, but now switches the source or target format of its content from RTF to plaintext or vice versa. For example if a plain text file is imported as a RTF file, an error will occur. Retrying to import the file but now as plain text will then succeed. As implemented in TJvConversion, Retry always returns false. Override this method in a descendant class to allow retrying of a conversion process.


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page