Can you set dbtreeview background color?

Questions and answers on developing, deploying and using plugins and JavaBeans

Can you set dbtreeview background color?

Postby JerryR » Wed Nov 17, 2004 5:27 am

Is it possible to set the dbtreeview bean background color? The bean has a background color property, but setting either background or foreground color has no effect.
Jerry Robinson
JPR Engineering Inc
JerryR
 
Posts: 104
Joined: Sat Jan 17, 2004 4:30 am
Location: Pacific Palisades, CA

Postby patrick » Wed Nov 17, 2004 10:43 am

setting the size (or location?) property has no effect either...
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Postby JerryR » Wed Nov 17, 2004 4:42 pm

One additional question...is it possible to change the bean's behavior so it acts like the treeview in the Methods editor: so that the bottom branch in the tree does *not* display a disclosure triangle?
Jerry Robinson
JPR Engineering Inc
JerryR
 
Posts: 104
Joined: Sat Jan 17, 2004 4:30 am
Location: Pacific Palisades, CA

Postby Jan Blok » Thu Nov 18, 2004 11:51 am

More runtime property methods (color and such) are added in Servoy 2.1.2.

The apple LAF seems not to hide the leaf node expander if there are no nodes availeble, there is nothing we can do about this.
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby JerryR » Thu Nov 18, 2004 4:30 pm

Thanks, Jan. Would the answer be different if I were to use Metal, even on the Mac?
Jerry Robinson
JPR Engineering Inc
JerryR
 
Posts: 104
Joined: Sat Jan 17, 2004 4:30 am
Location: Pacific Palisades, CA

Postby Jan Blok » Thu Nov 18, 2004 5:45 pm

windows, metal LAF - seems to hide the expansion thingie correctly, yes
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 38 guests

cron