|
|
|
|
WLanguage procedure called by OpenDocumentAsynchronous WLanguage procedure ("callback") called by OpenDocumentAsynchronous after the edit window is closed. This procedure can be a local, global or internal procedure. INTERNAL PROCÉDURE OpenDocumentAsynchronous_Callback(sDoc, nStatusReport) IF nStatusReport = odOpenModified THEN Info(sDoc + " has been modified.") END END IF NOT OpenDocumentAsynchronous(sDocument, "My document", ... odOptionNone, "", OpenDocumentAsynchronous_Callback) THEN Error("Unable to open the document.") END
Syntax
OpenDocumentAsynchronous_Callback(<Document> , <Status report>)
<Document>: Character string Document opened by OpenDocumentAsynchronous. <Status report>: Integer Status report of document opening:
| | odFailure | The document was not opened. | odOpenModified | The document was opened and modified. | odOpenNotModified | The document was opened but it was not modified. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|