>>I am understanding correctly that you want your treeview to have a node selected upon initialization? If that is the case, you do not need to click on the treeview, you need to change the TreeView's SelectedItem property to the node you want selected. As I do not see the code you are using to build it, I am not sure how to do it, but usually you would use the KEY something like:
>>
>>
>>with yourTreeView
>> .SelectedItem = .Nodes(lcKey)
>>endwith
>>
>
>Hello Hugo.. Thanks...
>
>Yeah you got it.. This is what I've been trying to do....
>
>Your idea point me to a solution... The node object reference was passed by a user method fired during a nodeclick..
>
> I wasn't reaching how may I could get that information outside of this method... Nodes(lcKey) was my answer..
>
>
>Thank you
>
>Claudio
Don't forget to run EnsureVisible for the SelectedItem :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.