<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Setting the corner radius on a NumericStepper control in Flex</title>
	<atom:link href="http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 19:26:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Raaz</title>
		<link>http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/comment-page-1/#comment-3253</link>
		<dc:creator>Raaz</dc:creator>
		<pubDate>Tue, 15 Jul 2008 06:27:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/#comment-3253</guid>
		<description>s i solved on problem corner radius. i made one mistaque at borderStyle i placed wrongly solid solid

 This is solved no problem but i added on more line to that

&lt;pre class=&quot;code&quot;&gt;
can1.setStyle(&#039;alpha&#039;, 0.5);
&lt;/pre&gt;

  this is not working please give me any solution</description>
		<content:encoded><![CDATA[<p>s i solved on problem corner radius. i made one mistaque at borderStyle i placed wrongly solid solid</p>
<p> This is solved no problem but i added on more line to that</p>
<pre class="code">
can1.setStyle('alpha', 0.5);
</pre>
<p>  this is not working please give me any solution</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raaz</title>
		<link>http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/comment-page-1/#comment-3252</link>
		<dc:creator>Raaz</dc:creator>
		<pubDate>Tue, 15 Jul 2008 06:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/#comment-3252</guid>
		<description>&lt;pre class=&quot;code&quot;&gt;
var can1:Canvas=new Canvas();
can1.width=215;
can1.height=101;
can1.setStyle(&#039;borderColor&#039;,&#039;#040404&#039;);
can1.setStyle(&#039;solid&#039;,&#039;solid&#039;);
can1.setStyle(&#039;backgroundColor&#039;,&#039;#FFFFFF&#039;);
can1.setStyle(&#039;cornerRadius&#039;,6);
&lt;/pre&gt;

The above code not working in application can any one check this.</description>
		<content:encoded><![CDATA[<pre class="code">
var can1:Canvas=new Canvas();
can1.width=215;
can1.height=101;
can1.setStyle('borderColor','#040404');
can1.setStyle('solid','solid');
can1.setStyle('backgroundColor','#FFFFFF');
can1.setStyle('cornerRadius',6);
</pre>
<p>The above code not working in application can any one check this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raaz</title>
		<link>http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/comment-page-1/#comment-3251</link>
		<dc:creator>Raaz</dc:creator>
		<pubDate>Tue, 15 Jul 2008 06:18:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/#comment-3251</guid>
		<description>&lt;pre class=&quot;code&quot;&gt;
var can1:Canvas = new Canvas();
can1.setStyle(&#039;cornerRadius&#039;, 6);
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<pre class="code">
var can1:Canvas = new Canvas();
can1.setStyle('cornerRadius', 6);
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Willy Ci</title>
		<link>http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/comment-page-1/#comment-3255</link>
		<dc:creator>Willy Ci</dc:creator>
		<pubDate>Fri, 06 Jun 2008 18:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/#comment-3255</guid>
		<description>I think I found a way to fake it, for now.

put a TextInput under the NumericStepper,
remove the themeColor of NumericStepper.

&lt;pre class=&quot;code&quot;&gt;
&lt;mx:Canvas x=&quot;400&quot; y=&quot;400&quot;  &gt;
&lt;mx:TextInput id=&quot;ti&quot; x=&quot;0&quot; y=&quot;0&quot; width=&quot;50&quot; cornerRadius=&quot;10&quot; borderStyle=&quot;solid&quot; paddingLeft=&quot;10&quot;/&gt;
&lt;mx:NumericStepper id=&quot;ns&quot; cornerRadius=&quot;10&quot; x=&quot;2&quot; y=&quot;0&quot;  borderColor=&quot;#FFFFFF&quot; borderStyle=&quot;none&quot; backgroundAlpha=&quot;0&quot; themeColor=&quot;#ffffff&quot; paddingLeft=&quot;5&quot;/&gt;
&lt;/mx:Canvas&gt;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>I think I found a way to fake it, for now.</p>
<p>put a TextInput under the NumericStepper,<br />
remove the themeColor of NumericStepper.</p>
<pre class="code">
&lt;mx:Canvas x="400" y="400"  &gt;
&lt;mx:TextInput id="ti" x="0" y="0" width="50" cornerRadius="10" borderStyle="solid" paddingLeft="10"/&gt;
&lt;mx:NumericStepper id="ns" cornerRadius="10" x="2" y="0"  borderColor="#FFFFFF" borderStyle="none" backgroundAlpha="0" themeColor="#ffffff" paddingLeft="5"/&gt;
&lt;/mx:Canvas&gt;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/comment-page-1/#comment-3254</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Thu, 15 May 2008 23:32:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/#comment-3254</guid>
		<description>&lt;a href=&quot;http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/#comment-12713&quot; rel=&quot;nofollow&quot;&gt;Al&lt;/a&gt;,

You could try creating a custom skin (PNG/JPG/GIF, SWF) with rounded corners and see if you can set a custom skin on the TextInput. No clue if that would work, but may be worth investigating. Apart from that, try asking on the FlexCoders mailing list.

Peter</description>
		<content:encoded><![CDATA[<p><a href="http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/#comment-12713" rel="nofollow">Al</a>,</p>
<p>You could try creating a custom skin (PNG/JPG/GIF, SWF) with rounded corners and see if you can set a custom skin on the TextInput. No clue if that would work, but may be worth investigating. Apart from that, try asking on the FlexCoders mailing list.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Al</title>
		<link>http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/comment-page-1/#comment-3250</link>
		<dc:creator>Al</dc:creator>
		<pubDate>Thu, 15 May 2008 21:41:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/#comment-3250</guid>
		<description>Thanks Peter,

Tried all ways to get at that inputField in the numeric stepper to change its cornerRadius...

- mx_internal:  can get inputField with numericStepper.mx_internal::inputField as TextInput;
  (the styleProxy filters out the cornerRadius)
- subclassing NumericStepper and overriding get inputFieldStyleFilters() so that cornerRadius is in the list
  (nothing happens!)

I could get round this graphically, but it&#039;s become a bit of challenge now.

Any ideas?

Al</description>
		<content:encoded><![CDATA[<p>Thanks Peter,</p>
<p>Tried all ways to get at that inputField in the numeric stepper to change its cornerRadius&#8230;</p>
<p>- mx_internal:  can get inputField with numericStepper.mx_internal::inputField as TextInput;<br />
  (the styleProxy filters out the cornerRadius)<br />
- subclassing NumericStepper and overriding get inputFieldStyleFilters() so that cornerRadius is in the list<br />
  (nothing happens!)</p>
<p>I could get round this graphically, but it&#8217;s become a bit of challenge now.</p>
<p>Any ideas?</p>
<p>Al</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trần Quang Khánh</title>
		<link>http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/comment-page-1/#comment-3247</link>
		<dc:creator>Trần Quang Khánh</dc:creator>
		<pubDate>Thu, 15 May 2008 02:59:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/#comment-3247</guid>
		<description>Oh why my MXML code is missing!

Here is code:

mx:NumberFormatter id=&quot;nf&quot; formatString=&quot;###,###,###.00&quot;
mx:TextInput id=&quot;price&quot; change=&quot;price.text = nf.format(price.text)&quot;</description>
		<content:encoded><![CDATA[<p>Oh why my MXML code is missing!</p>
<p>Here is code:</p>
<p>mx:NumberFormatter id=&#8221;nf&#8221; formatString=&#8221;###,###,###.00&#8243;<br />
mx:TextInput id=&#8221;price&#8221; change=&#8221;price.text = nf.format(price.text)&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trần Quang Khánh</title>
		<link>http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/comment-page-1/#comment-3246</link>
		<dc:creator>Trần Quang Khánh</dc:creator>
		<pubDate>Thu, 15 May 2008 02:57:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/#comment-3246</guid>
		<description>Hi peterd,

NumberFormatter work correctly. But I need widget support user editing and format currently. Given this pattern: ###,###,###.00. It mean&#039;s user input
300 -&gt; 300
3000 -&gt; 3,000




These code will format Price.text but text&#039;s carret always set end of text. If user move to center and key number, then carret go end ==&gt; confuse for user!</description>
		<content:encoded><![CDATA[<p>Hi peterd,</p>
<p>NumberFormatter work correctly. But I need widget support user editing and format currently. Given this pattern: ###,###,###.00. It mean&#8217;s user input<br />
300 -&gt; 300<br />
3000 -&gt; 3,000</p>
<p>These code will format Price.text but text&#8217;s carret always set end of text. If user move to center and key number, then carret go end ==&gt; confuse for user!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/comment-page-1/#comment-3248</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Wed, 14 May 2008 14:18:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/#comment-3248</guid>
		<description>&lt;a href=&quot;http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/#comment-12671&quot; rel=&quot;nofollow&quot;&gt;Trần Quang Khánh&lt;/a&gt;,

Will the NumberFormatter class work? See the &lt;a href=&quot;http://livedocs.adobe.com/flex/3/langref/mx/formatters/NumberFormatter.html&quot; rel=&quot;nofollow&quot;&gt;&lt;u&gt;Adobe Flex 3 NumberFormatter documentation&lt;/u&gt;&lt;/a&gt; for more information.

Peter</description>
		<content:encoded><![CDATA[<p><a href="http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/#comment-12671" rel="nofollow">Trần Quang Khánh</a>,</p>
<p>Will the NumberFormatter class work? See the <a href="http://livedocs.adobe.com/flex/3/langref/mx/formatters/NumberFormatter.html" rel="nofollow"><u>Adobe Flex 3 NumberFormatter documentation</u></a> for more information.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trần Quang Khánh</title>
		<link>http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/comment-page-1/#comment-3245</link>
		<dc:creator>Trần Quang Khánh</dc:creator>
		<pubDate>Wed, 14 May 2008 04:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/13/setting-the-corner-radius-on-a-numericstepper-control-in-flex/#comment-3245</guid>
		<description>Hi all!

After two days google, I can&#039;t found any text input widget support input
number formatter use patter as ###,###,##0.00. I&#039;m porting some Eclipse RCP
application to Flex. Please refer
http://www.eclipse.org/nebula/widgets/formattedtext/formattedtext.php

Sorry, my english not well</description>
		<content:encoded><![CDATA[<p>Hi all!</p>
<p>After two days google, I can&#8217;t found any text input widget support input<br />
number formatter use patter as ###,###,##0.00. I&#8217;m porting some Eclipse RCP<br />
application to Flex. Please refer<br />
<a href="http://www.eclipse.org/nebula/widgets/formattedtext/formattedtext.php" rel="nofollow">http://www.eclipse.org/nebula/widgets/formattedtext/formattedtext.php</a></p>
<p>Sorry, my english not well</p>
]]></content:encoded>
	</item>
</channel>
</rss>

