作者weimax (威威)
看板Visual_Basic
标题[.NET] 如何侦测listbox内是否有项目?
时间Sat May 3 13:22:41 2008
请问listbox可以侦测是否为空值吗?
比如:
if listbox.item = null Then
msgbox("listbox现在没东西")
end if
程式是我乱打的 不过意思应该各位都看的懂...
谢谢:)
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.57.128.92
1F:→ O2000:listBox.Items.Count 05/03 13:25
2F:→ weimax:谢谢:) 05/03 13:43
3F:推 lamda:if listbox.items.count=0 then ...... 05/03 23:40