[单项选择题] 下列( )事件过程可以将打开文件对话框的标题改变为“new Caption”。
A.Prirate Sub Commandl Click() CommonDialogDialogTitle="new Caption" CommonDialogShowFont End Sub
B.Private Sub Commandl+Click() CommonDialogDialogTitle="new Caption" CommonDialogShowOpen End Sub
C.Private Sub Commandl_Click() CommonDialogDialogTitle="new Caption" CommonDialogShowHelp End Sub
D.Private Sub Commandl_Click() CommonDialogDialogTitle="new Caption" CommonDialogShowColor End Sub
参考答案:
B问题解析:
可以通过DialogTitle属性设置打开文件对话框的标题,使用ShowOpen方法设置通用对话框的类型为打开文件对话框。 DialogTile属性指定对话框中标题栏的名称。“打开”对话框默认的标题是“打开”;“另存为”对话框默认的标题是“另存为”。

![[单项选择题] 下列( )事件过程可以将打开文件对话框的标题改变为“new Caption”。 [单项选择题] 下列( )事件过程可以将打开文件对话框的标题改变为“new Caption”。](http://www.mshxw.com/aiimages/31/259537.png)
