>>Try
>>
>>oForm.oTree1.SelectedItem = oForm.oTree1.Nodes(25)
>>
>>
>>>I have a treeview with let's say 200 nodes and want to select a certain node by key if possible from withina program
>>>
>>>I tried by index:
>>>
>>>oForm.oTree1.SELECTEDITEM.index=25
>>>
>>>
>>>but not even that works
>Thanks
>Peter
You're welcome
--sb--