PDA

View Full Version : Treeview Losing Checked Checkboxes



westchamp24
06-23-2008, 11:05 AM
Hello everyone,

I am having a little trouble with a treeview control that I am hoping someone can help me with. I have the treeview on one page of a multipage control. Basically, whenever the treeview loses focus, all checked checkboxes are cleared. Specifically, if I am to check checkboxes in the treeview, switch to the other page in the multipage, and then switch back to the page with the treeview, all of checked checkboxes are no longer checked. I have set the HideSelection property of the treeview to True, but that doesnt help. Any suggestions would be greatly appreciated.

lifeson
06-23-2008, 12:06 PM
Theres a control for the node
.node.expanded = true 'or false

Try that.

Ken Puls
06-23-2008, 10:11 PM
Westchamp, welcome to VBAX.

The easiest way to diagnose a problem like this is to post the code you are using. Anything less really leave us to just firing shots in the dark at an invisible target.

The relevant parts to this would probably be any code that is fired using a multipage_change event, as well as the procedures you use to populate your treeview. In fact, a sample workbook would be even better. (Click "Go Advanced" in the reply box to upload one.)