[Project_owners] How to make tree row selected AND focused?

Eric H. Jung eric.jung at yahoo.com
Wed Dec 20 10:35:58 PST 2006


Hi,

I use the following code to programmatically select a treerow:

tree.view.selection.select(rowIndex);

This results in the row being selected--on Windows with the default theme, the row is grey. However, I want the row to be focused, too (that is, blue in color using Windows with the default theme). I've tried tree.focus() but that doesn't work. Anyone have any idea how to do this?

Many thanks,
Eric






More information about the Project_owners mailing list