Results 1 to 2 of 2
  1. #1
    Miles R is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Mar 2019
    Posts
    280

    Making Treeview nodes unclickable

    I have a tree view with several levels of nodes.
    e.g.
    Level 1 Group 1
    Level 2 Item 1
    Level 2 Item 2
    Level 1 Group 2
    Level 2 Item 1

    I want to be able to expand and collapse all levels - no problem, but I only want to be able to select on the Items - in this case all Level 2 nodes.
    e.g. if I click on Level 2 Item 2, it is highlighted in Blue, but not if I click on Level 1 Group 1.
    Can't seem to find a way to prevent all items being highlighted when I click on them.

    Anyone know of a simple way of doing this?

    One method I have tried was to save the last Item clicked and highlighted and then reselect that item if I click on a different group. This does work, but unfortunately the treeview scrolls until the previous highlighted item is in view - which I don't want - don't want any scrolling when I click any group or item.



    Hope this is clear and thanks for any ideas.

  2. #2
    Miles R is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Mar 2019
    Posts
    280
    Don't need to solve this now, as I have another solution for my problem which is going to involve changing the colour/background of selected items if leaf nodes are selected.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Continuous Form unclickable once filtered
    By KyleMac in forum Forms
    Replies: 5
    Last Post: 11-17-2014, 03:30 PM
  2. Import Pubmed XML (Child Nodes) to Access
    By Manish_05 in forum Import/Export Data
    Replies: 18
    Last Post: 04-14-2014, 10:49 PM
  3. Responding To Clicks On Treeview Nodes
    By Hack in forum Programming
    Replies: 3
    Last Post: 04-12-2012, 06:46 AM
  4. How can you make a combo list unclickable?
    By netchie in forum Forms
    Replies: 9
    Last Post: 11-18-2011, 04:25 PM
  5. Buttons Unclickable Anymore
    By netchie in forum Access
    Replies: 7
    Last Post: 09-14-2011, 11:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums