Returns or sets a string displayed in the title bar of the dialog box.
object.DialogTitle [= title]
The parts of the DialogTitle property syntax are described in the following table.
Part | Description |
---|---|
object | An object expression that evaluates to an object. |
title | A string expression specifying the name of the dialog box. |
Use this property to display the name of the dialog box in the title bar.
Note The CommonDialog control ignores the setting of the DialogTitle property when displaying the Color, Font, or Print dialog boxes.
The default title for an Open dialog box is Open; the default title for a Save As dialog box is Save As.
String