Group: Forum Members
Last Active: 8 Years Ago
Posts: 15,
Visits: 3
|
Hello,
I have a NTreeList with some nodes, and I have some buttons next to it which perform certain operations depending on the selected nodes. Specifically, "up" and "down" buttons rearrange the order of the list, moving objects up and down.
Once I click any of the buttons, the treelist loses the focus, but as it remains selected it has a subtle grey background. The problem is that the gray tone is hard to see at first glance, and I want the user to know which element will keep moving up/down if he keeps pressing the button. So I wanted to show a more intense background color (like the default orange when it does have the focus).
I tried modifying the InactiveSelectedState property of the NTreeList; it was gray by default so I thought I had found it, but it doens't seem to work.
Any clue? Thanks in advance.
|
Group: Forum Members
Last Active: Yesterday @ 1:54 AM
Posts: 3,054,
Visits: 4,009
|
Hello Imanol, Try to set these properties not by the designer but by code. nTreeList1.InactiveSelectedState.FillInfo.Gradient1 = color1; nTreeList1.InactiveSelectedState.FillInfo.Gradient2 = color2;
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 8 Years Ago
Posts: 15,
Visits: 3
|
That works perfectly. Thank you!
|