假定通用对话框的名称为CD1,命令按钮的名称为Commandl,则单击命令按钮后,能使打开对话框的标题为“通用对话框”的事件过程是( )。

假定通用对话框的名称为CD1,命令按钮的名称为Commandl,则单击命令按钮后,能使打开对话框的标题为“通用对话框”的事件过程是( )。


相关考题:

窗体上有1个名称为CD1的通用对话框,1个名称为Command1的命令按钮。命令按钮的单击事件过程如下:Private Sub Command1_Click()CD1.FileName=""CD1.Filter="All Files|*.*|(*.DoCD1|*.Doc|(*.Txt)|*.txt"CD1.FilterIndex=2CD1.Action=1End Sub关于以上代码,错误的叙述是( )。A.执行以上事件过程,通用对话框被设置为“打开”文件对话框B.通用对话框的初始路径为当前路径C.通用对话框的默认文件类型为*.TxtD.以上代码不对文件执行读写操作

( 33 ) 窗体上有 1 个名称为 CD1 的通用对话框 , 1 个名称为 Command1 的命令按钮 。 命令按钮的单击事件过程如下:Private Sub Command1_Click( )CD1.FileName= “ “CD1.Filter="All Files|*.*|(*.DoC ) |*.Doc|(*.Txt)|*.txt"CD1.FilterIndex=2CD1.Action=1End Sub关于以上代码,错误的叙述是( )。A )执行以上事件过程,通用对话框被设置为 “ 打开 ” 文件对话框B )通用对话框的初始路径为当前路径C )通用对话框的默认文件类型为 *.TxtD )以上代码不对文件执行读写操作

窗体上有1个过程为CD1的通用对话框,1个名称为Command1晌命令按钮。命令按钮的单击事件过程 如下: Private Sub Command1_Click() CD1.FileName=" " CD1.Filter="All Files|*.*|(*.DoC)|*.Doc|(*.Txt)|*.Txt" CD1.FilterIndex=2 CD1.Action=1 End Sub 关于以上代码,错误的叙述是______。A.执行以上事件过程,通用对话框被设置为“打开”文件对话框B.通用对话框的初始路径为当前路径C.通用对话框的默认文件类型为*.TxtD.以上代码不对文件执行操作

假定通用对话框的名称为CommonDialog1,命令按钮的名称为Command1,则单击命令按钮后,能使打开的对话框的标题为“New Title”的事件过程是( )。A.Private Sub Command1_Click()CommonDialog1.DialogTitle = "New Title"CommonDialog1.ShowPrinterEnd SubB.Private Sub Command1_Click()CommonDialog1.DialogTitle = "New Title"CommonDialog1.ShowFontEnd SubC.Private Sub Command1_Click()CommonDialog1.DialogTitle = "New Title"CommonDialog1.ShowOpenEnd SubD.Private Sub Command1_Click()CommonDialog1.DialogTitle = "New Title"CommonDialog1.ShowColorEnd Sub

窗体上有一个名称为CD1的通用对话框控件和由四个命令按钮组成的控件数组Command1,其下标从左到右分别为0、1、2、3,窗体外观如下图所示。命令按钮的事件过程如下: Private Sub Command1_Click(Index As Integer) Select Case Index Case 0 CD1.Action=1 Case 1 CD1.ShowSave Case 2 CD1.Action=5 Case 3 End End Select End Sub 对上述程序,下列叙述中错误的是( )。A.单击“打开”按钮,显示打开文件的对话框B.单击“保存”按钮,显示保存文件的对话框C.单击“打印”按钮,能够设置打印选项,并执行打印操作D.单击“退出”按钮,结束程序的运行

在窗体上有一个名称为CD1的通用对话框和一个名称为Comrnand1的命令按钮。要求单击命令按钮时,打开一个保存文件的通用对话框。该窗口的标题为“保存”,缺省文件名为“ABC”, 在“文件类型”栏中显示*.txt。则能够满足上述要求的稗序县( )。\

假定通用对话框的名称为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,命令按钮的名称为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

假定通用对话框的名称为CommonDialog1,命令按钮的名称为Command1,则单击命令按钮后,能使打开的对话框的标题为“New Title”的事件过程是______。A.Private Sub Commandl_Click() CommonDialog1.DialogTitle="NewTitle" CommonDialog1.ShowPrinter End SubB.Private Sub Command1_Click() CommonDialog1.DialogTitle="NewTitle" CommonDialog1.ShowFont End SubC.Private Sub Commslld1_CUck() CommonDialog1.DialogTifie="NewTitle" CommonDialog1.ShowOpen End SubD.PrivateSubCommand1_Click() CommonDialog1.DialogTitle”NewTitle” CommonDialog1.ShowColor End Sub