I'm creating a treeview with the following (relevant) code:
Everything works as expected until the treeview loses it's focus to another control on the same page. The selected item then turns grey (normal behaviour), but when the treeview regains focus the selected item doesn't regain it's original colour (blue) - see attached image. No matter what item is selected they all stay grey.
If I remove the line "_tree_item.IsTabStop = False" the treeview works normally when losing/gaining focus, but that is not an option for us.
I'm using the latest internal build and the Windows7 theme.
' item is the new node being inserted |
_tree_item = RadTreeView1.AddItemByPath(_parent_name & "\" & item.name, "\") |
_tree_item.DefaultImageSrc = indicator_image |
_tree_item.Tag = item.id |
_tree_item.IsTabStop = False |
Everything works as expected until the treeview loses it's focus to another control on the same page. The selected item then turns grey (normal behaviour), but when the treeview regains focus the selected item doesn't regain it's original colour (blue) - see attached image. No matter what item is selected they all stay grey.
If I remove the line "_tree_item.IsTabStop = False" the treeview works normally when losing/gaining focus, but that is not an option for us.
I'm using the latest internal build and the Windows7 theme.