Share via


Visual Basic: CommonDialog Control

DialogTitle Property

See Also   Example   Applies To

Returns or sets the string displayed in the title bar of the dialog box.

Syntax

object**.DialogTitle** [= title]

The DialogTitle property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
title A string expression specifying the name of the dialog box.

Remarks

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.

Data Type

String