单选题 VB
题号 #484367

设窗体上有一个列表框控件List1,且其中含有若干列表项。则以下能表示当前被选中的列表项内容的是(  )

进入在线模考

参考答案

D

答案解析

列表框的Text属性的值为最后一次选中的列表项的文本。所以,答案是D。

你可能感兴趣的试题

A.Private Sub List1_Click()
Label 1.Caption=List1.ListIndex
End Sub
B.Private Sub List1_Clicd()
Label1.Name=List1.ListIndex
End Sub
C.Private Sub Listl_Click()
Label1.Name=List1.Text
End Sub
D.Private Sub List 1 Click()
Label 1.Caption=List 1.Text
End Sub
找试题 · 找答案 · 找资料 在线模考