Returns or sets the string displayed in the title bar of the dialog box.
Object.DialogTitle [ = sDialogTitle ]
The DialogTitle property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
ACommonDialog |
ACommonDialog control |
|
sDialogTitle |
BString |
The string displayed in the title bar of the dialog box. |
The default title for an Open dialog box is Open; the default title for a Save As dialog box is Save As.
Note: The ACommonDialog control ignores the setting of the DialogTitle property when displaying the Color, Font, or Print dialog boxes.
The following example will set the title bar text of the dialog box:
cdlg1.DialogTitle="Save Your Project As"
DefaultExt, FileName, FileTitle, InitialDir, SaveAsOptions, ShowSaveAs