gwa.app.checkUpToDate()

Checks if the application is up to date by comparing versions and date time stamps.

Syntax

FUNCTION checkUpToDate() RETURNS gwa.app.TUpdateDialogResult

Returns a gwa.app.TUpdateDialogResult record with up-to-date information, version numbers, and error.

Usage

Use the gwa.app.checkUpToDate() method to check if the application is up to date. This method is called by default when gwa.app.updateDialog() is used.

For a complete example, run the GWA "update" demo in your GWA installation directory. If installed in FGLDIR, you will find the demo in $FGLDIR/demo/update or if installed in a separate directory, you will find it in gwa-install-dir/demo/update.