JVCL Help:TDSAStorage.GetState

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

Search in JVCL Help

 
Search in all projects
 

Summary

Retrieve the current state and result code of the DSA dialog.


Pascal

 functionGetState(constDSAInfo: TDSARegItem; outLastResult: Integer; constOnCustomData: TDSACustomData = nil): Boolean; virtual;


Parameters

Parameters Description
const DSAInfo: TDSARegItem Registration info of the DSA dialog in question.
out LastResult: Integer On exit will hold the result code of the dialog when the DSA state was set.
const OnCustomData: TDSACustomData = nil Provide an OnCustomData handler if additional info should be retrieved from the storage. Leave this parameter nil if no additional data is to be retrieved.


Description

GetState will retrieve the state and result code of the specified DSA dialog from the storage device. If the dialog was marked to be suppressed, the function will return True and LastResult will hold the ModalResult of the dialog when it was last closed. If the dialog was not marked to be suppressed, the function will return False and LastResult will be set to 0.


See Also

TDSAStorage.SetState


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