推 BearWu:觸發事件? 12/19 09:12
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