disable the highlighted background of selected treenode

disable the highlighted background of selected treenode

Post by Si5NYXR0aG » Sat, 05 May 2007 00:56:01


Hi,
Does anyone know how to disable the highlighed background of a treenode's
label when it is selected. I need to be able to select the node but I don't
want to see the highlight (default colour gray)

Thanks in advance

JM
 
 
 

disable the highlighted background of selected treenode

Post by TWFuaXNoIE » Sat, 05 May 2007 13:26:00

Hi,
Try Setting the HideSelection property to True.
--
If my answer helped you,then please do press Yes below.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.

 
 
 

disable the highlighted background of selected treenode

Post by Si5NYXR0aG » Sat, 05 May 2007 17:14:02

Hi,

Thanks for the reply

The HideSelection property only hides the highlighting when the control
loses focus. I don't necessarily want to transfer focus to achieve this. Ie
I want to be able to select nodes one after the other and not see the
highlighting. This means the tree will have constant focus.

JM
 
 
 

disable the highlighted background of selected treenode

Post by TWFuaXNoIE » Sat, 05 May 2007 18:00:01

Below link solves your problem:
http://www.yqcomputer.com/
--
If my answer helped you,then please do press Yes below.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.