Problem with a treeview

  • Thread starter Thread starter Manikandan
  • Start date Start date
M

Manikandan

Hi,
I'm using .NET1.1.
I have a windows form with two controls
1.Treeview
2.Checkbox

I added the items into tree view, the user selects the item in
treeview.
When i click the item in treeview it get selected(highlighted in blue
color) .
But when I click the checkbox, the selected item in the treeview gets
deselected(highlight goes away).
My need is that selected item has to be highlighted in blue or grey
while checking checkbox
Is it feasible?

Thanks,
Mani
 
Hi,
I'm using .NET1.1.
I have a windows form with two controls
1.Treeview
2.Checkbox

I added the items into tree view, the user selects the item in
treeview.
When i click the item in treeview it get selected(highlighted in blue
color) .
But when I click the checkbox, the selected item in the treeview gets
deselected(highlight goes away).
My need is that selected item has to be highlighted in blue or grey
while checking checkbox
Is it feasible?

Thanks,
Mani

Hi,
when I changed the property hideselection to false, treeview is
highlighted in grey color when clicking checkbox.
I think this the solution
Is it correct?

Thanks,
Mani
 
Manikandan said:
Hi,
when I changed the property hideselection to false, treeview is
highlighted in grey color when clicking checkbox.
I think this the solution
Is it correct?

Thanks,
Mani
you have answered your own question :-)
 
Back
Top