Unit Dialogs

BeschreibungusesKlassen, Schnittstellen und ObjekteFunktionen und ProzedurenTypenKonstantenVariablen

Beschreibung

 

uses

Übersicht

Klassen, Schnittstellen und Objekte

Name Beschreibung
Klasse TCommonDialog  
Klasse TFileDialog  
Klasse TOpenDialog  
Klasse TSaveDialog  
Klasse TSelectDirectoryDialog  
Klasse TColorDialog  
Klasse TColorButton  
Klasse TFontDialog  
Klasse TFindDialog  
Klasse TReplaceDialog  
Klasse TCustomPrinterSetupDialog  
Klasse TCustomPrintDialog  

Funktionen und Prozeduren

function MessageDlg(const aMsg: string; DlgType: TMsgDlgType; Buttons: TMsgDlgButtons; HelpCtx: Longint): Integer;
function MessageDlg(const aCaption, aMsg: string; DlgType: TMsgDlgType; Buttons: TMsgDlgButtons; HelpCtx: Longint): Integer;
function MessageDlg(const aCaption, aMsg: string; DlgType: TMsgDlgType; Buttons: TMsgDlgButtons; const HelpKeyword: string): Integer;
function MessageDlgPos(const aMsg: string; DlgType: TMsgDlgType; Buttons: TMsgDlgButtons; HelpCtx: Longint; X, Y: Integer): Integer;
function MessageDlgPosHelp(const aMsg: string; DlgType: TMsgDlgType; Buttons: TMsgDlgButtons; HelpCtx: Longint; X, Y: Integer; const HelpFileName: string): Integer;
function QuestionDlg(const aCaption, aMsg: string; DlgType: TMsgDlgType; Buttons: array of const; HelpCtx: Longint): TModalResult;
function QuestionDlg(const aCaption, aMsg: string; DlgType: TMsgDlgType; Buttons: array of const; const HelpKeyword: string): TModalResult;
procedure ShowMessage(const aMsg: string);
procedure ShowMessageFmt(const aMsg: string; Params: array of const);
procedure ShowMessagePos(const aMsg: string; X, Y: Integer);
Function InputQuery(const ACaption, APrompt : String; MaskInput : Boolean; var Value : String) : Boolean;
Function InputQuery(const ACaption, APrompt : String; var Value : String) : Boolean;
Function InputBox(const ACaption, APrompt, ADefault : String) : String;
Function PasswordBox(const ACaption, APrompt : String) : String;
function SelectDirectory(const Caption, InitialDirectory: string; var Directory: string): boolean;
function SelectDirectory(const Caption, InitialDirectory: string; var Directory: string; ShowHidden: boolean; HelpCtx: Longint = 0): boolean;
function SelectDirectory(var Directory: string; Options: TSelectDirOpts; HelpCtx: Longint): Boolean;
procedure Register;

Typen

TMsgDlgType = (...);
TMsgDlgBtn = (...);
TMsgDlgButtons = set of TMsgDlgBtn;
TOpenOption = (...);
TOpenOptions = set of TOpenOption;
TFontDialogOption = (...);
TFontDialogOptions = set of TFontDialogOption;
TFindOption = (...);
TFindOptions = set of TFindOption;
TPrintRange = (...);
TPrintDialogOption = (...);
TPrintDialogOptions = set of TPrintDialogOption;
TSelectDirOpt = (...);
TSelectDirOpts = set of TSelectDirOpt;

Konstanten

mbYesNoCancel = [mbYes, mbNo, mbCancel];
mbYesNo = [mbYes, mbNo];
mbOKCancel = [mbOK, mbCancel];
mbAbortRetryIgnore = [mbAbort, mbRetry, mbIgnore];
MsgDlgBtnToBitBtnKind: array[TMsgDlgBtn] of TBitBtnKind = ( bkYes, bkNo, bkOK, bkCancel, bkAbort, bkRetry, bkIgnore, bkAll, bkNoToAll, bkYesToAll, bkHelp, bkClose );
BitBtnKindToMsgDlgBtn: array[TBitBtnKind] of TMsgDlgBtn = ( mbOk, mbOK, mbCancel, mbHelp, mbYes, mbNo, mbClose, mbAbort, mbRetry, mbIgnore, mbAll, mbNoToALl, mbYesToAll );
DefaultOpenDialogOptions = [ofEnableSizing, ofViewDetail];

Variablen

MinimumDialogButtonWidth: integer = 90;
MinimumDialogButtonHeight: integer = 25;

Beschreibung

Funktionen und Prozeduren

function MessageDlg(const aMsg: string; DlgType: TMsgDlgType; Buttons: TMsgDlgButtons; HelpCtx: Longint): Integer;
 
function MessageDlg(const aCaption, aMsg: string; DlgType: TMsgDlgType; Buttons: TMsgDlgButtons; HelpCtx: Longint): Integer;
 
function MessageDlg(const aCaption, aMsg: string; DlgType: TMsgDlgType; Buttons: TMsgDlgButtons; const HelpKeyword: string): Integer;
 
function MessageDlgPos(const aMsg: string; DlgType: TMsgDlgType; Buttons: TMsgDlgButtons; HelpCtx: Longint; X, Y: Integer): Integer;
 
function MessageDlgPosHelp(const aMsg: string; DlgType: TMsgDlgType; Buttons: TMsgDlgButtons; HelpCtx: Longint; X, Y: Integer; const HelpFileName: string): Integer;
 
