RE: [flexcoders] Styling at runtime

2006-05-24 Thread Jonas Windey



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.txthttp://gr
oups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-a
rchive.com/flexcoders%40yahoogroups.com 




SPONSORED LINKS
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+sit
e+design+developmentw2=Computer+software+developmentw3=Software+design+and
+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=
166.sig=L-4QTvxB_quFDtMyhrQaHQWeb 
site design development 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+s
ite+design+developmentw2=Computer+software+developmentw3=Software+design+a
nd+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5
s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer 
software development 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web
+site+design+developmentw2=Computer+software+developmentw3=Software+design
+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=
5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQSoftware 
design and development
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+dev
elopmentw2=Computer+software+developmentw3=Software+design+and+development
w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6
nPIrz7_EpZI36cYzBjwMacromedia 
flex 
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=
Web+site+design+developmentw2=Computer+software+developmentw3=Software+des
ign+and+developmentw4=Macromedia+flexw5=Software+development+best+practice
c=5s=166.sig=f89quyyulIDsnABLD6IXIwSoftware 
development best practice


--
YAHOO! GROUPS LINKS

 * Visit your group 
 http://groups.yahoo.com/group/flexcodersflexcoders 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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Styling at runtime

2006-05-23 Thread Jonas Windey










Hi,



Im 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
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











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 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.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com 




SPONSORED LINKS
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQWeb 
site design development 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer 
software development 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQSoftware 
design and development
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjwMacromedia 
flex 
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIwSoftware 
development best practice


--
YAHOO! GROUPS LINKS

 * Visit your group 
 http://groups.yahoo.com/group/flexcodersflexcoders on the web.
 *
 * To unsubscribe from this group, send an email to:
 * 
 mailto:[EMAIL PROTECTED][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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Styling at runtime

2006-05-23 Thread Jonas Windey



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.txthttp://gr
oups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-a
rchive.com/flexcoders%40yahoogroups.com 




SPONSORED LINKS
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+sit
e+design+developmentw2=Computer+software+developmentw3=Software+design+and
+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=
166.sig=L-4QTvxB_quFDtMyhrQaHQWeb 
site design development 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+s
ite+design+developmentw2=Computer+software+developmentw3=Software+design+a
nd+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5
s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer 
software development 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web
+site+design+developmentw2=Computer+software+developmentw3=Software+design
+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=
5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQSoftware 
design and development
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+dev
elopmentw2=Computer+software+developmentw3=Software+design+and+development
w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6
nPIrz7_EpZI36cYzBjwMacromedia 
flex 
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=
Web+site+design+developmentw2=Computer+software+developmentw3=Software+des
ign+and+developmentw4=Macromedia+flexw5=Software+development+best+practice
c=5s=166.sig=f89quyyulIDsnABLD6IXIwSoftware 
development best practice


--
YAHOO! GROUPS LINKS

 * Visit your group 
 http://groups.yahoo.com/group/flexcodersflexcoders 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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.