问题 单项选择题

如果要将窗体中的某个命令按钮设置成无效状态,应该动命令按钮的何种属性

A.Value

B.Visible

C.Default

D.Enabled

答案

参考答案:D

解析:【命题目的】考查考生对命令按钮属性的掌握。
【错解分析】在Visual Basic中,控制控件有效性的属性是Enabled,设置为True,则处
于有效状态,如果设置成False,则处于无效状态,所以D)是正确的;Visible属性是控制
空间可见性的,有两种值:True和False,默认情况下是True;如果将对象的Visible值设为
False,窗体和控件在设计阶段仍可见,只有运行时才隐藏,所以B)不正确;Default是决
定窗体的缺省命令的命令按钮的属性,另外,一个窗体只能有一个缺省命令按钮,所以选
项C)也不正确;Value属性在不同的控件中有不同的作用,也不是本题的答案。

阅读理解

About seven years ago, whenever I notice someone looked nice, I started telling them they looked nice. Shortly afterwards, I came up with an observation: If you tell five people during the day that they look nice, at the end of the day, six people feel great. Here are some fruitful experiences I have with this.

One day, I was riding with a friend when we rolled to a stop at the traffic light. As we waited for the light to turn green, a man walked across the crosswalk. He looked very together, so I called out, “Hey, you look sharp today!” Pointing towards a building, he said, “Thanks, but I was sharper there.” His comment puzzled me. But before I could ask about it, the light turned green, and we drove on. I asked my friend what he meant. My friend informed me that we were at the corner of a radio station and the man was the voice on the radio. Then I understood. But no matter who he was the biggest thing for me was that he was smiling when he accepted my compliment (赞扬).

Later that day, there was a woman standing on the corner where we were turning, and I yelled (大喊) the compliment again, “You look nice!” She was just taking a sip of a bottle of water and started to laugh. I felt good to get a laugh.

Another day, while seated in a restaurant, there was a lady sitting near me. I really did not care for her skirt, but she did look nice in it, so I told her, “You look nice today.” She looked at me and rolled her eyes a little. Well, her friend sitting next to her told her, “He just gave you a compliment. Say thank you.” I don’t remember whether she said “thank you” or not, but what I did notice was that her friend was smiling at my “You look nice today” compliment.

小题1:The underlined word “sharp” in Paragraph 2 probably means_________.

A.attractive

B.sudden

C.strict

D.mild小题2:Which of the following statements is NOT true according to the passage?

A.The first man the author praised accepted his compliment.

B.The first man the author praised worked at a radio station.

C.The woman standing on the corner didn’t like the compliment

D.The friend of the lady in the restaurant felt happy about the compliment.小题3:What would be the best title of the passage?

A.Fruitful Experiences

B.Help Others, Help Yourself

C.Learn to compliment.

D.“You Look Nice Today”

单项选择题