Page 1 of 1

CheckBoxes in TreeView Controls

Posted: Wed Jan 06, 2010 1:37 pm
by Dick Bowman
Has anyone seen strange behaviour when using the CheckBoxes property of the TreeView object?

What I'm noticing is that the initial rendering is correct (there's a visible checkbox against each item), but sometimes after using SetItemState one or more checkboxes will disappear - leaving some items with a checkbox and others without. I haven't been able to create a simple scenario that illustrates, it's only within a full application context - maybe there's something strange going on that I haven't noticed. The item states all seem to be as expected. It's as if the CheckBoxes property was allowed to have a value for each item (I checked - it isn't).

This with 12.1 64-bit Unicode under Windows 7.

I probably won't be pursuing it much further myself, because I'm not that happy with the application interface - so there'll probably be a revamp without the TreeView shortly.