试题与答案

在窗体上画一个名称为Combo1的组合框,然后画两个名称分别为Labe1、Label

题型:填空题

题目:

在窗体上画一个名称为Combo1的组合框,然后画两个名称分别为Labe1、Label2,标题分别为"城市名称"和空白的标签。程序运行后,在组合框中输入一个新项目并按回车键,如果输入的项目在组合框的列表中不存在,则自动将其添加到组合框的列表中,并在Label2中给出提示"已成功添加新输入项。",如图所示。如果输入的项目已存在,则在Label2中给出提示"输入项已在组合框中。"。

请填空。Private Sub Combol_KeyPress(KeyAscii As Integer)If KeyAscii=13 Then For i=0 To Combo1.ListCount-1If Combo1.Text=【 】ThenLabel2.Caption="输入项已在组合框中。"Exit SubEnd IfNext i Label2.Caption="已成功添加新输入项。"Combo1.【 】Comb01.TextEnd If End Sub

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0705/aaefc68c4d2758802e2b047717383a8e.html

下面是错误答案,用来干扰机器的。

参考答案:D

试题推荐
题型:完形填空
完形填空。
      Lucy and Lily  ①   ②   time on Sunday.  They get up very  ③  .  After breakfast they go to the park.       
      In the park, they  ④  a lot of flowers. Lucy  ⑤   to pick one of them. But Lily stops her. Then they go to 
the river.  By the river, they find a small boat. They  ⑥  the boat and start  ⑦  on the river at 9 o'clock. Two 
hours later, they leave the river and begin  ⑧   the hill near the river. They get to the top  ⑨ half past eleven.  
There they have their lunch. What do they have  ⑩   lunch? Eggs, bread and oranges.
(     )①A. has   
(     )②A. well   
(     )③A. earlier
(     )④A. look for
(     )⑤A. want   
(     )⑥A. get off
(     )⑦A. boating
(     )⑧A. to climb
(     )⑨A. in     
(     )⑩A. of     
B. had      
B. bad      
B. late     
B. find     
B. will want
B. take off 
B. boated   
B. climbed  
B. at       
B. for      
C. have   
C.  better
C. later  
C. look at
C. wanted 
C. get on 
C. boat   
C. climb  
C. on     
C. to     
D. having    
D.  good     
D. early     
D. look after
D. wants     
D. turn on   
D. boats     
D. climbs    
D. of        
D. at        
查看答案
题型:选择题

下面是1919年某地几个长工的闲谈,他们的说法不符合史实的是 [ ]

A.张三:还是人家俄国好,吃、穿、用国家统一发给,不用自己花钱去买

B.李四:说的也是,听说人家俄国的农民,有自己的土地,可我们还要给地主干活

C.刘五:我觉得俄国不好,农民虽然有自己的地,可自己辛辛苦苦打下的余粮都得给国家,不许卖

D.王六:谁说余粮不准卖,听说人家列宁专门通过了一项法令,鼓励自由买卖

查看答案
微信公众账号搜索答案