PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

New WINDEV 27 feature!
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 PROCEDURE OpenDocumentAsynchronous_Callback(sDoc, nStatusReport)
IF nReportStatus = 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: wd270obj.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment