Logged out, click to login

JEDI Online help - Browsing a unit



Back to project JVCL Back Add an item Edit unit Generate DTX file Search Administration

Unit JvDSADialogs.pas

Author: Marcel Bestebroer

Package: Dlgs

Status: Completed, Incomplete

Provides code and a component to manage and create DSA (Don't Show Again) dialogs. <INCLUDE JVCL.UnitText.dtx>

Last changed by obones on 2009-01-04 21:50:52 CET

Items in the unit

Item
Summary
ctkAsk <ALIAS TDSACheckTextKind>
ctkShow <ALIAS TDSACheckTextKind>
ctkWarn <ALIAS TDSACheckTextKind>
DSACount Returns the number of DSA dialogs registered.
DSAItem Retrieves a DSA registration item.
DSAMessageDlg

@Integer

@string

@string

@TGraphic

@TMsgDlgButtons

@Longint

@TDlgCenterKind

@Integer

@TMsgDlgBtn

@TMsgDlgBtn

@TMsgDlgBtn

@TJvDynControlEngine
\MessageDlg replacement with additional settings and "Don't show again" capabilities.
DSAMessageDlg

@Integer

@string

@string

@TMsgDlgType

@TMsgDlgButtons

@Longint

@TDlgCenterKind

@Integer

@TMsgDlgBtn

@TMsgDlgBtn

@TMsgDlgBtn

@TJvDynControlEngine
\MessageDlg replacement with additional settings and "Don't show again" capabilities.
DSAMessageDlg

@Integer

@string

@TMsgDlgType

@TMsgDlgButtons

@Longint

@TDlgCenterKind

@Integer

@TMsgDlgBtn

@TMsgDlgBtn

@TMsgDlgBtn

@TJvDynControlEngine
\MessageDlg replacement with additional settings and "Don't show again" capabilities.
DSAMessageDlgEx

@Integer

@string

@string

@TGraphic

@array of string

@array of Integer

@Longint

@TDlgCenterKind

@Integer

@Integer

@Integer

@Integer

@TJvDynControlEngine
\MessageDlg replacement with additional settings and "Don't show again" capabilities.
DSAMessageDlgEx

@Integer

@string

@string

@TMsgDlgType

@array of string

@array of Integer

@Longint

@TDlgCenterKind

@Integer

@Integer

@Integer

@Integer

@TJvDynControlEngine
\MessageDlg replacement with additional settings and "Don't show again" capabilities.
DSAMessageDlgEx

@Integer

@string

@TMsgDlgType

@array of string

@array of Integer

@Longint

@TDlgCenterKind

@Integer

@Integer

@Integer

@Integer

@TJvDynControlEngine
\MessageDlg replacement with additional settings and "Don't show again" capabilities.
DSARegStore Retrieves a reference to the default registry storage.
DSAShowMessage Display a message box.
DSAShowMessageFmt Display a message box.
EJvDSADialog Exception class for TJvDSADialog errors.
GetDSACheckMarkText Retrieves the check mark text for the given ID.
GetDSAState

@Integer
Retrieves DSA state.
GetDSAState

@Integer

@Integer

@TDSACustomData
Retrieves DSA state.
LocateDSAReg Locates and returns the DSA registration info for a given dialog.
mbDefault Used to identify default button mapping.
mbNone Used to identify no button.
MessageDlg

@string

@string

@TGraphic

@TMsgDlgButtons

@Longint

@TDlgCenterKind

@Integer

@TMsgDlgBtn

@TMsgDlgBtn

@TMsgDlgBtn

@TJvDynControlEngine
\MessageDlg replacement with additional settings.
MessageDlg

@string

@string

@TMsgDlgType

@TMsgDlgButtons

@Longint

@TDlgCenterKind

@Integer

@TMsgDlgBtn

@TMsgDlgBtn

@TMsgDlgBtn

@TJvDynControlEngine
\MessageDlg replacement with additional settings.
MessageDlg

@string

@TMsgDlgType

@TMsgDlgButtons

@Longint

@TDlgCenterKind

@Integer

@TMsgDlgBtn

@TMsgDlgBtn

@TMsgDlgBtn

@TJvDynControlEngine
\MessageDlg replacement with additional settings.
MessageDlgEx

@string

@string

@TGraphic

@array of string

@array of Integer

@Longint

@TDlgCenterKind

@Integer

@Integer

@Integer

@Integer

@TJvDynControlEngine
\MessageDlg extension with additional settings.
MessageDlgEx

@string

@string

@TMsgDlgType

@array of string

@array of Integer

@Longint

@TDlgCenterKind

@Integer

@Integer

@Integer

@Integer

@TJvDynControlEngine
\MessageDlg extension with additional settings.
MessageDlgEx

@string

@TMsgDlgType

@array of string

@array of Integer

@Longint

@TDlgCenterKind

@Integer

@Integer

@Integer

@Integer

@TJvDynControlEngine
\MessageDlg extension with additional settings.
RegisterDSA Register a DSA dialog.
RegisterDSACheckMarkText Register a check mark text.
SetDSAState Sets DSA state.
SetDSATimeFormatter Write here a summary (1 line)
ShowMessage Display a message box.
ShowMessageFmt Display a message box.
StandardDSATimeFormatter Write here a summary (1 line)
TDlgCenterKind Type to indicate the way a dialog should be centered.
TDlgCenterKind.dckActiveForm Center the dialog on the active form.
TDlgCenterKind.dckMainForm Center the dialog on the main form.
TDlgCenterKind.dckScreen Center the dialog on the screen.
TDSAAppStorage Write here a summary (1 line)
TDSAAppStorage.AppStorage Write here a summary (1 line)
TDSAAppStorage.AppStoragePath Write here a summary (1 line)
TDSACheckTextKind ID of check mark text.
TDSARegItem Type used to hold DSA registration information.
TDSARegItem.ChkTextKind The ID of the check mark text to use.
TDSARegItem.Description The description of the dialog, useful for dialogs for restoring DSA states.
TDSARegItem.ID The dialog ID number.
TDSARegItem.Name The identifying name of the dialog.
TDSARegItem.Storage The storage device that holds the DSA state and values.
TDSARegStorage Registry storage device for DSA state and values.
TDSARegStorage.Create Instantiate and initialize a registry storage device.
TDSARegStorage.Key Key path where the info should be stored.
TDSARegStorage.RootKey Root key for the registry storage.
TDSAStorage Abstract storage device for DSA state and values.
TDSAStorage.CheckMarkTextSuffix Suffix of the check mark caption.
TDSAStorage.GetCheckMarkTextSuffix Retrieve the string to append to the check mark text.
TDSAStorage.GetState Retrieve the current state and result code of the DSA dialog.
TDSAStorage.ReadBool Write here a summary (1 line)
TDSAStorage.ReadBoolDef Write here a summary (1 line)
TDSAStorage.ReadFloat Write here a summary (1 line)
TDSAStorage.ReadFloatDef Write here a summary (1 line)
TDSAStorage.ReadInt64 Write here a summary (1 line)
TDSAStorage.ReadInt64Def Write here a summary (1 line)
TDSAStorage.ReadInteger Write here a summary (1 line)
TDSAStorage.ReadIntegerDef Write here a summary (1 line)
TDSAStorage.ReadString Write here a summary (1 line)
TDSAStorage.ReadStringDef Write here a summary (1 line)
TDSAStorage.SetCheckMarkTextSuffix Set the string to append to the check mark text.
TDSAStorage.SetState Sets the current state and result code of the DSA dialog.
TDSAStorage.WriteBool Write here a summary (1 line)
TDSAStorage.WriteFloat Write here a summary (1 line)
TDSAStorage.WriteInt64 Write here a summary (1 line)
TDSAStorage.WriteInteger Write here a summary (1 line)
TDSAStorage.WriteString Write here a summary (1 line)
TJvDSAAutoCloseEvent Write here a summary (1 line)
TJvDSADataEvent The type for event handlers that respond when the DSA state is read from or written to the DSA storage.
TJvDSADialog Converts a form into a "Don't Show Again" dialog.
TJvDSADialog.ApplySavedState Applies the saved state of the dialog.
TJvDSADialog.CancelCountdown Write here a summary (1 line)
TJvDSADialog.CheckControl Reference to the control to use as a DSA state setter.
TJvDSADialog.DialogID Indicates the dialog's ID in the DSA system.
TJvDSADialog.FormPatch Patches the form for DSA usage.
TJvDSADialog.FormUnPatch Unpatches the form for DSA usage.
TJvDSADialog.GetDSAStateInternal Retrieves the DSA state for the dialog.
TJvDSADialog.GetModalResult Retrieves the ModalResult from the owner form.
TJvDSADialog.GetOrgOwner Retrieves the owner of the component.
TJvDSADialog.GetOrgShowModalPtr Retrieves the original ShowModal code pointer.
TJvDSADialog.GetStorage Retrieves a reference to storage device for this dialog.
TJvDSADialog.IgnoreDSAChkMrkTxt Write here a summary (1 line)
TJvDSADialog.IsDSAChecked Checks if the DSA state has been set to "suppress".
TJvDSADialog.OnApplyKeys Occurs when the DSA state is read in from the DSA storage.
TJvDSADialog.OnAutoClose Write here a summary (1 line)
TJvDSADialog.OnCountdown Write here a summary (1 line)
TJvDSADialog.OnUpdateKeys Occurs when the DSA state is written to the DSA storage.
TJvDSADialog.OrgOwner References the owner of the component.
TJvDSADialog.OrgShowModalPtr Holds the original ShowModal code pointer.
TJvDSADialog.SecondsLeft Write here a summary (1 line)
TJvDSADialog.Storage Reference to storage device for this dialog.
TJvDSADialog.Timeout Write here a summary (1 line)
TJvDSADialog.UpdateDSAState Stores the DSA state in the DSA storage.
TJvDSATimeFormatter Write here a summary (1 line)
UnregisterDSA Remove a DSA dialog from the system.
UnregisterDSACheckMarkText Unregister a check mark text.

Copyright (c) 2004 by the JVCL Team; all rights reserved
Uses PclZip by phpconcept and parts of the PEAR library