Results 1 to 40 of 4215

Thread: CommonControls (Replacement of the MS common controls)

Threaded View

  1. #11
    Fanatic Member Mith's Avatar
    Join Date
    Jul 2017
    Location
    Thailand
    Posts
    545

    Missing NEXT property using the TvwNode

    Im converting old TreeView source code to the new VBCCR TreeView but i struggle with the missing NEXT property of the tree node:

    Name:  Screenshot - 06.05.2020 , 08_13_09.png
Views: 1243
Size:  6.8 KB

    Normally the NEXT property is used to loop through the node childs:

    Code:
    Set xNode = Node.Child
    
    For I = 1 To Node.Children
    
       xNode.Checked = True
       Set xNode = xNode.Next
    
    Next I
    Any ideas?

    SOLTUION:

    ok, i got it, the equivalent for the NEXT property is NextSibling...is there any reason to use another name for this property?
    Last edited by Mith; May 5th, 2020 at 08:55 PM. Reason: solution added

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width