Bugs in Tree View

  • Thread starter Thread starter Pawel Achtel
  • Start date Start date
P

Pawel Achtel

1. Create a node in tree view
2. Create context menu, which calls myTreeView.Nodes.Clear()
3. execute

if (myTreeView.SelectedNode != null)
myTreeView.SelectedNode.Nodes.Add( new TreeNode("blah");

Two problems:

1. the if is successful even though there are no nodes in the tree !
2. Nodes.Add does not throw, but doesn't add a node either

Microsoft, Please fix asap.

Kind Regards,

Pawel
www.24x7.com.au
 
Pawel,

Thanks for letting us know about the bug. We have logged this bug in our
bug database.

David
This posting is provided "AS IS" with no warranties, and confers no rights.
 
I thought that I should add my observation regarding tree view as
well:

Create a treeView with a few nodes. Add a context menu to the tree
view. When Right clicking on a node (holding down the stylus), it
takes 2 loops before the context menu would appear. And, the node that
you right click on is not selected.

I'm running VS .net on PPC 2003.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top