Re: [Spam] [flexcoders] Re: How do you understand the style properties and what values they need?

2009-10-15 Thread Nick Middleweek
Hey Valdhor... Thanks for your reply, that's really helpfull...

I've looked up default.css and this is all it is...

.headerDragProxyStyle
{
fontWeight: bold;
}

Do you how I can find out what CSS attributes can be used with the
.headerDragProxyStyle CSS style and against other Flex objects?... I'm sure
there's a few rules to follow where I can use the docs to lookup the answers
but I'm having trouble getting my head round it :-)

e.g. By chance I just tried this and alas it worked but my question now is
is everything just guess work or is there a way to find out what else I have
in my armoury... :)

.headerDragProxyStyle {
  borderColor: black;
  borderStyle: sold;
  borderThickness: 3;
  backgroundColor: green;
}


Thanks  :-)



2009/10/14 valdhor valdhorli...@embarqmail.com



 In line...


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Nick
 Middleweek n...@... wrote:
 
  Hello,
 
  I've found this Cheat sheet:
  http://www.scribd.com/doc/2966310/Adobe-flex-3-cheat-sheet which looks
  great...
 
  I'm trying to figure out how I can cheat with it as well :)
 
  e.g. Button  Styles  borderColor = 0xAAB3B3 - this is a hex color,
 easy!
  :-)
 
  But what about this one...
 
  Button  Style  disabledSkin = mx.skins.halo.ButtonSkin - What does
 this
  mean? Where is it? Can I change it?

 It is a skin. You can create your own and use it. If I were you I would
 copy the ButtonSkin.as file and modify it to what you need. BTW. The
 ButtonSkin.as file is found (At least, on my machine) at ...Flex Builder 3
 install
 directory\sdks\3.4.0\frameworks\project\framework\src\mx\skins\halo\ButtonSkin.as

  Here's another... :)
 
  DataGrid  Styles  headerColors = [#FF, #E6E6E6] - I've used this
 one
  and it's a gradient.
 
  but can someone help me with this please?...
 
  DataGrid  Styles  headerDragProxyStyleName = headerDragProxyStyle.

 headerDragProxyStyle is a CSS style. It is defined in ...Flex Builder 3
 install directory\sdks\3.4.0\frameworks\project\framework\defaults.css.

 
 
  Also, is headerDragProxyStyle affected if I use a headerRenderer?

 Now, that, I have no idea.

  Thanks for any help or links so i can read up...
 
  Cheers,
  Nick
 

  



[Spam] [flexcoders] Re: How do you understand the style properties and what values they need?

2009-10-15 Thread valdhor
I wouldn't modify any styles in the defaults.css file. I would create a new 
style and apply it to the headerDragProxyStyleName parameter.

I learned what I know from documents like:

http://livedocs.adobe.com/flex/3/html/help.html?content=styles_01.html
http://livedocs.adobe.com/flex/3/langref/flash/text/StyleSheet.html
http://www.loscavio.com/downloads/blog/flex3_css_list/flex3_css_list.htm


HTH





Steve

--- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote:

 Hey Valdhor... Thanks for your reply, that's really helpfull...
 
 I've looked up default.css and this is all it is...
 
 .headerDragProxyStyle
 {
 fontWeight: bold;
 }
 
 Do you how I can find out what CSS attributes can be used with the
 .headerDragProxyStyle CSS style and against other Flex objects?... I'm sure
 there's a few rules to follow where I can use the docs to lookup the answers
 but I'm having trouble getting my head round it :-)
 
 e.g. By chance I just tried this and alas it worked but my question now is
 is everything just guess work or is there a way to find out what else I have
 in my armoury... :)
 
 .headerDragProxyStyle {
   borderColor: black;
   borderStyle: sold;
   borderThickness: 3;
   backgroundColor: green;
 }
 
 
 Thanks  :-)
 
 
 
 2009/10/14 valdhor valdhorli...@...
 
 
 
  In line...
 
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Nick
  Middleweek nick@ wrote:
  
   Hello,
  
   I've found this Cheat sheet:
   http://www.scribd.com/doc/2966310/Adobe-flex-3-cheat-sheet which looks
   great...
  
   I'm trying to figure out how I can cheat with it as well :)
  
   e.g. Button  Styles  borderColor = 0xAAB3B3 - this is a hex color,
  easy!
   :-)
  
   But what about this one...
  
   Button  Style  disabledSkin = mx.skins.halo.ButtonSkin - What does
  this
   mean? Where is it? Can I change it?
 
  It is a skin. You can create your own and use it. If I were you I would
  copy the ButtonSkin.as file and modify it to what you need. BTW. The
  ButtonSkin.as file is found (At least, on my machine) at ...Flex Builder 3
  install
  directory\sdks\3.4.0\frameworks\project\framework\src\mx\skins\halo\ButtonSkin.as
 
   Here's another... :)
  
   DataGrid  Styles  headerColors = [#FF, #E6E6E6] - I've used this
  one
   and it's a gradient.
  
   but can someone help me with this please?...
  
   DataGrid  Styles  headerDragProxyStyleName = headerDragProxyStyle.
 
  headerDragProxyStyle is a CSS style. It is defined in ...Flex Builder 3
  install directory\sdks\3.4.0\frameworks\project\framework\defaults.css.
 
  
  
   Also, is headerDragProxyStyle affected if I use a headerRenderer?
 
  Now, that, I have no idea.
 
   Thanks for any help or links so i can read up...
  
   Cheers,
   Nick
  
 
   
 





Re: [Spam] [flexcoders] Re: How do you understand the style properties and what values they need?

2009-10-15 Thread Nick Middleweek
 Hi again :)

