I've got a Button with its icon property set to a coloured icon.  I want the Button to show a greyed out icon when it's disabled, so I set the button's disabledIcon style.  But this disabled icon didn't show up when the button is disabled.  Turns out that if the icon property is set, it's the only icon that gets displayed in all circumstances.  To get the effect I wanted, I had to leave the icon property blank and set 4 styles: upIcon, downIcon, overIcon, disabledIcon.  The first 3 are set to the same coloured icon and the last to the grey one.  Is this how it's supposed to be done?


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