treeview item id

January 12 2003 at 2:12 AM
No score for this post
vegitto  (Login user5271)
from IP address 144.136.57.69


Response to re..

 

first you need to get the id of the tree you selected:
var %y = $gettok($did(<id>,1),4,32)



then set the changebranch to that tree,
did -i <dialog> <id> 1 cb root %y



now that mdx knows that we are on that branch simply use $gettok again to get the id of the selected item.
$gettok($did(<id>,1),5,32)

 
Scoring disabled. You must be logged in to score posts.Respond to this message   
Responses

Create your own forum at Network54
 Copyright © 1999-2009 Network54. All rights reserved.   Terms of Use   Privacy Statement