[讨论]组合框和列表框的问题
这是源码,请教两句程序问题:
Private Sub Combo1_DblClick()
List1.AddItem Combo1.Text
Combo1.RemoveItem Combo1.ListIndex 此处提示"无效的过程调用或参数"
End Sub
Private Sub Command1_Click()
Combo1_DblClick
End Sub
Private Sub Command2_Click()
List1_DblClick
End Sub
Private Sub Command3_Click()
Combo1.AddItem Combo1.Text
End Sub
Private Sub Command4_Click()
End
End Sub
Private Sub Form_Load()
Combo1.AddItem "郭东海"
Combo1.AddItem "肖宇和"
Combo1.AddItem "江春喜"
Combo1.AddItem "陈卫东"
Combo1.AddItem "姜振江"
End Sub
Private Sub List1_DblClick()
Combo1.AddItem List1.Text
List1.RemoveItem List1.ListIndex 此处提示"无效的过程调用或参数"
End Sub