ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Window functions / WLanguage procedure
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 OpenDocument
WLanguage procedure ("callback") called by OpenDocument after the edit window is closed. This procedure can be a local, global or internal procedure.
Example
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:
odFailureThe document was not opened.
odOpenModifiedThe document was opened and modified.
odOpenNotModifiedThe document was opened but it was not modified.
Business / UI classification: Neutral code
Component: wd290obj.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/18/2023

Send a report | Local help