Re: Nesting Question?
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Jul 27, 2000
- 396 views
-----Original Message----- From: Wayne Overman >How can I return the [ ID's ] of the Parent and Grand Parent of a child or, if the parent is >selected how would I get the Grand Parent's ID. >I'm not sure Grand Parent is appropriate terminology but should give you a better understanding of >the nesting im trying to return.. This is another thing that hasn't really been wrapped, but by adding: global function getParent( integer id ) return tv_parent[ id ] end function to win32lib, you can get the id of a parent. If the return is zero, then the item has no parent. Matt Lewis