Page 1 of 1

[Treeview]: How to programmatically select...

Posted: Thu Aug 16, 2007 1:29 am
by hua
How to programmatically select the very first item of the very first branch of a tree?

Posted: Thu Aug 16, 2007 8:14 am
by Antonio Linares
Hua,

You just need to keep a reference to the first item:

oItem1 = oTree:Add( "First one" )

and then, later on, just select it:

oTree:Select( oItem1 )

Posted: Wed Aug 22, 2007 8:08 am
by hua
Thanks Antonio. I'll give it a try