当你沉睡时编剧:如何使用ListBox 控件
来源:百度文库 编辑:高校问答 时间:2024/10/03 17:05:19
将ListBox1中所选的项如何移动到ListBox2中?bcb编程
Dim j As Integer
For j = 0 To List1.ListCount - 1
If List1.Selected(j) = True Then
List2.AddItem List1.List(j)
End If
Next
高校问答是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:高校问答 时间:2024/10/03 17:05:19
Dim j As Integer
For j = 0 To List1.ListCount - 1
If List1.Selected(j) = True Then
List2.AddItem List1.List(j)
End If
Next