Re: Nesting Question?

new topic     » goto parent     » topic index » view thread      » older message » newer message

-----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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu