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

Neil neil at parkwaycc.co.uk
Thu Dec 21 01:33:05 PST 2006

Eric H. Jung wrote:

>I use the following code to programmatically select a treerow:
>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.)

More information about the Project_owners mailing list