Hi Everyone,
I am creating a tree with the following code
____________________________________
sRoot is string
sLeaf is string
sRoot="My Projects"
TreeAdd(MyTree, sRoot,tvDefault,tvDefault, Null)
//---->Create Leaf
sLeaf = sRoot+TAB+"My Project 1"
TreeAdd(MyTree,sLeaf ,tvDefault,tvDefault,sLeaf )
sLeaf = sRoot+TAB+"My Project 2"
TreeAdd(MyTree,sLeaf ,tvDefault,tvDefault,sLeaf )
sLeaf = sRoot+TAB+"My Project 3"
TreeAdd(MyTree,sLeaf ,tvDefault,tvDefault,sLeaf )
-------------------------------------------------------------------
The problem that I have is that I cannot select some of the projects (My Project 1, My Project2 and My Project 3)
I am using the following code:
ResPath is string = TreeSelect(MyTree)
sMyChild is string = ExtractString(ResPath, 2, TAB, FromBeginning)
.....with this code sMyChild is empty
any body have an other idea ?
thanks in advance
Damian