Bug in NET v2.0 AfterCheck event

G

Guest

I am experiencing what looks to be a bug using the AfterCheck event. I have a
TreeView which represents a hard disk directory structure. When a tree node
is expanded or collapsed, the AfterCheck event is being fired.

From my undesrtanding, this event should only be occuring when a node is
checked or unchecked.

Comments?
 
G

Guest

There is no bug. I discovered the problem.

I have a routine which reads previously checked items in from a file. When
this routine checks the items on node expansion it fires the AfterCheck event.

Now I have to figure out a way to ignore the nodes that were checked during
this read from the file, but still honour future checked and unchecked nodes.

Talking about complex or what!!
 

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

Top