Sorry to bump this, but I'm giving a presentation later this day and I'd
like to get this styled..

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jonas Windey
Sent: dinsdag 23 mei 2006 18:24
To: flexcoders@yahoogroups.com
Subject: 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.getChildAt(0).setStyle("textDecoration","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 runtime

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 blue background
color.
>
>Is this possible? It tied to change the className on itemRollOver, but
>there it said that className is readonly (when called from a function)
>
>Any suggestions? Thanks
>
>Jonas
>
>
>--
>Flexcoders Mailing List
>FAQ:
><http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt>http://gr
oups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>Search Archives:
><http://www.mail-archive.com/flexcoders%40yahoogroups.com>http://www.mail-a
rchive.com/flexcoders%40yahoogroups.com
>
>
>
>
>SPONSORED LINKS
><http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+sit
e+design+development&w2=Computer+software+development&w3=Software+design+and
+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=
166&.sig=L-4QTvxB_quFDtMyhrQaHQ>Web
>site design development
><http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+s
ite+design+development&w2=Computer+software+development&w3=Software+design+a
nd+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&
s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>Computer
>software development
><http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web
+site+design+development&w2=Computer+software+development&w3=Software+design
+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=
5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>Software
>design and development
><http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+dev
elopment&w2=Computer+software+development&w3=Software+design+and+development
&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6
nPIrz7_EpZI36cYzBjw>Macromedia
>flex
><http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=
Web+site+design+development&w2=Computer+software+development&w3=Software+des
ign+and+development&w4=Macromedia+flex&w5=Software+development+best+practice
&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>Software
>development best practice
>
>
>----------
>YAHOO! GROUPS LINKS
>
>    *  Visit your group
> "<http://groups.yahoo.com/group/flexcoders>flexcoders" on the web.
>    *
>    *  To unsubscribe from this group, send an email to:
>    *
>
<mailto:[EMAIL PROTECTED]>flexcoder
[EMAIL PROTECTED]
>
>    *
>    *  Your use of Yahoo! Groups is subject to the
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
>
>
>----------
>
>
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 5/22/2006


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 5/22/2006





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to