要把名称为List1的列表框中当前选中的一项删除,应执行以下语句中的 ______。A.List1.CIearB.List1
要把名称为List1的列表框中当前选中的一项删除,应执行以下语句中的 ______。
A.List1.CIear
B.List1.Delete List1. ListIndex
C.List1.ClearList1.ListIndex
D.List1.List1.Remove ListIndex
要把名称为List1的列表框中当前选中的一项删除,应执行以下语句中的 ______。
A.List1.CIear
B.List1.Delete List1. ListIndex
C.List1.ClearList1.ListIndex
D.List1.List1.Remove ListIndex
第1题
A.Private Sub Command1 Click() List1,Clear End Sub
B.Private Sub Command1 Click() List1.Clear List1.ListIndex End Sub
C.Private Sub Command1 Click() List1 Removeltem List1.ListIndex End Sub
D.Private Sub Command1 Click() List1.Removeltem End Sub
第2题
如果在列表框List1中没有选中项目,则List1.List.Index的值为
A.-1
B.0
C.1
D.2
第3题
A.x=List1.ListCount
B.x=ListCount
C.x=List1.ListIndex
D.x=ListIndex
第4题
A.List1.RemoveItem List1.ListCount
B.List1.Clear
C.List1.List(List1.ListCount-1)= ""
D.List1.RemoveItem List1.ListCount-1
第5题
A.Private Sub List1_Click() Label1.Caption=List1.ListIndex End Sub
B.Private Sub List1_Click() Label1.Name=List1.ListIndex End Sub
C.Private Sub List1_Click() Label1.Name=List1.Text End Sub
D.Private Sub List1_Click() Label1.Caption=List1.Text End Sub
第6题
ommand1 按钮,就删除选中的项,则正确的事件过程是
A)Private Sub Command1_Click()
List1.Clear
End Sub
B) Private Sub Command1_Click()
List1.Clear List1.ListIndex
End Sub
C) Private Sub Command1_Click()
List1.Removeltem List1.ListIndex
End Sub
D) Private Sub Command1_Click()
List1.Removeltem
End Sub
第7题
A.Private Sub List1_Click() Labell.Caption=List1.ListIndex End Sub
B.Private Sub List1_Click() Labell.Name=List1.ListIndex End Sub
C.Private Sub List1_Click() Labell.Name=List1.Text End Sub
D.Private Sub List1_Click() Labell. Caption=List1.Text End Sub
第8题
A.List1. List
B.List1. ListIndex
C.List1. Index
D.List1. Text
第9题
()。
A)List1.List
B)List1.ListIndex
C)List1.Text
D)List1.Index