function QuestionDlg(const aCaption, aMsg: string; DlgType: TMsgDlgType; Buttons: array of const; HelpCtx: Longint): TModalResult;
 
function QuestionDlg(const aCaption, aMsg: string; DlgType: TMsgDlgType; Buttons: array of const; const HelpKeyword: string): TModalResult;
 
procedure ShowMessage(const aMsg: string);
 
procedure ShowMessageFmt(const aMsg: string; Params: array of const);
 
procedure ShowMessagePos(const aMsg: string; X, Y: Integer);
 
Function InputQuery(const ACaption, APrompt : String; MaskInput : Boolean; var Value : String) : Boolean;
 
Function InputQuery(const ACaption, APrompt : String; var Value : String) : Boolean;
 
Function InputBox(const ACaption, APrompt, ADefault : String) : String;
 
Function PasswordBox(const ACaption, APrompt : String) : String;
 
function SelectDirectory(const Caption, InitialDirectory: string; var Directory: string): boolean;
 
function SelectDirectory(const Caption, InitialDirectory: string; var Directory: string; ShowHidden: boolean; HelpCtx: Longint = 0): boolean;
 
function SelectDirectory(var Directory: string; Options: TSelectDirOpts; HelpCtx: Longint): Boolean;
 
procedure Register;
 

Typen

TMsgDlgType = (...);
 
Values
  • mtWarning:
  • mtError:
  • mtInformation:
  • mtConfirmation:
  • mtCustom:
TMsgDlgBtn = (...);
 
Values
  • mbYes:
  • mbNo:
  • mbOK:
  • mbCancel:
  • mbAbort:
  • mbRetry:
  • mbIgnore:
  • mbAll:
  • mbNoToAll:
  • mbYesToAll:
  • mbHelp:
  • mbClose:
TMsgDlgButtons = set of TMsgDlgBtn;
 
TOpenOption = (...);
 
Values
  • ofReadOnly:
  • ofOverwritePrompt:
  • ofHideReadOnly:
  • ofNoChangeDir:
  • ofShowHelp:
  • ofNoValidate:
  • ofAllowMultiSelect:
  • ofExtensionDifferent:
  • ofPathMustExist:
  • ofFileMustExist:
  • ofCreatePrompt:
  • ofShareAware:
  • ofNoReadOnlyReturn:
  • ofNoTestFileCreate:
  • ofNoNetworkButton:
  • ofNoLongNames:
  • ofOldStyleDialog:
  • ofNoDereferenceLinks:
  • ofEnableIncludeNotify:
  • ofEnableSizing:
  • ofDontAddToRecent:
  • ofForceShowHidden:
  • ofViewDetail:
  • ofAutoPreview:
TOpenOptions = set of TOpenOption;
 
TFontDialogOption = (...);
 
Values
  • fdAnsiOnly:
  • fdTrueTypeOnly:
  • fdEffects:
  • fdFixedPitchOnly:
  • fdForceFontExist:
  • fdNoFaceSel:
  • fdNoOEMFonts:
  • fdNoSimulations:
  • fdNoSizeSel:
  • fdNoStyleSel:
  • fdNoVectorFonts:
  • fdShowHelp:
  • fdWysiwyg:
  • fdLimitSize:
  • fdScalableOnly:
  • fdApplyButton:
TFontDialogOptions = set of TFontDialogOption;
 
TFindOption = (...);
 
Values
  • frDown:
  • frFindNext:
  • frHideMatchCase:
  • frHideWholeWord:
  • frHideUpDown:
  • frMatchCase:
  • frDisableMatchCase:
  • frDisableUpDown:
  • frDisableWholeWord:
  • frReplace:
  • frReplaceAll:
  • frWholeWord:
  • frShowHelp:
TFindOptions = set of TFindOption;
 
TPrintRange = (...);
 
Values
  • prAllPages:
  • prSelection:
  • prPageNums:
  • prCurrentPage:
TPrintDialogOption = (...);
 
Values
  • poPrintToFile:
  • poPageNums:
  • poSelection:
  • poWarning:
  • poHelp:
  • poDisablePrintToFile:
TPrintDialogOptions = set of TPrintDialogOption;
 
TSelectDirOpt = (...);
 
Values
  • sdAllowCreate:
  • sdPerformCreate:
  • sdPrompt:
TSelectDirOpts = set of TSelectDirOpt;
 

Konstanten

mbYesNoCancel = [mbYes, mbNo, mbCancel];
 
mbYesNo = [mbYes, mbNo];
 
mbOKCancel = [mbOK, mbCancel];
 
mbAbortRetryIgnore = [mbAbort, mbRetry, mbIgnore];
 
MsgDlgBtnToBitBtnKind: array[TMsgDlgBtn] of TBitBtnKind = ( bkYes, bkNo, bkOK, bkCancel, bkAbort, bkRetry, bkIgnore, bkAll, bkNoToAll, bkYesToAll, bkHelp, bkClose );
 
BitBtnKindToMsgDlgBtn: array[TBitBtnKind] of TMsgDlgBtn = ( mbOk, mbOK, mbCancel, mbHelp, mbYes, mbNo, mbClose, mbAbort, mbRetry, mbIgnore, mbAll, mbNoToALl, mbYesToAll );
 
DefaultOpenDialogOptions = [ofEnableSizing, ofViewDetail];
 

Variablen

MinimumDialogButtonWidth: integer = 90;
 
MinimumDialogButtonHeight: integer = 25;
 

Erstellt mit PasDoc 0.10.0 am 2007-03-27 23:02:55