B BaKuBaKu Unregistered / Unconfirmed GUEST, unregistred user! 2000-12-07 #2 property Selected[Index: Integer]: Boolean; 可以判断每一个项目是不是被选中!
J JohnsonGuo Unregistered / Unconfirmed GUEST, unregistred user! 2000-12-07 #3 首先设置TListBox.MultiSelect = True,最好把ExtendedSelect也设置成True 然后通过Selected[Index]访问每一个数据项是否被选中
G gcq Unregistered / Unconfirmed GUEST, unregistred user! 2000-12-09 #5 for Index:=0 to ListBox1.Items.Count-1 do if ListBox1.Selected[Index] then 可以了!