Bug: Treeview loses check marks on a tab control (1 Viewer)

rockman

Senior Member
Local time
Today, 14:13
Joined
May 29, 2002
Messages
190
If anyone wants to test this out to verify its a true bug it would be helpful:

Create a tab control.
Place a treeview control (with checkboxes = Yes) on one of the pages.
Populate the treeview.
Check some boxes.
Move to the next page of the tab control.
Return to the page with the treeview.
Viola! The checkboxes you checked previously are all unchecked.
(Not just visually, but property-wise as well).

One step forward, two steps back.

Actually, the work around is to remove the treeview from the tab control and then change the Visible property of the treeview to False if on a different tab page, and True if on the page you want it to display on. But c'mon why can't it work the way you'd expect it to work!

Jeff
 

rockman

Senior Member
Local time
Today, 14:13
Joined
May 29, 2002
Messages
190
Addendum:

Forget the "work around". If you hide the control and then make it visible again, the check boxes all reset to False! Grrrrr.
 

Users who are viewing this thread

Top Bottom