If you guys are around.........
Derez, in your TreeViewPlus library, I was messing around to find out how the CheckBoxes and AfterCheck event worked. I came to the conclusion that the only way of testing in the event to see if the just checked box was the Root node was to look for the node IsRoot being set and the control IndexOfNode is -1. Is that correct? Is there a better way?
Filippo, in your ListView library, is there any chance of adding an AfterCheck event similar to that found in TreeView and TreeViewPlus? Without it, it is difficult to respond immediately and also to know what has just changed and in which direction (checked or un-checked).
It is strange, but the two libraries also have this difference, in TreeViewPlus, checking a box seems to cause both AfterCheck and AfterSelect events (that may be just an effect of referencing the control in the AfterCheck handler (maybe?)), whereas ListView does not cause a SelectionChanged event on checking a box. I have no idea which is correct, or whether there is such a thing as correct and it is just a matter of taste!
As usual, I may be missing something obvious!
Still, they are both nice libraries to have.
Thanks in advance.
Derez, in your TreeViewPlus library, I was messing around to find out how the CheckBoxes and AfterCheck event worked. I came to the conclusion that the only way of testing in the event to see if the just checked box was the Root node was to look for the node IsRoot being set and the control IndexOfNode is -1. Is that correct? Is there a better way?
Filippo, in your ListView library, is there any chance of adding an AfterCheck event similar to that found in TreeView and TreeViewPlus? Without it, it is difficult to respond immediately and also to know what has just changed and in which direction (checked or un-checked).
It is strange, but the two libraries also have this difference, in TreeViewPlus, checking a box seems to cause both AfterCheck and AfterSelect events (that may be just an effect of referencing the control in the AfterCheck handler (maybe?)), whereas ListView does not cause a SelectionChanged event on checking a box. I have no idea which is correct, or whether there is such a thing as correct and it is just a matter of taste!
As usual, I may be missing something obvious!
Still, they are both nice libraries to have.
Thanks in advance.