TreeView doesn't lose focus?
I've searched the forum for a possible solution; there were several questions asked, but none answered with any solution :( . When I click on a node within the treeview, I would like the focus to change to a RichTextBox and have the mouse caret flash; this does not happen. I use VB.NET 2003. I've tried things such as: if textbox.canfocus then textbox.focus. The nodes are loaded from a node collection. Has anyone found a solution to this problem? :confused:
Re: TreeView doesn't lose focus?
That's interesting. I just had a bit of a play around and the situation is still the same in .NET 2.0, despite the TreeView having some additional events. I can't find mention of the issue in the MS knowledge base or a workaround in any of the obvious places. Perhaps you should submit a bug report to Microsoft. They may have done this by design for some reason, but I don't see any explanation anywhere if that's the case.