|
|
|
|
WLanguage procedure called by OpenDocument WLanguage procedure ("callback") called by OpenDocument after the edit window is closed. This procedure can be a local, global or internal procedure. OpenDocument("MyDocument.docx", "My Document", odOptionNone, "", OpenDocument_Callback)  INTERNAL PROCÉDURE OpenDocument_Callback(DocResult, nCR) SWITCH nCR CASE odOpenModified Info(DocResult + " has been modified") CASE odOpenNotModified Info(DocResult + " has not been modified") OTHER CASE Info(DocResult + " could not be opened") END END Syntax
OpenDocument_Callback(<Document> , <Status report>)
<Document>: Character string Document opened by OpenDocument. <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. |
Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|