JVCL Help:TJvSoftwareUpdateDialog.ReturnValue

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Indicates the value returned by the function called by Execute.


Pascal

 propertyReturnValue: Cardinal;


Description

The TJvSoftwareUpdateDialog component is a wrapper for the SoftwareUpdateMessageBox Windows API. When you call Execute, this Windows API is executed, and the return value of that function is stored in ReturnValue.
Possible return values are:

Value Meaning
IDNO The user clicked the "Don't Update" button on the dialog box. The caller should save the update version from the SOFTDISTINFO and pass it in as the Advertised version in future calls.
IDYES The user clicked the "Update Now" or "About Update" button. The application should navigate to the HTML page referred to by the HREF property of DistInfo to initiate the install or learn about it. The caller should save the update version from DistInfo and pass it in as the Advertised version in future calls.
IDIGNORE There is no pending software update. This occurs if the available version is less than the installed version or is not present or if the Advertised version is greater than or equal to the update version.
IDABORT An error occurred.


See Also

TJvSoftwareUpdateDialog.Execute


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page