|
-
August 2nd, 1999, 12:49 PM
#1
List Box
I need to be able to filter a listbox for check box that are marked. Then expand back again. Anybody have any code to do this??
-
August 2nd, 1999, 03:26 PM
#2
Re: List Box Filter based on Checked
Just wanted to change the subject name for this one
-
August 2nd, 1999, 10:18 PM
#3
Re: List Box
Look for Selected property.
with something like this
for ii = 0 to List1.Count -1
if list1.Selected(ii) = true then
' if you have Check boxes style, it will automatically be
' multiple select.
index ii is selected.
end if
next ii
For filtering i would go for 2 list boxes. Have all the original strings in one and then copy all the selected strings into other and display at the same place!. A small flicker would be there, hope it is not annoying!!
Or you can maintain your own list of strings selected/all and add to the list box.
Ravi Kiran
Life is a comedy for those who think and a tragedy for those who feel
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|