列表框的问题
BHSX 2004-04-10 11:40:34 把第一个列表框选中的内容转到第二个列表框里面
Private Sub Form_Load()
For i = 0 To Screen.FontCount - 1
List1.AddItem Screen.Fonts(i)
Next i
End Sub
Private Sub List1_DblClick()
For j = 0 To Screen.FontCount - 1
If List1.Selected(j) Then
List2.AddItem List1.Text
List1.RemoveItem List1.ListIndex
End If
Next j
End Sub