Rather than having to skin new components
any reason you couldn’t just put a transparent shield on top of everything
to intercept keyboard and mouse events? We have some examples in the docs somewhere
of how to do this.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of svktiilikainen
Sent: Thursday, June 23, 2005
12:20 AM
To: flexcoders@yahoogroups.com
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 flexcoders@yahoogroups.com,
"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: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
> Behalf Of svktiilikainen
> Sent: Wednesday, June 22, 2005 11:17 PM
> To: flexcoders@yahoogroups.com
> 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
--
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