Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9236

Re: how to detect if a treeviewitem is root item?

$
0
0

If you write a recursive function and do a

 

ll_tvi_parenthandle = tv_list.FindItem(ParentTreeItem!, ll_tvi_current)

 

then the FindItem() function returns -1 if ll_tvi_current is a root.

 

All about the treeview control is pretty good documented in the PowerBuilder Help about "Treeview Control".

 

hth

 

Arnd


Viewing all articles
Browse latest Browse all 9236

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>