沒有試過所有的grid不曉得是不是所有的都是這個樣子?
lostfocus好像沒有什麼作用?所以我只好把focus轉給其他控制項才能解決我的問題呀!!
純屬記錄!!
2010年5月20日 星期四
2010年5月12日 星期三
檢查LISTBOX是否被選取
dim count as integer=listbox1.sedectedindices.count
if count=0 then
內容
end if
selectedindices.count
回傳取得選取項目的個數
if count=0 then
內容
end if
selectedindices.count
回傳取得選取項目的個數
2010年5月11日 星期二
LISTBOX 小技巧
要讓資料最新的放在最上面的話
ListBox.Items.Insert(0,資料)
要讓舊資料在最上面的話
ListBox.Items.Add(資料)
只不過是個人的記錄而已,不一定每個人都適用!
ListBox.Items.Insert(0,資料)
要讓舊資料在最上面的話
ListBox.Items.Add(資料)
只不過是個人的記錄而已,不一定每個人都適用!
訂閱:
文章 (Atom)