ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Application update functions / WLanguage procedures
  • Configuring the automatic check for updates
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 AppDetectUPDAvailable
Procedure ("Callback") called by AppDetectUPDAvailable when an update for the active application is detected. This procedure can be a global or internal procedure.
Example
AppDetectUPDAvailable(UpdateAvaliable)
INTERNAL PROCEDURE UpdateAvailable(Update, Version)
IF Update = appUPDAvailMandatory THEN
ToastDisplay("A mandatory update is available (" + Version + ").")
END
END
Syntax
AppDetectUPDAvailable_Callback(<Level of update> , <Version>)
<Level of update>: Integer constant
Type of the available update:
appUPDAvailMandatoryA mandatory update is available.
appUPDAvailOptionalAn optional update is available.
<Version>: Character string
Number of the available version.
Remarks

Configuring the automatic check for updates

This procedure is used to configure the action taken when the update is detected. (For more details, see Automatic check for available updates). This action replaces the Windows notification. This procedure can, for example:
  • perform no action: in this case, the user will not be notified that an update is available.
  • do a specific action (display an explanatory message as a toast for example). This action will replace the default Windows notification.
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help