troubleshooting Question

What is equivalent to 'small icon' in vb.net for listview

Avatar of anusdesai
anusdesai asked on
.NET ProgrammingEditors IDEs
2 Comments1 Solution1338 ViewsLast Modified:
Hi,

What is equivalent to small icon in vb.net for listview

Private Sub ListControls_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles ListControls.Click
            'don't try this in ItemClick procedure; tick/untick don't work
            On Error Resume Next
            With ListControls.FocusedItem
                  If Not .Selected Then Exit Sub
                  
                  SaveRunSettings = True
                                    If .SmallIcon = 1 Then
                                                .SmallIcon = 0 'UNTICK
                  Else
                                                .SmallIcon = 1 'TICK
                  End If
                  ListControls.Visible = False
                  ListControls.Visible = True
            End With
      End Sub

I get error at '.SmallIcon '
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros