单选题
VB
题号 #484367
设窗体上有一个列表框控件List1,且其中含有若干列表项。则以下能表示当前被选中的列表项内容的是( )
参考答案
D
答案解析
列表框的Text属性的值为最后一次选中的列表项的文本。所以,答案是D。
你可能感兴趣的试题
A.Private Sub List1_Click()
Label 1.Caption=List1.ListIndex
End Sub
Label 1.Caption=List1.ListIndex
End Sub
B.Private Sub List1_Clicd()
Label1.Name=List1.ListIndex
End Sub
Label1.Name=List1.ListIndex
End Sub
C.Private Sub Listl_Click()
Label1.Name=List1.Text
End Sub
Label1.Name=List1.Text
End Sub
D.Private Sub List 1 Click()
Label 1.Caption=List 1.Text
End Sub
Label 1.Caption=List 1.Text
End Sub
( )