在窗体上画一个Text1文本框和一个CD1通用对话框控件,并编写下面程序:Private Sub Command1_Click() CD1.Flags = 1 Or 256 CD1.Action = 4 If CD1.Color >= 0 Then Text1.ForeColor = CD1.Color End IfEnd Sub运行程序并单击命令按钮,下面叙述中正确的是
A. 弹出的是颜色对话框
B. 弹出的是打开文件对话框
C. 把代码 CD1.Action = 4 改为 CD1.ShowColor 效果是一样的
D. 在弹出的对话框中选了一个颜色并单击"确定" 按钮后,会改变文本框中文本的颜色
查看答案
在窗体上画Text1、Text2两个文本框,并编写如下程序:Private Sub Form_Load() Text2.PasswordChar = "$"End SubPrivate Sub Text1_Change() Text2.Text = Text1.TextEnd Sub运行程序,在Text1文本框中输入"ABCDEFG",则产生的结果是
A. 在Text2中同步显示与Text1同样内容
B. 在Text2中同步显示"abcdefg"
C. 在Text2中同步显示与Text1中字符数量相同的"$"
D. 在Text1中显示"$",而在Text2中不显示任何内容
Questions 12 to 15 are based on the conversation you have just heard.
A. She is going to attend a public meeting at the town hall.
B. She has to meet Prof Jackson at the town hall.
C. She has been invited to make a report at a meeting.
D. She has to get ready for tomorrow"s test at home.
下面关于单选按钮和复选框的叙述中正确的是
A. 单选按钮被选中则它的Value属性为True;复选框被选中则它的Value属性为True
B. 单选按钮被选中则它的Value属性为1;复选框被选中则它的Value属性为1
C. 单选按钮被选中则它的Value属性为True;复选框被选中则它的Value属性为2
D. 单选按钮被选中则它的Value属性为True;复选框被选中则它的Value属性为1
下面不响应键盘事件的对象是
A. 窗体
B. 按钮
C. 复选框
D. 标签