ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous WINDEV functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 OuvreDocumentAsynchrone_Callback(sDoc, nCompteRendu)
	IF nCompteRendu = odOpenModified THEN
		Info(sDoc + " a été modifié.")
	END
END

IF NOT OpenDocumentAsynchronous(sDocument, "Mon document", ... 
		odOptionNone, "", OuvreDocumentAsynchrone_Callback) THEN
	Error("Impossible d'ouvrir le 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: wd300obj.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/14/2025

Send a report | Local help