|
-
June 18th, 2009, 07:49 AM
#1
[closed]
Hi, I am using window application VS2005 to write a program. The listview will only show the data that meet the criteria set in the combobox.
Is there any way to 'hide' a specific row in the listview instead of removing it? My code is shown below:
Dim abc As System.Windows.Forms.ListViewItem.ListViewSubItem
Select Case ComboBox1.SelectedIndex
Case 0
sitem = ListView1.Items(2).SubItems(3)
If ComboBox1.Text <> abc.Text Then
ListView1.Items(2).Remove() <----- I want to 'hide' instead of removing
End If
End Select
Last edited by YamMilkTea; June 19th, 2009 at 01:17 AM.
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
|