Programmatically check tree items in a Check Tree Control

Hi,
     I have created a tree control with checkboxes using the following
custom check tree control class.
        http://mitglied.lycos.de/drpython/CheckTreeCtrl.tar

The issue I am facing is I dont know how to programmatically check the
checkboxes inside the checktree control.I want to do something similar
to SetValue( ) method of checkbox so that the checkbox in the tree
control appears checked or unchecked accordingly.
Will the SetState( ) method of treecontrol work.? Kindly help me.

Thanks in advance,
Spondita

Hi,

Hi,
I have created a tree control with checkboxes using the following
custom check tree control class.
http://mitglied.lycos.de/drpython/CheckTreeCtrl.tar

The issue I am facing is I dont know how to programmatically check the
checkboxes inside the checktree control.I want to do something similar
to SetValue( ) method of checkbox so that the checkbox in the tree
control appears checked or unchecked accordingly.
Will the SetState( ) method of treecontrol work.? Kindly help me.

I haven't checked that particular implementation myself, but is there
any special reason why you have not given wx.lib.agw.customtreectrl a
try? I believe it can do what you want or it can be easily bent to
your liking.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

···

On 30 May 2012 08:06, Spondita wrote: