JVCL Help:RegisterDSA

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

Search in JVCL Help

 
Search in all projects
 

Summary

Register a DSA dialog.

run\JvDSADialogs.pas


Pascal

 run\JvDSADialogs.pas
 procedureRegisterDSA(constDlgID: Integer; constName: string; constDescription: string; constStorage: TDSAStorage; constCheckTextKind: TDSACheckTextKind = ctkShow);


Parameters

Parameters Description
const DlgID: Integer ID of the dialog in the DSA system.
const Name: string Reference name of the dialog. Might be used by the storage device as an identification.

run\JvDSADialogs.pas


Description

  1. JVCLInfo

RegisterDSA registers a new DSA dialog with the system. The given ID and Name may not already exist within the registration, but may exist in the storage device.
If the given ID and Name match an existing dialog, the procedure will do nothing. If either the ID or Name are registered, an exception will be raised.
Description of the dialog. Could be used by a UI for DSA management (re-enabling disabled dialogs). Storage - Reference to the storage device that will maintain the DSA state. CheckTextKind - The kind of text to display next to the check box. See RegisterDSACheckMarkText and UnregisterDSACheckMarkText for more information.

run\JvDSADialogs.pas


See Also

UnregisterDSA

run\JvDSADialogs.pas


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