main logo
Subject: Re: Level of node in treeview
Author: aj
Posted: 2006/09/29 11:55:41
 
View Entire Thread
New Search


Maybe this will help

Try something like this in the NodeClick event.

procedure NodeClick
lparameters Node,MyLevel
Local lNodePath
lNodePath = Node.FullPath
MyLevel = Occurs("/",lNodePath) + 1 &&This number is the level
*your code here
EndProc

I hope this is useful.

A.J.







 
©2006 aj
<-- Prior Message New Search Next Message -->