Setting the color on a dbtreeview for selected node problems

Questions, tips and tricks and techniques for scripting in Servoy

Setting the color on a dbtreeview for selected node problems

Postby eKelman » Thu Aug 09, 2012 9:01 pm

Hi

Has anyone out there successfully modified the selected color on a dbtreeview? If you have can you provide me a small sample/link on how to achieve this?

I can set the background and a few other properties via css f the entire tree view but can't seem to adjust the selected color.

DBTreeView {
background-color: #e3e9ec;
border-style: solid;
border-width: 1px 1px 1px 1px;
border-color: #cccccc;
}

I'm confused as to how the sample solutions are able to set the selected colors to a royal blue color but my own solution only displays the selected value in a light gray color.
Ernest
Kelman Technologies
eKelman
 
Posts: 52
Joined: Tue May 12, 2009 9:09 pm

Re: Setting the color on a dbtreeview for selected node prob

Postby huber » Thu Nov 14, 2013 5:03 pm

Did you get a step further? In my environment, it only works in SmartClient (Servoy 7).
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 367
Joined: Mon May 14, 2012 11:31 pm

Re: Setting the color on a dbtreeview for selected node prob

Postby david » Fri Nov 15, 2013 4:34 pm

David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.


Return to Methods

Who is online

Users browsing this forum: No registered users and 2 guests