RE: [flexcoders] Styling at runtime

2006-05-24 Thread Jonas Windey
ubject: RE: [flexcoders] Styling at runtime Ok, thanks. Now how do I apply it only to the selected node? treeTest.setStyle("textDecoration","underline"); -> works treeTest.selectedItem.setStyle("textDecoration","underline"); -> doesn't treeTest.get

RE: [flexcoders] Styling at runtime

2006-05-23 Thread Jonas Windey
ation","underline"); -> neither Thanks for the setStyle tip! Jonas -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Tapper Sent: dinsdag 23 mei 2006 17:32 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Styling at run

Re: [flexcoders] Styling at runtime

2006-05-23 Thread Jeff Tapper
try using myTree.setStyle("styleName","newStyle"); At 11:12 AM 5/23/2006, you wrote: >Hi, > >I'm trying to create a treeview that acts a bit like Windows Explorer. >Meaning no style is applied when an item is unselected, but on rollover >the text gets underlined, and the selected item gets a

[flexcoders] Styling at runtime

2006-05-23 Thread Jonas Windey
Hi,   I’m trying to create a treeview that acts a bit like Windows Explorer. Meaning no style is applied when an item is unselected, but on rollover the text gets underlined, and the selected item gets a blue background color.   Is this possible? It tied to change the className on ite