1. L

    Treeview tristate for parent node?

    automatically select or deselect the all child nodes whenever its parent Node is selected or deselected Private Sub TreeView1_AfterCheck(sender As Object, e As TreeViewEventArgs) Handles TreeView1.AfterCheck Try e.Node.TreeView.BeginUpdate() If e.Node.Nodes.Count...
  2. L

    Button visibility when scrolling treeview

    The form has a button and a TreeView, which has 1 main node and many child nodes. Tell me how, when scrolling the TreeView, if the main node is hidden, make the button Enabled = false, if when scrolling the TreeView the main node is shown, then the button make Enbled = true
  3. L

    Question Freeze the main tree view node

    Good day! The form has a TreeView with one main and many child nodes. When scrolling in the TreeView, the main node is hidden. Tell me how to fix the main node so that it is always at the top when scrolling, and only child nodes are scrolled. Tell me if this is possible.
  4. V

    Question Read XML Schema and populate treeview

    I have several xml files all using different schemas and am trying to write a program to load an xml file, read the schema, and create the treeview with the appropriate parent/child relationships. Is it possible to make it dynamic enough to be able to read any xml schema and populate the tree...
  5. S

    Question Move Treeview Items Up and Down

    I've got a treeview populated and I have 2 buttons for UP and DOWN I'd like to use the buttons to move the selected treeview item/node up or down based on the buttons click events. (inside parent node only) I haven't been able to find anything specifically on how to do this on the net - -...
  6. VBobCat

    Question Parsing HTML content into a TreeView

    Hello people, I wrote this code in order to parse HTML elements within an HTML document into a treeview, so I can study its structure. But my iteration must have something wrong, for it doesn't recover all the elements. Could someone help me to fix it? Thank you very much! Public Sub...
  7. D

    Question Deleting Dynamically Populated Treeview Nodes using a loop

    I have a Treeview that is populated from a Sql Db. The Db table that holds the Treeview data has a column for 'id' and a column for 'parent'. The Treeview executes and populates flawlessly using a For Each loop. I want to offer Content Management for the Treeview which requires the user to be...
  8. jimirayyng

    Treeview control Images

    Hi, Can anyone help please ?? I am trying to insert spaces between Images and check boxes on a treeview node, in a windows form app i.e. checkbox (spaces) image (spaces) node text rather than default format checkbox Image node text Thanks :peaceful:
  9. S

    FolderView.Net Control 2012 released.

    LogicNP Software has released FolderView.Net 2012 which brings drop-in Windows-Explorer-like folder browser functionality to your Windows Forms apps. This UI component is a perfect replacement for the plain, inflexible, modal APIs which developers are currently limited to. It offers complete...
  10. jaseemameer

    Question treeview postback

    I have several child nodes under many parent nodes. I need to check all the child nodes just by checking the parent node. I found no postback for treeview. I got a c# code for using ajax, but its just not triggering, after converting to vb. I found an aftercheck event in vb forms. How can I...
  11. HichamDotNet

    Expand a TreeView at a specific child node

    Hi, I have a TreeView with [C:] drive folders hierarchy How can I make the TreeView expand to DESKTOP folder by code at Form Load Thank you for your help
  12. A

    Treeview Search and View Node

    This below code does work fine don't select a node but it goes through it... I debugged it .. Can I anyone help ..? Thanks In advance. Public Function TreeView_Search_InsideNode(ByVal ParentNode As TreeNode, ByVal SearchVal As String, Optional ByVal Selection As Boolean = False) As...
  13. A

    Question Treeview, when i click on a childnode?

    I need some help. Up to now i have been using a menu format to navigate through forms. Now i would like to move and use treeview. I have been able to create the nodes and child nodes. What i need to know is when i click on a childnode how will it open a specific form. It should be fixed to the...
  14. K

    "Pre edit" treeview

    I have an application where I'm allowing a user to edit the text of a treeview. If the text of node is 'sBK01 (1732DS-IB8 (8 In))' I'd like the text in the "editable" state to start as 'sBK01'. I've found a couple of references on how to do this with MsgHook, but I can't seem to find...
  15. D

    Question Populate TreeView in Background worker

    In vb2005, I have to load a treeview control while loading the form so make the form loading more effective therefore I use Background worker to populate treeview. I tried treeview to pass by ref and faced the error “Cross thread operation not valid: Control” accessed from a thread other than...
  16. K

    "Locking" characters when the user edits a treeview node's text

    I have an application where I'm allowing the user to edit the text of a treeview node. Is it possible to "lock" portions of the node's text to keep it from being edited? For instance, if the text is "BK01" originally, can I keep the user from editing the "BK" prefix? I currently validate the...
  17. S

    FolderView.Net Control 2010 released.

    LogicNP Software is pleased to announce the release of FolderView.Net 2010 which brings drop-in Windows-Explorer-like folder browser functionality to your Windows Forms and WPF apps. This UI component is a perfect replacement for the plain, inflexible, modal APIs which developers are currently...
  18. G

    Question How to add network/external drives/shares to treeview

    Greetings, I have an Explorer style form with a treeview and listview. Everything works exactly how I want it to on local drives, but if I am attached to network drives or have an external drive attached I get the following error: "Specified argument was out of the range of valid values...
  19. G

    Resolved Select TreeView Node by ListView Selected Item

    Greetings, I have been playing with, and researching, this all day and can't figure it out. I have a Windows Explorer style form with a TreeView and a ListView. I've populated the TreeView with directories and when a node is selected, the ListView fills with the contents of the directory...
  20. chintanpshah

    Set focus to another control after TreeView Single click

    Hi, I have TreeView control in Windows Application. I am opening another window on TreeView single click event (in tabbed environment, so all windows will appear in tab as Visual Studio). I want to set focus to the one control of new window. The problem is that, I am able to set the focus on...