Problem with a treeview

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
 
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,
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
 
P

Pete Kane

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 :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top