问题 填空题

在窗体上有一个名称为Labell的标签和一个名称List1的列表框。程序运行后,在列表框中添加若干列表项。当双击列表框中的某个项目时,在标签Label中显示所选中的项目,如右图所示。请在空白处填入适当的内容,将程序补充完整。
Private Sub Form_Load()
 List1.Addltem“北京”
 List1.Addltem“上海”
 List1.Addltem“河北”
End Sub
Private Sub List1_Dblclick()
 Label.Caption=______
End Sub

答案

参考答案:List1.Text

解析: 双击事件为DblClick;ListBox的Text属性返回当前列表项的文本。

填空题

Motivation is "the driving force within individuals that impels them to action." And goals are the sought-after results_____(1) motivated behavior.Motivation can be either positive or negative_____(2) direction. We may feel a driving force toward some object or condition, _____(3) a driving force away from some object or condition. For example, a person may be impelled toward a restaurant to fulfill a need, hunger, and away_____(4) an airplane to fulfill a need of safety. Some psychologists refer to positive drives_____(5) needs, wants or desires,_____(6) negative drives as fears or aversions._____ (7), though negative and positive motivational forces seem to differ dramatically_____(8) terms of physical and sometimes emotional activity, they are basically similar in_____(9) they both serve to initiate and sustain human behavior.____(10) this reason, researchers often refer _____(11) both kinds of drives or motives as needs, wants and desires.Goals, _____(12), can be either positive or negative. A positive goal is one toward_____ (13) behavior is directed and it is often referred to as an approach object. A negative goal is _____(14) from which behavior is directed away and it is sometimes referred to as an avoidance object. Since both approach and avoidance goals can be considered objectives of motivated behavior, most researchers refer to_____(15) types simply as goals. Consider this example. A middle-aged woman may wish to remain_____(16) attractive as possible. Her positive goal is to appear desirable, and_____(17) she may use a perfume advertised to make her irresistible. A negative goal may be to prevent her skin_____(18) aging, and therefore she may buy and use face creams._____(19) the former case, she uses perfume to help her achieve her positive goal — attractiveness; in the____(20) case, she uses face creams to help avoid a negative goal — wrinkled skin.

单项选择题