ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous WINDEV functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
Example
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:
odFailureThe document was not opened.
odOpenModifiedThe document was opened and modified.
odOpenNotModifiedThe document was opened but it was not modified.
Component: wd290obj.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/30/2023

Send a report | Local help