In fact, this didn't fully work... it only implemented a green
backgroundColor...

The border styles were completely ignored, Mmmm?...


:)




2009/10/15 Nick Middleweek n...@middleweek.co.uk


 e.g. By chance I just tried this and alas it worked but my question now is
 is everything just guess work or is there a way to find out what else I have
 in my armoury... :)

 .headerDragProxyStyle {
   borderColor: black;
   borderStyle: sold;
   borderThickness: 3;
   backgroundColor: green;
 }




Re: [Spam] [flexcoders] Re: How do you understand the style properties and what values they need?

2009-10-15 Thread Nick Middleweek
Ahhh... :)

Sorry about this thread... I've just removed the backgroundColor, tried it
again and the black border has appeared.

I've tried adding a color: #FF;  but that seems to be ignored no matter
what I do?...


So I'm still stuck and confused :)


Cheers,
Nick




2009/10/15 Nick Middleweek n...@middleweek.co.uk

 Hi again :)

 In fact, this didn't fully work... it only implemented a green
 backgroundColor...

 The border styles were completely ignored, Mmmm?...


 :)




 2009/10/15 Nick Middleweek n...@middleweek.co.uk


 e.g. By chance I just tried this and alas it worked but my question now is
 is everything just guess work or is there a way to find out what else I have
 in my armoury... :)

 .headerDragProxyStyle {
   borderColor: black;
   borderStyle: sold;
   borderThickness: 3;
   backgroundColor: green;
 }





Re: [Spam] [Spam] [flexcoders] Re: How do you understand the style properties and what values they need?

2009-10-15 Thread Nick Middleweek
Cheers Steve,

I didn't modify the default.css - I created a new one with the same name at
the top of the MXML file that contains the Adv DataGrid...


Thanks for the links...


Nick




2009/10/15 valdhor valdhorli...@embarqmail.com



 I wouldn't modify any styles in the defaults.css file. I would create a new
 style and apply it to the headerDragProxyStyleName parameter.

 I learned what I know from documents like:

 http://livedocs.adobe.com/flex/3/html/help.html?content=styles_01.html
 http://livedocs.adobe.com/flex/3/langref/flash/text/StyleSheet.html
 http://www.loscavio.com/downloads/blog/flex3_css_list/flex3_css_list.htm

 HTH

 Steve




[flexcoders] Re: How do you understand the style properties and what values they need?

2009-10-14 Thread valdhor
In line...

--- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote:

 Hello,
 
 I've found this Cheat sheet:
 http://www.scribd.com/doc/2966310/Adobe-flex-3-cheat-sheet  which looks
 great...
 
 I'm trying to figure out how I can cheat with it as well :)
 
 e.g. Button  Styles  borderColor = 0xAAB3B3 - this is a hex color, easy!
 :-)
 
 But what about this one...
 
 Button  Style  disabledSkin = mx.skins.halo.ButtonSkin - What does this
 mean? Where is it? Can I change it?

It is a skin. You can create your own and use it. If I were you I would copy 
the ButtonSkin.as file and modify it to what you need. BTW. The ButtonSkin.as 
file is found (At least, on my machine) at ...Flex Builder 3 install 
directory\sdks\3.4.0\frameworks\project\framework\src\mx\skins\halo\ButtonSkin.as


 Here's another... :)
 
 DataGrid  Styles  headerColors = [#FF, #E6E6E6] - I've used this one
 and it's a gradient.
 
 but can someone help me with this please?...
 
 DataGrid  Styles  headerDragProxyStyleName = headerDragProxyStyle.


headerDragProxyStyle is a CSS style. It is defined in ...Flex Builder 3 install 
directory\sdks\3.4.0\frameworks\project\framework\defaults.css.


 
 
 Also, is headerDragProxyStyle affected if I use a headerRenderer?

Now, that, I have no idea.

 Thanks for any help or links so i can read up...
 
 Cheers,
 Nick