oh, I missed that reply comment...

but...
there is a minor issue with your approach.
if someone checks a box on third level and the upper level is not checked, his check will be wiped out.
this is also why I wanted to have the tri-state checkbox action in there.

maybe something like the following.
a) if all childnodes checked, check also the parent
b) if parent is de-checked, uncheck all children
c) if parent is checked, check all children

note that the example ini doesn't really work for testing anymore as we only have 1 child in every node.
 Code:
found a bug. the corrected code in next post.


_________________________
!

download KiXnet