在窗体上画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. 标签
在窗体上画一个Timer1计时器控件和一个Shape1形状控件,并编写如下程序Private Sub Form_Load() Timer1.Interval = 1000 Timer1.Enabled = TrueEnd SubPrivate Sub Timer1_Timer() If Shape1.Shape = 1 Then Shape1.Shape = 3 Else Shape1.Shape = 1 End IfEnd Sub运行程序,则看到的结果是
A. 交替显示正方形和圆形,每秒交替一次
B. 交替显示矩形和椭圆形,每秒交替一次
C. 显示正方形,每秒闪烁一次
D. 显示椭圆形,每秒移动一次