Listbox function and property setting list

以下整理所有listbox會使用到的語法功能

1.listbox總共有幾筆值

LISTBOX.items.count

2.滑鼠選的東西是在的listbox第幾筆

 

thi3...s.ListBox1.SelectedIndex

3.listbox上的文字

listbox.items(0).toString

SetupList選擇項目送道textbox1 事件選擇 SetupList_SelectedIndexChanged TextBox1.Text = SetupList.Items(SetupList.SelectedIndex).ToString()
arrow
arrow
    文章標籤
    listbox VB
    全站熱搜

    JL8051 發表在 痞客邦 留言(0) 人氣()