Hello, How would i only put a image to the sub-parent, and not the parent it self?
Below a made a code which adds image by node.ImageIndex = 0, and then attempts to remove it by node.ImageIndex = Nothing.
I thought by assign the value to Nothing will work?
Code:TreeView1.CheckBoxes = True TreeView1.ImageList = ImageList1 Dim node As TreeNode Dim x As Integer For x = 0 To 1 node = TreeView1.Nodes.Add("1") node.ImageIndex = 0 Dim y As Integer For y = 1 To 4 node = node.Nodes.Add("Test") node.ImageIndex = Nothing Next Next


Reply With Quote
