Eric H. Jung wrote:

>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?
>  
>
You appear to be performing all the right steps... can you check that 
your tree really is getting focused? (Obviously the row is getting 
selected so that's not the issue here.)
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to