ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Application update functions / WLanguage procedures
  • Configuring the automatic check for updates
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 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(MiseAJourDisponible)
	INTERNAL PROCEDURE MiseAJourDisponible(MiseAJour, Version)
		IF MiseAJour = appUPDAvailMandatory THEN
			ToastDisplay("Une mise à jour obligatoire est disponible (" + 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:
  • do nothing: in this case, the user will not be informed 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: 05/02/2025

Send a report | Local help