You can programmatically skin the CheckBox as described in the following
section of the doc:
 
"Programmatically reskinning the CheckBox control"  
Link: http://livedocs.macromedia.com/flex/15/flex_docs_en/00002198.htm

The confusion over per-instance skinning properties might stem from the
fact that we do not support using them in Flex 1.5 and most (if not all)
references to them were removed from the documentation.

Hth,

Matt Horn
Flex docs


________________________________

        From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of svktiilikainen
        Sent: Thursday, June 23, 2005 3:20 AM
        To: [email protected]
        Subject: [flexcoders] Re: How to change the appearance of a
checkbox ?
        
        
        Hi,
        
        I've checked the skinning properties but don't understand how to
use 
        them. The API reference only points to SimpleButton class which
has 
        its own skin values like "SimpleButtonUp". I tried some of the 
        properties but did not get them to work. And the API also says 
        that "The SimpleButton control is also the the only control that

        allows you to specify skin properties in MXML" - which made me
think 
        that checkboxes cannot be handled the same way.
        
        I am making a sort of print preview window. The data is entered
in 
        another place in another form and the container I'm making is
only 
        supposed to display the data and enable printing it on paper. So
the 
        controls should look nice and be inaccessible by the user.
Hopefully 
        this is not confusing..
        
        Satu  
        
        
        --- In [email protected], "Gordon Smith" <[EMAIL PROTECTED]> 
        wrote:
        > CheckBox should support per-instance skinning via properties
like
        > falseDisabledSkin.
        > 
        > But I'm curious about your use case. If a disabled checkbox
looks 
        the
        > same as an enabled one, won't your users be confused why it 
        doesn't do
        > anything when they click it?
        > 
        > - Gordon
        > 
        > -----Original Message-----
        > From: [email protected] 
        [mailto:[EMAIL PROTECTED] On
        > Behalf Of svktiilikainen
        > Sent: Wednesday, June 22, 2005 11:17 PM
        > To: [email protected]
        > Subject: [flexcoders] How to change the appearance of a
checkbox ?
        > 
        > Dear flexcoders,
        > 
        > how is the appearance of a checkbox customised? I want a
disabled 
        > checkbox (..enabled="false") to look like it is enabled,
meaning, 
        not 
        > grayed out. 
        > 
        > The styles of CheckBox apparently allow only the color of the 
        checkbox 
        > label to be changed, not the apperance of the rectangle &
check 
        mark. 
        > I assume that the change can be made by using custom skins. 
        However, I 
        > only want to apply this checkbox appearance in one UI
component, 
        not 
        > the entire application, so that using skins seems somewhat 
        excessive.
        > 
        > Regards,
        > 
        > Satu
        > 
        > 
        > 
        > 
        > 
        > 
        > --
        > 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
        

        *       To visit your group on the web, go to:
                http://groups.yahoo.com/group/flexcoders/
                  
        *       To unsubscribe from this group, send an email to:
                [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
                  
        *       Your use of Yahoo! Groups is subject to the Yahoo! Terms
of Service <http://docs.yahoo.com/info/terms/> . 

        
        



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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to