Either set node's selected property to .t. or set drophighlight to node.
Cetin
>How do you do the same in aa treeview
>Peter
>
>
>>>I have a list box. It has a sql row source, and no control source. I want to programatically make a particular item selected. I've tried all sorts of ways but none of them work.
>>>
>>>Any ideas? All help appreciated.
>>
>>
You can set its value, displayvalue or listindex.
>>
myListbox.Value = "SomeValueFromSQLCursor"
>>myListBox.Value = 5
>>myListBox.ListIndex = 10
Cetin