JVCL Help:TDSAStorage.SetState
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TDSAStorage.SetState Method
[+] TDSAStorage Methods
[+] TDSAStorage Properties
Search in JVCL Help
Search in all projectsSummary
Sets the current state and result code of the DSA dialog.
Pascal
procedureSetState(constDSAInfo: TDSARegItem; constDontShowAgain: Boolean; constLastResult: Integer; constOnCustomData: TDSACustomData = nil); virtual;
Parameters
Parameters | Description |
const DSAInfo: TDSARegItem | Registration info of the DSA dialog in question. |
const DontShowAgain: Boolean | Flag to indicate if the dialog should be suppressed. Some storage devices may elect to remove the reference of this dialog when this parameter is set to False, others may leave the reference and just update the DSA state. |
const LastResult: Integer | The result code of the dialog when to store along with the DSA state. By convention, this parameter should be set to 0 if DontShowAgain is False. Depending on the storage device, this might be enforced. |
const OnCustomData: TDSACustomData = nil | Provide an OnCustomData handler if additional info should be stored in the storage. Leave this parameter nil if no additional data is to be retrieved. |
Description
SetState will set the state and result code of the specified DSA dialog in the storage device.
See Also
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