|
Hi!
I have a CheckedTreeView with an event "AfterCheck". So, always, when the Check-State of a button changes, the event is fired. In the event, I want to check or uncheck all child-Items of the selected Item.
So, I wrote a recursive method, that should work just fine. But the problem is, that I use the command "node.Checked = true" to check the childNodes. And always when the command is executed, the "AfterCheck"-event is executed.
Is there a way to suppress this event?
Or is there an easier way to check or uncheck all childItems in a treeView?
Thanks, Barthi
|