以下事件过程可以将打开的对话框的标题改为“宇宙大爆炸”的是
A: Private Sub Command2_Click( ) CommonDialog1.DialogTitle=“宇宙大爆炸” CommonDialog1.ShowOpen End Sub
B: Private Sub Command2_Click( ) CommonDialog1.DialoTitle=“宇宙大爆炸” CommonDialog1.ShowFont End Sub
C: Private Sub Command2_Click( ) CommonDialog1.DilogTitle=“宇宙大爆炸” CommonDialog1.Show End Sub
D: Private Sub Command2_Click( ) CommonDialog1.DialogTitle=“宇宙大爆炸” CommonDialog1.ShowColor End Sub
A: Private Sub Command2_Click( ) CommonDialog1.DialogTitle=“宇宙大爆炸” CommonDialog1.ShowOpen End Sub
B: Private Sub Command2_Click( ) CommonDialog1.DialoTitle=“宇宙大爆炸” CommonDialog1.ShowFont End Sub
C: Private Sub Command2_Click( ) CommonDialog1.DilogTitle=“宇宙大爆炸” CommonDialog1.Show End Sub
D: Private Sub Command2_Click( ) CommonDialog1.DialogTitle=“宇宙大爆炸” CommonDialog1.ShowColor End Sub
举一反三
- 假定通用对话框的名称为CommonDialogl,命令按钮的名称为Command1,则单击命令按钮后,能使打开的对话框的标题为“New File”的事件过程是______。 A: Private Sub Command1_Click() CommonDialog DialoqTitle="New File" CommonDialog ShowPrinter End Sub B: Private Sub ComJRandl_Click() CommonDialog DialogTitle="New File" CommonDialog ShowFont End Sub C: Private Sub Command1_Click() CommonDialog DialogTitle="New File" CommonDialog ShowOpen End Sub D: Private Sub Command1_Click() CommonDialog DialogTitle="New File" CommonDialog ShowColor End Sub
- 下列( )事件过程可以将打开文件对话框的标题改变为“new Caption”。 A: Private Sub Command1_CliCk() CommonDialog1.DialogTitle="new Caption" CommonDialog1.ShowFont End Sub B: Private Sub Command1_Click() CommonDialog1.DialogTitle="new Caption" CommonDialog1.ShowOpen End Sub C: Private Sub Command1_Click() CommonDialog1.DialogTitle="new Caption" CommonDialog1.Show Help End Sub D: Private Sub Command1_Click() CommonDialog1.DialogTitle="new Caption" CommonDialog1.ShowColor End Sub
- 假定通用对话框的名称为CommonDialog1,命令按钮的名称为Command1,则单击命令按钮后,能使打开的对话框的标题为“New Title”的事件过程是( )。 A: Private Sub Command1_Click() B: CommonDialog1.DialogTitle="New Title" C: CommonDialog 1.ShowPrinter D: End Sub E: Private Sub Command1_Click() F: CommonDialog1.DialogTitle="New Title" G: CommonDialog1.ShowFont H: End Sub I: Private Sub Command1_Click() J: CommonDialog1.DialogTitle="New Title" K: CommonDialog1.ShowOpen L: End Sub M: Private Sub Command1.Click() N: CommonDialog1.DialogTitle="New Title" O: CommonDialog1.ShowColor P: End Sub
- 下列( )事件过程可以将打开文件对话框的标题改变为“new Caption”。 A: Private Sub Command1_Click() B: CommonDialog1.DialogTitle="new Caption" C: CommonDialog1.ShowFont D: End Sub E: Private Sub Command1_Click() F: CommonDialog1.DialogTitle="new Caption" G: CommonDialog1.ShowOpen H: End Sub I: Private Sub Command1_Click() J: CommonDialog1.DialogTitle="new Caption" K: CommonDialog1.ShowHelp L: End Sub M: Private Sub Command1_Click() N: CommonDialog1.DialogTitle="new Caption" O: CommonDialog1.ShowColor P: End Sub
- 已知两个窗体Form1、Form2,下列事件过程中,______ 可以实现单击窗体Form1的命令按钮时,显示窗体Form2,而窗体Form1消失。 A: Private Sub Command1_ Click() LoadForm2 Form1. Hide End Sub B: Private Sub Command1_ Click() Show Form2 Form1. Hide EndSub C: Private Sub Command1_ click() Show Form2 Form1. Hide End Sub D: Private Sub Command1_ click()