[VB6 ] listindex問題

看板Visual_Basic作者 (書仔)時間18年前 (2007/12/18 23:44), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/1
For i = 0 To 255 List1.AddItem i Next i If List1.ListIndex = -1 Then List1SEL = 0 Else List1SEL = List1.ListIndex End If Text1.Text=List1SEL 請問這樣寫為什麼.....text1無法顯示List1所選到的值? 下面這樣寫.....就可以..... Combo1.AddItem "a" Combo1.AddItem "b" If Combo1.ListIndex = -1 Then combo1SEL = 0 Else combo1SEL = Combo1.ListIndex End If text1.text=combo1sel -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 123.195.0.12

12/19 09:12, , 1F
觸發事件?
12/19 09:12, 1F
文章代碼(AID): #17P-hUkj (Visual_Basic)