取消
显示结果 
搜索替代 
您的意思是: 

Tree item path

When the drag is not end yet, have any ways to get  c4 path?

11.png

0 项奖励
1 条消息(共 6 条)
4,122 次查看

If you have the tag (the string value of the tree) use the invoke node to get items parent, then get that items parent, over and over in a while loop until the parent string is empty.  You can index the loop to get an array of string which is the path bottom to top.

0 项奖励
2 条消息(共 6 条)
4,096 次查看

Thank,Hoovahh~~

 

Sorry, My question depiction is not well.

 

My question want to know have any way, that get C4 path at dragging?

0 项奖励
3 条消息(共 6 条)
4,081 次查看

@yangch wrote: 

My question want to know have any way, that get C4 path at dragging?


Yes, using the method I described.

 

Example_VI.png

0 项奖励
4 条消息(共 6 条)
4,058 次查看

Thanks,Hooovahh~~

 

Your way can get "C4" path on dragging,but no way to get "C4" dragging on C2 at not drag end.

 

Have any way to get path that dragging on "C4" on "C2" at not drag end,get result like red circle?

 

22.png

0 项奖励
5 条消息(共 6 条)
4,030 次查看

I made a new topic here that is related.  The VI I posted there gets you most of the way there, but not quite.  It seems to be a strange behavior of LabVIEW and I felt needed its own topic.

0 项奖励
6 条消息(共 6 条)
4,010 次查看