Help with VBAccelerator TreeView
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: Help with VBAccelerator TreeView

  1. #1
    Join Date
    Nov 2011
    Posts
    6

    Help with VBAccelerator TreeView

    I'm trying to select a specific node in code, I have somehow managed to locate the node in software, through a series of sorts, but have not determined how to highlite the selected node on my screen so it displays as if I selected it with a mouse click. Ideally, I'd like to deselect an original, or prior, selection made either by software or mouse click, and have the new node displayed as selected, this as I said, under software control.

  2. #2
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,948

    Re: Help with VBAccelerator TreeView

    Might want to contact the person that WROTE the software. Might be the reason it isn't supported, though
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jul 2006
    Location
    Germany
    Posts
    3,722

    Re: Help with VBAccelerator TreeView

    The nodes in the standard VB TreeView control have a property .Selected you'd set to true like:
    tvTree.Nodes(n).Selected = True
    or if you have a reference to the node in a variable nod then you go:
    nod.Selected = True

    I'd suppose the VBAcc Tree nodes should have a similar feature.

  4. #4
    Join Date
    Nov 2011
    Posts
    6

    Re: Help with VBAccelerator TreeView

    WoF Thanks for the assistance. Feel foolish for such an obvious answer, but on the other hand, I now have the solution. I have taken your tip and used same argument to expand a node. See, I didn't need to ask a second time!

    Again, thanks!

  5. #5
    Join Date
    Jul 2006
    Location
    Germany
    Posts
    3,722

    Re: Help with VBAccelerator TreeView

    You're welcome.

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center