-
TreeViews
Hey All,
I have a TreeView control on a Windows Form. I also have a ContextMenu to
pop-up when the user right-clicks on the Tree. No problem, it all works fine
.... except for one little thing. If the user right-clicks on a node in the
tree other than the one that's selected, when the ContextMenu pops ups, it
will appear to them (temporarily) as if that node is selected, when in fact
it is not. As soon as an item from the pop-up menu is selected, the
highlight goes back to the real selected node (in fact, the
TreeView.Selected node never changes, just the highlight).
I've been trying to figure out how to change the Selected node to the one
that they've right-clicked on, but no luck so far.
Any ideas?
TIA,
~~Bonnie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks