+ Reply to Thread
Results 1 to 5 of 5

Counting the Parents of a Treeview Node?

  1. #1
    Valued Forum Contributor Macdave_19's Avatar
    Join Date
    03-14-2007
    Location
    Birmingham, England
    MS-Off Ver
    12.0
    Posts
    808

    Question Counting the Parents of a Treeview Node?

    Hi All,

    i was wonderig if anyone knows how to count the number of parents of a treeview node?

    I 'm trying to work out what "Level" each node is at i.e. if there are 3 parents to a node it is at level 4 and so on?

    Hope that's clear guys

    any help is greatly appreciated and i'll defo add to your rep

    Cheers
    Last edited by Macdave_19; 03-01-2011 at 08:05 AM.
    Mr MaGoo
    Magoo.Inc MMVII

    If i've helped please add to my Rep by Clicking on the Blue Scales in the top right hand corner of the post

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,431

    Re: Counting the Parents of a Treeview Node?

    Please Login or Register  to view this content.
    Double click a node to get it's level.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Valued Forum Contributor Macdave_19's Avatar
    Join Date
    03-14-2007
    Location
    Birmingham, England
    MS-Off Ver
    12.0
    Posts
    808

    Re: Counting the Parents of a Treeview Node?

    Cheers for this, excellent work

    Legend!

  4. #4
    Registered User
    Join Date
    10-14-2015
    Location
    INDIA
    MS-Off Ver
    2013
    Posts
    1

    Re: Counting the Parents of a Treeview Node?

    Hi,

    I am having an issue with your private function as application defined error. I am just pasting it on my sheet.

  5. #5
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,604

    Re: Counting the Parents of a Treeview Node?

    mohitkhanna.31,
    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    Ben Van Johnson

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1