Determine previous and next node

BlitzMax Forums/MaxGUI Module/Determine previous and next node

hub(Posted 2007) [#1]
Hi !
Need some idea to code that :
Have a node. Inside this node somes childs nodes. If i select a child node, how to determine the previous or the next node (without use my own list) ?

- Men
   -- Jeremy
   -- Mark (selected)
   -- David

if i click on a 'next' button i want select David
if i click on a 'prev' button i want select Jeremy

Thanks for your help !


grable(Posted 2007) [#2]
If you mean the TreeView Gadget, this should do it:



DavidDC(Posted 2007) [#3]
Just a reminder that this may not work on OS X as discussed here

- David


hub(Posted 2007) [#4]
Thanks !