Re: Treeview (Common Controls 6.0 (SP6)) node.checked issue
- From: "Ken Halter" <Ken_Halter@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 13 Jun 2006 12:04:40 -0700
"JillOfAllTrades" <JillOfAllTrades@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:0FD30C69-388C-40E2-85C0-28F131906BCD@xxxxxxxxxxxxxxxx
I am trying to create a form in VB 6 (SP6) using the treeview control that
comes with Common Controls 6.0 (SP6) Library. In the tree, there will be
parent nodes each of which will have 0+ children nodes. I am using the
treeview control with the CheckBoxes property set to true. The desired
behavior is that when a user (un)-checks a parent node, they will be asked
if
they want to (un)-check all of the children nodes. If they cancel the
action, the Checked property of the parent node should be set back to its
original value. Essentially the code is as follows:
See:
checking all child nodes
http://groups.google.com/group/microsoft.public.vb.winapi/msg/7d58521a4cc73757?oe=UTF-8&output=gplain
--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
In Loving Memory - http://www.vbsight.com/Remembrance.htm
.
- Prev by Date: Re: Surprised to see UserControls Executing During Compilation!
- Next by Date: Re: Surprised to see UserControls Executing During Compilation!
- Previous by thread: Format the text in a richtext box in code
- Next by thread: Re: Treeview (Common Controls 6.0 (SP6)) node.checked issue
- Index(es):
Relevant Pages
|