假定通用对话框的名称为CommonDialogl,命令按钮的名称为Commandl,则单击命令按钮后,能使打开的对话框的标题为"New Title"的事件过程是______。A. Pdvate Sub Commandl_click() CommonDialogl.DialogTitle="New Title" CommonDialogl.ShowPrinter End SubB.Private Sub Cormnandl_click() CommonDialogl.DialogTitle="New Title" CommonDialogl.ShowFont End SubC.Private Sub Commandl_click() CommonDialogl.DialogTitle="New Title" CommonDialogl.ShowOpen End SubD.Pfivate Sub Commandl_click() CommonDialogl.DialogTitle="New Title" CommonDialogl.ShowColor End Sub
假定通用对话框的名称为CommonDialogl,命令按钮的名称为Commandl,则单击命令按钮后,能使打开的对话框的标题为"New Title"的事件过程是______。
A. Pdvate Sub Commandl_click() CommonDialogl.DialogTitle="New Title" CommonDialogl.ShowPrinter End Sub
B.Private Sub Cormnandl_click() CommonDialogl.DialogTitle="New Title" CommonDialogl.ShowFont End Sub
C.Private Sub Commandl_click() CommonDialogl.DialogTitle="New Title" CommonDialogl.ShowOpen End Sub
D.Pfivate Sub Commandl_click() CommonDialogl.DialogTitle="New Title" CommonDialogl.ShowColor End Sub
相关考题:
窗体中有·命令按钮,名称为Commandl。要求在窗体视图中单击此命令按钮后,命令按钮上面的文字变为加粗,实现该操作的VBA语句是( )。A. Commandl.FontUnderLi he--trueB. Commandl.Fontltalic=tneC. Commandl.FontBold=trueD. Commandl.FontName=true
假定通用对话框的名称为CommonDialogl,命令按钮的名称为Command1,则单击命令按钮后,能使打开的对话框的标题为“New File”的事件过程是______。A.Private Sub Command1_Click() CommonDialogl. DialoqTitle="New File" CommonDialogl. ShowPrinter End SubB.Private Sub ComJRandl_Click() CommonDialogl. DialogTitle="New File" CommonDialogl. ShowFont End SubC.Private Sub Command1_Click() CommonDialogl. DialogTitle="New File" CommonDialogl. ShowOpen End SubD.Private Sub Command1_Click() CommonDialogl. DialogTitle="New File" CommonDialogl. ShowColor End Sub
在窗体中添加一个命令按钮,名称为Commandl,然后编写如下程序:窗体打开运行后,单击命令按钮,则消息框的输出结果为__________。