Page 1 of 1

How can I change backcolor of selected node of tree when it's not focused?

Posted: Sat Dec 29, 2018 5:42 pm
by mol
When the tree is not focused, select node/item has grey backcolor. I want it to stay blue or other more contrast.
Is it simple way to do it?

Re: How can I change selected node of tree when it's not focused?

Posted: Sat Dec 29, 2018 8:20 pm
by andyglezl
Quizá con...
*-----------------------------
Maybe with ...


<ParentWindowName>.<TreeControlName>.FullRowSelect := lBoolean

Re: How can I change selected node of tree when it's not focused?

Posted: Sat Dec 29, 2018 8:25 pm
by mol
It does not help...

By the way, what FullRowSelect does? There is nothing about it in documentation.

Re: How can I change selected node of tree when it's not focused?

Posted: Sat Dec 29, 2018 8:37 pm
by andyglezl
Se supone que te debe de señalar todo el renglón en el que estás,
no solo el texto del nodo.
*------------------------------------------------------------------------------------
It's supposed to point you to the whole line you're on,
not just the text of the node.


Aquí hice algo, pero no recuerdo si utilizé el FullRowSelect...
*-----------------------------------------------------------------------------
Here I did something, but I do not remember if I used the FullRowSelect ...


http://www.hmgforum.com/viewtopic.php?f=35&t=3886

Re: How can I change selected node of tree when it's not focused?

Posted: Sat Dec 29, 2018 9:10 pm
by mol
I've used dynamicbackcolor and it works as I want.
I had to set value to first node abd set focus. After loosing focus last selected node stays coloured as I need.
Thanks Andy!

Re: How can I change backcolor of selected node of tree when it's not focused?

Posted: Sun Dec 30, 2018 4:56 pm
by mol
Did someone realised drag and drop technic within tree control?

Re: How can I change backcolor of selected node of tree when it's not focused?

Posted: Mon Dec 31, 2018 3:21 pm
by andyglezl
mol wrote:
Sun Dec 30, 2018 4:56 pm
Did someone realised drag and drop technic within tree control?

http://www.hmgforum.com/viewtopic.php?f ... rop#p53777