Dim temptext As String Dim tempurl As Integer temptext = Combo1.Text tempurl = Combo1.ListCount - 1 If temptext = tempurl And tempurl > 2 Then Combo1.RemoveItem (tempurl - 1) End If 我这样写都那错了啊???
以下是引用gulangchow83在2007-1-21 20:11:16的发言: Dim temptext As String Dim tempurl As Integer temptext = Combo1.Text tempurl = Combo1.ListCount - 1 If temptext = tempurl And tempurl > 2 Then Combo1.RemoveItem (tempurl - 1) End If 我这样写都那错了啊???