<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Flex Examples &#187; tabStops</title>
	<atom:link href="http://blog.flexexamples.com/tag/tabstops/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Wed, 26 Jan 2011 18:09:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Defining tab stops on a Spark TextArea control in Flex 4</title>
		<link>http://blog.flexexamples.com/2009/09/29/defining-tab-stops-on-a-spark-textarea-control-in-flex-4/</link>
		<comments>http://blog.flexexamples.com/2009/09/29/defining-tab-stops-on-a-spark-textarea-control-in-flex-4/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 19:11:37 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[beta1]]></category>
		<category><![CDATA[TextArea (Spark)]]></category>
		<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[tabStops]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1934</guid>
		<description><![CDATA[<p>The following example shows how you can set up tab stops on a Spark TextArea control in Flex 4 by setting the tabStops style.</p> <p>Full code after the jump.</p> <p></p> &#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62; &#60;!-- http://blog.flexexamples.com/2009/09/29/defining-tab-stops-on-a-spark-textarea-control-in-flex-4/ --&#62; &#60;s:Application name=&#34;Spark_TextArea_tabStops_test&#34; xmlns:fx=&#34;http://ns.adobe.com/mxml/2009&#34; xmlns:s=&#34;library://ns.adobe.com/flex/spark&#34; xmlns:mx=&#34;library://ns.adobe.com/flex/halo&#34;&#62; &#160; &#60;s:VGroup horizontalCenter=&#34;0&#34; verticalCenter=&#34;0&#34;&#62; &#60;s:Label text=&#34;Defined on TextArea:&#34; /&#62; &#60;s:TextArea tabStops=&#34;100 200 300&#34; width=&#34;400&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can set up tab stops on a Spark TextArea control in Flex 4 by setting the <code>tabStops</code> style.</p>
<p>Full code after the jump.</p>
<p><span id="more-1934"></span></p>
<p class="alert">The following example(s) require Flash Player 10 and the Adobe Flex 4 SDK. To download the Adobe Flash Builder 4 trial, see <a href="http://bit.ly/crThlI">http://www.adobe.com/products/flex/</a>. To download the latest nightly build of the Flex 4 SDK, see <a href="http://bit.ly/Flex4SDK">http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4</a>.<br/><strong>For more information on getting started with Flex 4 and Flash Builder 4, see the official <a href="http://bit.ly/dCkecm">Adobe Flex Team blog</a>.</strong></p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- http://blog.flexexamples.com/2009/09/29/defining-tab-stops-on-a-spark-textarea-control-in-flex-4/ --&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Application</span> name=<span style="color: #ff0000;">&quot;Spark_TextArea_tabStops_test&quot;</span></span>
<span style="color: #000000;">        xmlns:fx=<span style="color: #ff0000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span></span>
<span style="color: #000000;">        xmlns:s=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/spark&quot;</span></span>
<span style="color: #000000;">        xmlns:mx=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/halo&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:VGroup</span> horizontalCenter=<span style="color: #ff0000;">&quot;0&quot;</span> verticalCenter=<span style="color: #ff0000;">&quot;0&quot;</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Label</span> text=<span style="color: #ff0000;">&quot;Defined on TextArea:&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:TextArea</span> tabStops=<span style="color: #ff0000;">&quot;100 200 300&quot;</span> width=<span style="color: #ff0000;">&quot;400&quot;</span> heightInLines=<span style="color: #ff0000;">&quot;3&quot;</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:p</span><span style="color: #7400FF;">&gt;</span></span>0<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:tab</span><span style="color: #7400FF;">/&gt;</span></span>100<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:tab</span><span style="color: #7400FF;">/&gt;</span></span>200<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:tab</span><span style="color: #7400FF;">/&gt;</span></span>300<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:p</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:TextArea</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Label</span> text=<span style="color: #ff0000;">&quot;Defined on ParagraphElement:&quot;</span> height=<span style="color: #ff0000;">&quot;50&quot;</span> verticalAlign=<span style="color: #ff0000;">&quot;bottom&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:TextArea</span> width=<span style="color: #ff0000;">&quot;400&quot;</span> heightInLines=<span style="color: #ff0000;">&quot;3&quot;</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:p</span> tabStops=<span style="color: #ff0000;">&quot;100 200 300&quot;</span><span style="color: #7400FF;">&gt;</span></span>0<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:tab</span><span style="color: #7400FF;">/&gt;</span></span>100<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:tab</span><span style="color: #7400FF;">/&gt;</span></span>200<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:tab</span><span style="color: #7400FF;">/&gt;</span></span>300<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:p</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:TextArea</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Label</span> text=<span style="color: #ff0000;">&quot;Defined on TextFlow:&quot;</span> height=<span style="color: #ff0000;">&quot;50&quot;</span> verticalAlign=<span style="color: #ff0000;">&quot;bottom&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:TextArea</span> width=<span style="color: #ff0000;">&quot;400&quot;</span> heightInLines=<span style="color: #ff0000;">&quot;3&quot;</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:textFlow</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:TextFlow</span> tabStops=<span style="color: #ff0000;">&quot;100 200 300&quot;</span><span style="color: #7400FF;">&gt;</span></span>
                    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:p</span><span style="color: #7400FF;">&gt;</span></span>0<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:tab</span><span style="color: #7400FF;">/&gt;</span></span>100<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:tab</span><span style="color: #7400FF;">/&gt;</span></span>200<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:tab</span><span style="color: #7400FF;">/&gt;</span></span>300<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:p</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:TextFlow</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:textFlow</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:TextArea</span><span style="color: #7400FF;">&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:VGroup</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p class="alert">This entry is based on a beta version of the Flex 4 SDK and therefore is very likely to change as development of the Flex SDK continues. The API can (and will) change causing examples to possibly not compile in newer versions of the Flex 4 SDK.</p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Defining tab stops on a Spark TextArea control in Flex 4 on FlexExamples.com',url: 'http://blog.flexexamples.com/2009/09/29/defining-tab-stops-on-a-spark-textarea-control-in-flex-4/',contentID: 'post-1934',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'Gumbo,tabStops',providerName: 'FlexExamples.com',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper-remember.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.flexexamples.com/2009/09/29/defining-tab-stops-on-a-spark-textarea-control-in-flex-4/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting tab stops on a Spark RichText control in Flex 4</title>
		<link>http://blog.flexexamples.com/2009/08/26/setting-tab-stops-on-a-spark-richtext-control-in-flex-4/</link>
		<comments>http://blog.flexexamples.com/2009/08/26/setting-tab-stops-on-a-spark-richtext-control-in-flex-4/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 18:53:10 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[beta1]]></category>
		<category><![CDATA[RichText (Spark)]]></category>
		<category><![CDATA[direction]]></category>
		<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[tab]]></category>
		<category><![CDATA[tabStops]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1754</guid>
		<description><![CDATA[<p>The following example shows how you can use tab stops on a Spark RichText primitive in Flex 4 by setting the tabStops style.</p> <p>Full code after the jump.</p> <p></p> &#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62; &#60;!-- http://blog.flexexamples.com/2009/08/26/setting-tab-stops-on-a-spark-richtext-control-in-flex-4/ --&#62; &#60;s:Application name=&#34;Spark_RichText_tabStops_test&#34; xmlns:fx=&#34;http://ns.adobe.com/mxml/2009&#34; xmlns:s=&#34;library://ns.adobe.com/flex/spark&#34; xmlns:mx=&#34;library://ns.adobe.com/flex/halo&#34;&#62; &#60;s:controlBarContent&#62; &#60;mx:Form&#62; &#60;mx:FormItem label=&#34;direction:&#34;&#62; &#60;s:DropDownList id=&#34;dropDownList&#34; requireSelection=&#34;true&#34;&#62; &#60;s:dataProvider&#62; &#60;s:ArrayList source=&#34;[ltr,rtl]&#34; /&#62; &#60;/s:dataProvider&#62; &#60;/s:DropDownList&#62; &#60;/mx:FormItem&#62; &#60;/mx:Form&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can use tab stops on a Spark RichText primitive in Flex 4 by setting the <code>tabStops</code> style.</p>
<p>Full code after the jump.</p>
<p><span id="more-1754"></span></p>
<p class="alert">The following example(s) require Flash Player 10 and the Adobe Flex 4 SDK. To download the Adobe Flash Builder 4 trial, see <a href="http://bit.ly/crThlI">http://www.adobe.com/products/flex/</a>. To download the latest nightly build of the Flex 4 SDK, see <a href="http://bit.ly/Flex4SDK">http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4</a>.<br/><strong>For more information on getting started with Flex 4 and Flash Builder 4, see the official <a href="http://bit.ly/dCkecm">Adobe Flex Team blog</a>.</strong></p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- http://blog.flexexamples.com/2009/08/26/setting-tab-stops-on-a-spark-richtext-control-in-flex-4/ --&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Application</span> name=<span style="color: #ff0000;">&quot;Spark_RichText_tabStops_test&quot;</span></span>
<span style="color: #000000;">        xmlns:fx=<span style="color: #ff0000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span> </span>
<span style="color: #000000;">        xmlns:s=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/spark&quot;</span> </span>
<span style="color: #000000;">        xmlns:mx=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/halo&quot;</span><span style="color: #7400FF;">&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:controlBarContent</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Form</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:FormItem</span> label=<span style="color: #ff0000;">&quot;direction:&quot;</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:DropDownList</span> id=<span style="color: #ff0000;">&quot;dropDownList&quot;</span> requireSelection=<span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #7400FF;">&gt;</span></span>
                    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:dataProvider</span><span style="color: #7400FF;">&gt;</span></span>
                        <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:ArrayList</span> source=<span style="color: #ff0000;">&quot;[ltr,rtl]&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
                    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:dataProvider</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:DropDownList</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:FormItem</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Form</span><span style="color: #7400FF;">&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:controlBarContent</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Panel</span> title=<span style="color: #ff0000;">&quot;Spark RichText tabStops/tab test&quot;</span></span>
<span style="color: #000000;">            horizontalCenter=<span style="color: #ff0000;">&quot;0&quot;</span> verticalCenter=<span style="color: #ff0000;">&quot;0&quot;</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:VRule</span> x=<span style="color: #ff0000;">&quot;100&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:VRule</span> x=<span style="color: #ff0000;">&quot;200&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:VRule</span> x=<span style="color: #ff0000;">&quot;300&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
&nbsp;
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:RichText</span> id=<span style="color: #ff0000;">&quot;richTxt&quot;</span></span>
<span style="color: #000000;">                direction=<span style="color: #ff0000;">&quot;{dropDownList.selectedItem}&quot;</span></span>
<span style="color: #000000;">                tabStops=<span style="color: #ff0000;">&quot;100 200 300&quot;</span></span>
<span style="color: #000000;">                paragraphSpaceAfter=<span style="color: #ff0000;">&quot;20&quot;</span></span>
<span style="color: #000000;">                width=<span style="color: #ff0000;">&quot;400&quot;</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:content</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:p</span> direction=<span style="color: #ff0000;">&quot;ltr&quot;</span> fontWeight=<span style="color: #ff0000;">&quot;bold&quot;</span><span style="color: #7400FF;">&gt;</span></span>0px<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:tab</span><span style="color: #7400FF;">/&gt;</span></span>100px<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:tab</span><span style="color: #7400FF;">/&gt;</span></span>200px<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:tab</span><span style="color: #7400FF;">/&gt;</span></span>300px<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:p</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:p</span><span style="color: #7400FF;">&gt;</span></span>Col 1<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:tab</span><span style="color: #7400FF;">/&gt;</span></span>Col 2<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:tab</span><span style="color: #7400FF;">/&gt;</span></span>Col 3<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:tab</span><span style="color: #7400FF;">/&gt;</span></span>Col 4<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:p</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:content</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:RichText</span><span style="color: #7400FF;">&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Panel</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p class="information"><a href="http://blog.flexexamples.com/wp-content/uploads/spark/Spark_RichText_tabStops_test/bin/srcview/">View source</a> is enabled in the following example.</p>
<p><iframe src="http://blog.flexexamples.com/wp-content/uploads/spark/Spark_RichText_tabStops_test/bin/main.html" width="100%" height="350"></iframe></p>
<div span="googleAdsLeaderboard">
<script type="text/javascript"><!--
google_ad_client = "pub-3325829455487492";
/* 728x90, created 7/15/09 */
google_ad_slot = "6403511741";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br />
</div>
<p>You can also set tabs in a RichText control by setting the <code>text</code> property and using \t, as seen in the following example:</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- http://blog.flexexamples.com/2009/08/26/setting-tab-stops-on-a-spark-richtext-control-in-flex-4/ --&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Application</span> name=<span style="color: #ff0000;">&quot;Spark_RichText_tabStops_test&quot;</span></span>
<span style="color: #000000;">        xmlns:fx=<span style="color: #ff0000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span></span>
<span style="color: #000000;">        xmlns:s=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/spark&quot;</span></span>
<span style="color: #000000;">        xmlns:mx=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/halo&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:controlBarContent</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Form</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:FormItem</span> label=<span style="color: #ff0000;">&quot;direction:&quot;</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:DropDownList</span> id=<span style="color: #ff0000;">&quot;dropDownList&quot;</span> requireSelection=<span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #7400FF;">&gt;</span></span>
                    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:dataProvider</span><span style="color: #7400FF;">&gt;</span></span>
                        <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:ArrayList</span> source=<span style="color: #ff0000;">&quot;[ltr,rtl]&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
                    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:dataProvider</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:DropDownList</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:FormItem</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Form</span><span style="color: #7400FF;">&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:controlBarContent</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Panel</span> title=<span style="color: #ff0000;">&quot;Spark RichText tabStops/tab test&quot;</span></span>
<span style="color: #000000;">            horizontalCenter=<span style="color: #ff0000;">&quot;0&quot;</span> verticalCenter=<span style="color: #ff0000;">&quot;0&quot;</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:VRule</span> x=<span style="color: #ff0000;">&quot;100&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:VRule</span> x=<span style="color: #ff0000;">&quot;200&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:VRule</span> x=<span style="color: #ff0000;">&quot;300&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
&nbsp;
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:RichText</span> id=<span style="color: #ff0000;">&quot;richTxt&quot;</span></span>
<span style="color: #000000;">                text=<span style="color: #ff0000;">&quot;Col 1{'\t'}Col 2{'\t'}Col 3{'\t'}Col 4&quot;</span></span>
<span style="color: #000000;">                direction=<span style="color: #ff0000;">&quot;{dropDownList.selectedItem}&quot;</span></span>
<span style="color: #000000;">                tabStops=<span style="color: #ff0000;">&quot;100 200 300&quot;</span></span>
<span style="color: #000000;">                paragraphSpaceAfter=<span style="color: #ff0000;">&quot;20&quot;</span></span>
<span style="color: #000000;">                width=<span style="color: #ff0000;">&quot;400&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Panel</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p>Due to popular demand, here is the &#8220;same&#8221; example in a more ActionScript friendly format:</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- http://blog.flexexamples.com/2009/08/26/setting-tab-stops-on-a-spark-richtext-control-in-flex-4/ --&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Application</span> name=<span style="color: #ff0000;">&quot;Spark_RichText_tabStops_test&quot;</span></span>
<span style="color: #000000;">        xmlns:fx=<span style="color: #ff0000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span></span>
<span style="color: #000000;">        xmlns:s=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/spark&quot;</span></span>
<span style="color: #000000;">        xmlns:mx=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/halo&quot;</span></span>
<span style="color: #000000;">        initialize=<span style="color: #ff0000;">&quot;init();&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Script</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;">&lt;!<span style="color: #66cc66;">&#91;</span>CDATA<span style="color: #66cc66;">&#91;</span></span>
<span style="color: #000000;">            import flashx.textLayout.formats.Direction;</span>
<span style="color: #000000;">            import mx.collections.ArrayList;</span>
<span style="color: #000000;">            import mx.containers.Form;</span>
<span style="color: #000000;">            import mx.containers.FormItem;</span>
<span style="color: #000000;">            import mx.controls.VRule;</span>
<span style="color: #000000;">            import mx.core.FlexGlobals;</span>
<span style="color: #000000;">            import spark.components.DropDownList;</span>
<span style="color: #000000;">            import spark.components.Panel;</span>
<span style="color: #000000;">            import spark.events.IndexChangeEvent;</span>
<span style="color: #000000;">            import spark.primitives.RichText;</span>
&nbsp;
<span style="color: #000000;">            private var dropDownList:DropDownList;</span>
<span style="color: #000000;">            private var pnl:Panel;</span>
<span style="color: #000000;">            private var richTxt:RichText;</span>
&nbsp;
<span style="color: #000000;">            private function init<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:void <span style="color: #66cc66;">&#123;</span></span>
<span style="color: #000000;">                dropDownList = new DropDownList<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #000000;">                dropDownList.dataProvider = new ArrayList<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#91;</span>Direction.LTR, Direction.RTL<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #000000;">                dropDownList.requireSelection = true;</span>
<span style="color: #000000;">                dropDownList.addEventListener<span style="color: #66cc66;">&#40;</span>IndexChangeEvent.CHANGE, dropDownList_change<span style="color: #66cc66;">&#41;</span>;</span>
&nbsp;
<span style="color: #000000;">                var formItem:FormItem = new FormItem<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #000000;">                formItem.label = <span style="color: #ff0000;">&quot;direction:&quot;</span>;</span>
<span style="color: #000000;">                formItem.addElement<span style="color: #66cc66;">&#40;</span>dropDownList<span style="color: #66cc66;">&#41;</span>;</span>
&nbsp;
<span style="color: #000000;">                var form:Form = new Form<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #000000;">                form.addElement<span style="color: #66cc66;">&#40;</span>formItem<span style="color: #66cc66;">&#41;</span>;</span>
&nbsp;
<span style="color: #000000;">                Application<span style="color: #66cc66;">&#40;</span>FlexGlobals.topLevelApplication<span style="color: #66cc66;">&#41;</span>.controlBarContent = <span style="color: #66cc66;">&#91;</span>form<span style="color: #66cc66;">&#93;</span>;</span>
&nbsp;
<span style="color: #000000;">                richTxt = new RichText<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #000000;">                richTxt.text = <span style="color: #ff0000;">&quot;Col 1\tCol 2\tCol 3\tCol 4&quot;</span>;</span>
<span style="color: #000000;">                richTxt.setStyle<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;tabStops&quot;</span>, <span style="color: #ff0000;">&quot;100 200 300&quot;</span><span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #000000;">                richTxt.setStyle<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;paragraphSpaceAfter&quot;</span>, <span style="color: #cc66cc;">20</span><span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #000000;">                richTxt.width = <span style="color: #cc66cc;">400</span>;</span>
&nbsp;
<span style="color: #000000;">                var vRule1:VRule = new VRule<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #000000;">                vRule1.x = <span style="color: #cc66cc;">100</span>;</span>
&nbsp;
<span style="color: #000000;">                var vRule2:VRule = new VRule<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #000000;">                vRule2.x = <span style="color: #cc66cc;">200</span>;</span>
&nbsp;
<span style="color: #000000;">                var vRule3:VRule = new VRule<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #000000;">                vRule3.x = <span style="color: #cc66cc;">300</span>;</span>
&nbsp;
<span style="color: #000000;">                pnl = new Panel<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #000000;">                pnl.title = <span style="color: #ff0000;">&quot;Spark RichText tabStops/tab test&quot;</span>;</span>
<span style="color: #000000;">                pnl.horizontalCenter = <span style="color: #cc66cc;">0</span>;</span>
<span style="color: #000000;">                pnl.verticalCenter = <span style="color: #cc66cc;">0</span>;</span>
<span style="color: #000000;">                pnl.addElement<span style="color: #66cc66;">&#40;</span>vRule1<span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #000000;">                pnl.addElement<span style="color: #66cc66;">&#40;</span>vRule2<span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #000000;">                pnl.addElement<span style="color: #66cc66;">&#40;</span>vRule3<span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #000000;">                pnl.addElement<span style="color: #66cc66;">&#40;</span>richTxt<span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #000000;">                addElement<span style="color: #66cc66;">&#40;</span>pnl<span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #000000;">            <span style="color: #66cc66;">&#125;</span></span>
&nbsp;
<span style="color: #000000;">            protected function dropDownList_change<span style="color: #66cc66;">&#40;</span>evt:IndexChangeEvent<span style="color: #66cc66;">&#41;</span>:void <span style="color: #66cc66;">&#123;</span></span>
<span style="color: #000000;">                richTxt.setStyle<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;direction&quot;</span>, dropDownList.selectedItem<span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #000000;">            <span style="color: #66cc66;">&#125;</span></span>
<span style="color: #000000;">        <span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span><span style="color: #7400FF;">&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/fx:Script</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p class="alert">This entry is based on a beta version of the Flex 4 SDK and therefore is very likely to change as development of the Flex SDK continues. The API can (and will) change causing examples to possibly not compile in newer versions of the Flex 4 SDK.</p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Setting tab stops on a Spark RichText control in Flex 4 on FlexExamples.com',url: 'http://blog.flexexamples.com/2009/08/26/setting-tab-stops-on-a-spark-richtext-control-in-flex-4/',contentID: 'post-1754',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'direction,Gumbo,tab,tabStops',providerName: 'FlexExamples.com',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper-remember.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.flexexamples.com/2009/08/26/setting-tab-stops-on-a-spark-richtext-control-in-flex-4/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Creating a custom multi-column item renderer for the Spark List control in Flex 4</title>
		<link>http://blog.flexexamples.com/2009/03/09/creating-a-custom-multi-column-item-renderer-for-the-fxlist-control-in-flex-gumbo/</link>
		<comments>http://blog.flexexamples.com/2009/03/09/creating-a-custom-multi-column-item-renderer-for-the-fxlist-control-in-flex-gumbo/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 14:46:36 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Flex4]]></category>
		<category><![CDATA[List (Spark)]]></category>
		<category><![CDATA[RichText (Spark)]]></category>
		<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[itemRenderer]]></category>
		<category><![CDATA[tabStops]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2009/03/09/creating-a-custom-multi-column-item-renderer-for-the-fxlist-control-in-flex-gumbo/</guid>
		<description><![CDATA[<p>The following example shows how you can create a multi-column custom item renderer for a Spark List control in Flex 4 by setting the itemRenderer property.</p> <p></p> &#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62; &#60;!-- http://blog.flexexamples.com/2009/03/09/creating-a-custom-multi-column-item-renderer-for-the-fxlist-control-in-flex-gumbo/ --&#62; &#60;s:Application name=&#34;Spark_List_itemRenderer_test&#34; xmlns:fx=&#34;http://ns.adobe.com/mxml/2009&#34; xmlns:s=&#34;library://ns.adobe.com/flex/spark&#34; xmlns:mx=&#34;library://ns.adobe.com/flex/mx&#34;&#62; &#160; &#60;fx:Script&#62; &#60;!&#91;CDATA&#91; private function lst_labelFunc&#40;item:Object&#41;:String &#123; return item.name + &#34;\t&#34; + currFormatter.format&#40;item.price&#41;; &#125; &#93;&#93;&#62; &#60;/fx:Script&#62; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can create a multi-column custom item renderer for a Spark List control in Flex 4 by setting the <code>itemRenderer</code> property.</p>
<p><span id="more-997"></span></p>
<p class="alert">The following example(s) require Flash Player 10 and the Adobe Flex 4 SDK. To download the Adobe Flash Builder 4 trial, see <a href="http://bit.ly/crThlI">http://www.adobe.com/products/flex/</a>. To download the latest nightly build of the Flex 4 SDK, see <a href="http://bit.ly/Flex4SDK">http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4</a>.<br/><strong>For more information on getting started with Flex 4 and Flash Builder 4, see the official <a href="http://bit.ly/dCkecm">Adobe Flex Team blog</a>.</strong></p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- http://blog.flexexamples.com/2009/03/09/creating-a-custom-multi-column-item-renderer-for-the-fxlist-control-in-flex-gumbo/ --&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Application</span> name=<span style="color: #ff0000;">&quot;Spark_List_itemRenderer_test&quot;</span></span>
<span style="color: #000000;">        xmlns:fx=<span style="color: #ff0000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span> </span>
<span style="color: #000000;">        xmlns:s=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/spark&quot;</span> </span>
<span style="color: #000000;">        xmlns:mx=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/mx&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Script</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;">&lt;!<span style="color: #66cc66;">&#91;</span>CDATA<span style="color: #66cc66;">&#91;</span></span>
<span style="color: #000000;">            private function lst_labelFunc<span style="color: #66cc66;">&#40;</span>item:Object<span style="color: #66cc66;">&#41;</span>:String <span style="color: #66cc66;">&#123;</span></span>
<span style="color: #000000;">                return item.name + <span style="color: #ff0000;">&quot;\t&quot;</span> + currFormatter.format<span style="color: #66cc66;">&#40;</span>item.price<span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #000000;">            <span style="color: #66cc66;">&#125;</span></span>
<span style="color: #000000;">        <span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span><span style="color: #7400FF;">&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/fx:Script</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Declarations</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:CurrencyFormatter</span> id=<span style="color: #ff0000;">&quot;currFormatter&quot;</span> precision=<span style="color: #ff0000;">&quot;2&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/fx:Declarations</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:List</span> id=<span style="color: #ff0000;">&quot;lst&quot;</span></span>
<span style="color: #000000;">            labelFunction=<span style="color: #ff0000;">&quot;lst_labelFunc&quot;</span></span>
<span style="color: #000000;">            itemRenderer=<span style="color: #ff0000;">&quot;skins.TabItemRenderer&quot;</span></span>
<span style="color: #000000;">            horizontalCenter=<span style="color: #ff0000;">&quot;0&quot;</span> verticalCenter=<span style="color: #ff0000;">&quot;0&quot;</span></span>
<span style="color: #000000;">            width=<span style="color: #ff0000;">&quot;200&quot;</span> height=<span style="color: #ff0000;">&quot;112&quot;</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:dataProvider</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:ArrayList</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span> name=<span style="color: #ff0000;">&quot;The&quot;</span>   price=<span style="color: #ff0000;">&quot;0.23&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span> name=<span style="color: #ff0000;">&quot;quick&quot;</span> price=<span style="color: #ff0000;">&quot;1.03&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span> name=<span style="color: #ff0000;">&quot;brown&quot;</span> price=<span style="color: #ff0000;">&quot;0.98&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span> name=<span style="color: #ff0000;">&quot;fox&quot;</span>   price=<span style="color: #ff0000;">&quot;1.19&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span> name=<span style="color: #ff0000;">&quot;jumps&quot;</span> price=<span style="color: #ff0000;">&quot;0.28&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span> name=<span style="color: #ff0000;">&quot;over&quot;</span>  price=<span style="color: #ff0000;">&quot;0.42&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span> name=<span style="color: #ff0000;">&quot;the&quot;</span>   price=<span style="color: #ff0000;">&quot;0.09&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span> name=<span style="color: #ff0000;">&quot;lazy&quot;</span>  price=<span style="color: #ff0000;">&quot;0.81&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span> name=<span style="color: #ff0000;">&quot;dog&quot;</span>   price=<span style="color: #ff0000;">&quot;0.72&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:ArrayList</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:dataProvider</span><span style="color: #7400FF;">&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:List</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p>The custom Spark List control item renderer, <em>skins/TabItemRenderer.mxml</em>, is as follows:</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- http://blog.flexexamples.com/2009/03/09/creating-a-custom-multi-column-item-renderer-for-the-fxlist-control-in-flex-gumbo/ --&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:ItemRenderer</span> name=<span style="color: #ff0000;">&quot;TabItemRenderer&quot;</span></span>
<span style="color: #000000;">        xmlns:fx=<span style="color: #ff0000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span></span>
<span style="color: #000000;">        xmlns:s=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/spark&quot;</span></span>
<span style="color: #000000;">        xmlns:mx=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/mx&quot;</span></span>
<span style="color: #000000;">        autoDrawBackground=<span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #7400FF;">&gt;</span></span>
    <span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- states --&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:states</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:State</span> name=<span style="color: #ff0000;">&quot;normal&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:State</span> name=<span style="color: #ff0000;">&quot;hovered&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:State</span> name=<span style="color: #ff0000;">&quot;selected&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:states</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:RichText</span> id=<span style="color: #ff0000;">&quot;labelDisplay&quot;</span></span>
<span style="color: #000000;">            tabStops=<span style="color: #ff0000;">&quot;D160&quot;</span></span>
<span style="color: #000000;">            verticalCenter=<span style="color: #ff0000;">&quot;0&quot;</span></span>
<span style="color: #000000;">            left=<span style="color: #ff0000;">&quot;3&quot;</span> right=<span style="color: #ff0000;">&quot;3&quot;</span> top=<span style="color: #ff0000;">&quot;6&quot;</span> bottom=<span style="color: #ff0000;">&quot;4&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:ItemRenderer</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<div span="googleAdsLeaderboard">
<script type="text/javascript"><!--
google_ad_client = "pub-3325829455487492";
/* 728x90, created 7/15/09 */
google_ad_slot = "6403511741";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br />
</div>
<p class="information"><a href="http://dl.dropbox.com/u/4509565/FlexExamples_com/Spark_List_itemRenderer_test/srcview/index.html">View source</a> is enabled in the following example.</p>
<p><iframe src="http://dl.dropbox.com/u/4509565/FlexExamples_com/Spark_List_itemRenderer_test/main.html" width="100%" height="300"></iframe></p>
<p class="alert">This entry is based on a beta version of the Flex 4 SDK and therefore is very likely to change as development of the Flex SDK continues. The API can (and will) change causing examples to possibly not compile in newer versions of the Flex 4 SDK.</p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Creating a custom multi-column item renderer for the Spark List control in Flex 4 on FlexExamples.com',url: 'http://blog.flexexamples.com/2009/03/09/creating-a-custom-multi-column-item-renderer-for-the-fxlist-control-in-flex-gumbo/',contentID: 'post-997',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'Gumbo,itemRenderer,tabStops',providerName: 'FlexExamples.com',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper-remember.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.flexexamples.com/2009/03/09/creating-a-custom-multi-column-item-renderer-for-the-fxlist-control-in-flex-gumbo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using tab stops with the TextArea control in Flex</title>
		<link>http://blog.flexexamples.com/2009/02/03/using-tab-stops-with-the-textarea-control-in-flex/</link>
		<comments>http://blog.flexexamples.com/2009/02/03/using-tab-stops-with-the-textarea-control-in-flex/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 16:36:32 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[TextArea]]></category>
		<category><![CDATA[TextFormat]]></category>
		<category><![CDATA[defaultTextFormat]]></category>
		<category><![CDATA[getTextField()]]></category>
		<category><![CDATA[mx internal]]></category>
		<category><![CDATA[setTextFormat()]]></category>
		<category><![CDATA[tabStops]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2009/02/03/using-tab-stops-with-the-textarea-control-in-flex/</guid>
		<description><![CDATA[<p>The following example shows how you can set tab stops on the Flex TextArea control by setting the tabStops property on a TextFormat object and setting the defaultTextFormat property or setTextFormat() method, or by setting the TextArea control&#8217;s htmlText property to an HTML string with a &#60;TextFormat&#62; tag.</p> <p>Full code after the jump.</p> <p></p> &#60;?xml [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can set tab stops on the Flex TextArea control by setting the <code>tabStops</code> property on a TextFormat object and setting the <code>defaultTextFormat</code> property or <code>setTextFormat()</code> method, or by setting the TextArea control&#8217;s <code>htmlText</code> property to an HTML string with a &lt;TextFormat&gt; tag.</p>
<p>Full code after the jump.</p>
<p><span id="more-952"></span></p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:Application name="TextArea_tabStops_test"
        xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            private function init1():void {
                var tf:TextFormat = new TextFormat();
                tf.tabStops = [100, 200, 300, 400];

                textArea1.mx_internal::getTextField().setTextFormat(tf);
            }

            private function init3():void {
                textArea3.htmlText = "&lt;TEXTFORMAT TABSTOPS='100,200,300,400'&gt;&lt;P&gt;The quick&lt;TAB/&gt;brown fox&lt;TAB/&gt;jumps over&lt;TAB/&gt;the lazy&lt;TAB/&gt;dog.&lt;/P&gt;&lt;P&gt;The&lt;TAB/&gt;quick brown&lt;TAB/&gt;fox jumps&lt;TAB/&gt;over the&lt;TAB/&gt;lazy dog.&lt;/P&gt;&lt;/TEXTFORMAT&gt;";
            }

            private function init4():void {
                var tf:TextFormat = new TextFormat();
                tf.tabStops = [100, 200, 300, 400];

                textArea4.mx_internal::getTextField().defaultTextFormat = tf;
                textArea4.text = "The quick\\tbrown fox\\tjumps over\\tthe lazy\\tdog.\\nThe\\tquick brown\\tfox jumps\\tover the\\tlazy dog.";

                textArea4.validateNow();
                trace(textArea4.htmlText);
            }
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:TextArea id="textArea1"
            condenseWhite="true"
            width="500"
            creationComplete="init1();"&gt;
        &lt;mx:htmlText&gt;
            &lt;![CDATA[
                &lt;p&gt;The quick&lt;tab/&gt;brown fox&lt;tab/&gt;jumps over&lt;tab/&gt;the lazy&lt;tab/&gt;dog.&lt;/p&gt;&lt;p&gt;The&lt;tab/&gt;quick brown&lt;tab/&gt;fox jumps&lt;tab/&gt;over the&lt;tab/&gt;lazy dog.&lt;/p&gt;
            ]]&gt;
        &lt;/mx:htmlText&gt;
    &lt;/mx:TextArea&gt;

    &lt;mx:TextArea id="textArea2"
            condenseWhite="true"
            width="500"&gt;
        &lt;mx:htmlText&gt;
            &lt;![CDATA[
                &lt;TEXTFORMAT TABSTOPS="100,200,300,400"&gt;&lt;P&gt;The quick&lt;TAB/&gt;brown fox&lt;TAB/&gt;jumps over&lt;TAB/&gt;the lazy&lt;TAB/&gt;dog.&lt;/P&gt;&lt;P&gt;The&lt;TAB/&gt;quick brown&lt;TAB/&gt;fox jumps&lt;TAB/&gt;over the&lt;TAB/&gt;lazy dog.&lt;/P&gt;&lt;/TEXTFORMAT&gt;
            ]]&gt;
        &lt;/mx:htmlText&gt;
    &lt;/mx:TextArea&gt;

    &lt;mx:TextArea id="textArea3"
            condenseWhite="true"
            width="500"
            initialize="init3();" /&gt;

    &lt;mx:TextArea id="textArea4"
            width="500"
            initialize="init4();" /&gt;

&lt;/mx:Application&gt;
</pre>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Using tab stops with the TextArea control in Flex on FlexExamples.com',url: 'http://blog.flexexamples.com/2009/02/03/using-tab-stops-with-the-textarea-control-in-flex/',contentID: 'post-952',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'defaultTextFormat,getTextField(),mx internal,setTextFormat(),tabStops',providerName: 'FlexExamples.com',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper-remember.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.flexexamples.com/2009/02/03/using-tab-stops-with-the-textarea-control-in-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting tab stops in a TextView control in Flex Gumbo</title>
		<link>http://blog.flexexamples.com/2009/01/13/setting-tab-stops-in-a-textview-control-in-flex-gumbo/</link>
		<comments>http://blog.flexexamples.com/2009/01/13/setting-tab-stops-in-a-textview-control-in-flex-gumbo/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 06:31:27 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[beta]]></category>
		<category><![CDATA[TextView]]></category>
		<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[tabStops]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2009/01/13/setting-tab-stops-in-a-textview-control-in-flex-gumbo/</guid>
		<description><![CDATA[<p>The following example shows how you can set the tab stops in a Flex Gumbo TextView control by setting the tabStops property using a string-based shorthand.</p> <p>Full code after the jump.</p> <p></p> <p class="alert">To use the following code, you must have Flash Player 10 and a Flex Gumbo SDK installed in your Flex Builder 3. [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can set the tab stops in a Flex Gumbo TextView control by setting the <code>tabStops</code> property using a string-based shorthand.</p>
<p>Full code after the jump.</p>
<p><span id="more-935"></span></p>
<p class="alert">To use the following code, you must have Flash Player 10 and a Flex Gumbo SDK installed in your Flex Builder 3. For more information on downloading and installing the Gumbo SDK into Flex Builder 3, see <a href="http://blog.flexexamples.com/2008/08/02/using-the-beta-gumbo-sdk-in-flex-builder-3/">&#8220;Using the beta Gumbo SDK in Flex Builder 3&#8243;</a>.</p>
<p class="download"><a href="">View MXML</a></p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!-- http://blog.flexexamples.com/2009/01/13/setting-tab-stops-in-a-textview-control-in-flex-gumbo/ --&gt;
&lt;Application name="TextView_tabStops_test"
        xmlns="http://ns.adobe.com/mxml/2009"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"&gt;

    &lt;ApplicationControlBar dock="true"&gt;
        &lt;Form styleName="plain"&gt;
            &lt;FormItem label="Toggle grid lines:"&gt;
                &lt;CheckBox id="checkBox" selected="false" /&gt;
            &lt;/FormItem&gt;
        &lt;/Form&gt;
    &lt;/ApplicationControlBar&gt;

    &lt;Canvas backgroundColor="white"&gt;
        &lt;TextView id="textView"
                tabStops="S0 C100 E200 D270"
                width="300"&gt;
            &lt;content&gt;
                &lt;p&gt;1.The&lt;tab/&gt;1.Quick&lt;tab/&gt;1.Brown&lt;tab/&gt;$123.456&lt;/p&gt;
                &lt;p&gt;2.Fox&lt;tab/&gt;2.Jumps&lt;tab/&gt;2.Over&lt;tab/&gt;$24.7&lt;/p&gt;
                &lt;p&gt;3.The&lt;tab/&gt;3.Lazy&lt;tab/&gt;3.Dog&lt;tab/&gt;$7.11&lt;/p&gt;
            &lt;/content&gt;
        &lt;/TextView&gt;
        &lt;Group id="lineGroup"
                visible="{checkBox.selected}"
                height="100%"&gt;
            &lt;VRule x="0" height="100%" /&gt;
            &lt;VRule x="100" height="100%" /&gt;
            &lt;VRule x="200" height="100%" /&gt;
            &lt;VRule x="270" height="100%" /&gt;
        &lt;/Group&gt;
    &lt;/Canvas&gt;

&lt;/Application&gt;
</pre>
<p class="alert">This entry is based on a beta version of the Flex Gumbo SDK and therefore is very likely to change as development of the Flex SDK continues. The API can (and will) change causing examples to possibly not compile in newer versions of the Flex Gumbo SDK.</p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Setting tab stops in a TextView control in Flex Gumbo on FlexExamples.com',url: 'http://blog.flexexamples.com/2009/01/13/setting-tab-stops-in-a-textview-control-in-flex-gumbo/',contentID: 'post-935',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'Gumbo,tabStops',providerName: 'FlexExamples.com',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper-remember.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.flexexamples.com/2009/01/13/setting-tab-stops-in-a-textview-control-in-flex-gumbo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting tab stops in an FxTextArea control in Flex Gumbo</title>
		<link>http://blog.flexexamples.com/2008/10/31/setting-tab-stops-in-an-fxtextarea-control-in-flex-gumbo/</link>
		<comments>http://blog.flexexamples.com/2008/10/31/setting-tab-stops-in-an-fxtextarea-control-in-flex-gumbo/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 06:12:22 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[beta]]></category>
		<category><![CDATA[FxTextArea]]></category>
		<category><![CDATA[TabStopFormat]]></category>
		<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[tabStops]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2008/10/31/setting-tab-stops-in-an-fxtextarea-control-in-flex-gumbo/</guid>
		<description><![CDATA[<p>The following example shows how you can set tab stops in a Flex Gumbo FxTextArea control by setting the tabStops style to an array of TabStopFormat objects.</p> <p>Full code after the jump.</p> <p></p> <p class="alert">To use the following code, you must have Flash Player 10 and a Flex Gumbo SDK installed in your Flex Builder [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can set tab stops in a Flex Gumbo FxTextArea control by setting the <code>tabStops</code> style to an array of TabStopFormat objects.</p>
<p>Full code after the jump.</p>
<p><span id="more-853"></span></p>
<p class="alert">To use the following code, you must have Flash Player 10 and a Flex Gumbo SDK installed in your Flex Builder 3. For more information on downloading and installing the Gumbo SDK into Flex Builder 3, see <a href="http://blog.flexexamples.com/2008/08/02/using-the-beta-gumbo-sdk-in-flex-builder-3/">&#8220;Using the beta Gumbo SDK in Flex Builder 3&#8243;</a>.</p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/FxTextArea_tabStops_test/bin/srcview/source/main.mxml.html">View MXML</a></p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!-- http://blog.flexexamples.com/2008/10/31/setting-tab-stops-in-an-fxtextarea-control-in-flex-gumbo/ --&gt;
&lt;FxApplication name="FxTextArea_tabStops_test"
        xmlns="http://ns.adobe.com/mxml/2009"
        xmlns:formats="flashx.textLayout.formats.*"&gt;
    &lt;layout&gt;
        &lt;BasicLayout /&gt;
    &lt;/layout&gt;

    &lt;Style&gt;
        HBox {
            paddingLeft: 20;
            paddingRight: 20;
            paddingTop: 20;
            paddingBottom: 20;
        }
    &lt;/Style&gt;

    &lt;HBox width="100%" height="100%"&gt;
        &lt;FxTextArea id="fxTextArea"
                width="100%"
                height="100%"&gt;
            &lt;content&gt;
                &lt;String source="data/mlb2008.html" /&gt;
            &lt;/content&gt;
            &lt;tabStops&gt;
                &lt;formats:TabStopFormat alignment="start" /&gt;
                &lt;formats:TabStopFormat alignment="end"
                        position="400" /&gt;
                &lt;formats:TabStopFormat alignment="end"
                        position="500" /&gt;
            &lt;/tabStops&gt;
        &lt;/FxTextArea&gt;
    &lt;/HBox&gt;

&lt;/FxApplication&gt;
</pre>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/FxTextArea_tabStops_test/bin/srcview/source/data/mlb2008.html">data/mlb2008.html</a></p>
<pre class="code">
&lt;!-- data/mlb2008.html --&gt;
&lt;p fontSize="18" textAlign="center"&gt;AL East&lt;/p&gt;
&lt;p fontWeight="bold"&gt;Team&lt;tab/&gt;W&lt;tab/&gt;L&lt;/p&gt;
&lt;p&gt;Tampa Bay&lt;tab/&gt;97&lt;tab/&gt;71&lt;/p&gt;
&lt;p&gt;Boston&lt;tab/&gt;95&lt;tab/&gt;67&lt;/p&gt;
&lt;p&gt;New York&lt;tab/&gt;89&lt;tab/&gt;73&lt;/p&gt;
&lt;p&gt;Toronto&lt;tab/&gt;86&lt;tab/&gt;76&lt;/p&gt;
&lt;p&gt;Baltimore&lt;tab/&gt;68&lt;tab/&gt;93&lt;/p&gt;

&lt;p fontSize="18" textAlign="center"&gt;AL Central&lt;/p&gt;
&lt;p fontWeight="bold"&gt;Team&lt;tab/&gt;W&lt;tab/&gt;L&lt;/p&gt;
&lt;p&gt;Chicago&lt;tab/&gt;89&lt;tab/&gt;74&lt;/p&gt;
&lt;p&gt;Minnesota&lt;tab/&gt;88&lt;tab/&gt;75&lt;/p&gt;
&lt;p&gt;Cleveland&lt;tab/&gt;81&lt;tab/&gt;71&lt;/p&gt;
&lt;p&gt;Kansas City&lt;tab/&gt;75&lt;tab/&gt;87&lt;/p&gt;
&lt;p&gt;Detroit&lt;tab/&gt;74&lt;tab/&gt;88&lt;/p&gt;

&lt;p fontSize="18" textAlign="center"&gt;AL West&lt;/p&gt;
&lt;p fontWeight="bold"&gt;Team&lt;tab/&gt;W&lt;tab/&gt;L&lt;/p&gt;
&lt;p&gt;Los Angeles&lt;tab/&gt;100&lt;tab/&gt;62&lt;/p&gt;
&lt;p&gt;Texas&lt;tab/&gt;79&lt;tab/&gt;83&lt;/p&gt;
&lt;p&gt;Oakland&lt;tab/&gt;75&lt;tab/&gt;86&lt;/p&gt;
&lt;p&gt;Seattle&lt;tab/&gt;61&lt;tab/&gt;101&lt;/p&gt;

&lt;p fontSize="18" textAlign="center"&gt;NL East&lt;/p&gt;
&lt;p fontWeight="bold"&gt;Team&lt;tab/&gt;W&lt;tab/&gt;L&lt;/p&gt;
&lt;p&gt;Philadelphia&lt;tab/&gt;92&lt;tab/&gt;70&lt;/p&gt;
&lt;p&gt;New York&lt;tab/&gt;89&lt;tab/&gt;73&lt;/p&gt;
&lt;p&gt;Florida&lt;tab/&gt;84&lt;tab/&gt;77&lt;/p&gt;
&lt;p&gt;Atlanta&lt;tab/&gt;72&lt;tab/&gt;90&lt;/p&gt;
&lt;p&gt;Washington&lt;tab/&gt;59&lt;tab/&gt;102&lt;/p&gt;

&lt;p fontSize="18" textAlign="center"&gt;NL Central&lt;/p&gt;
&lt;p fontWeight="bold"&gt;Team&lt;tab/&gt;W&lt;tab/&gt;L&lt;/p&gt;
&lt;p&gt;Chicago&lt;tab/&gt;97&lt;tab/&gt;64&lt;/p&gt;
&lt;p&gt;Milwaukee&lt;tab/&gt;90&lt;tab/&gt;72&lt;/p&gt;
&lt;p&gt;Houston&lt;tab/&gt;86&lt;tab/&gt;75&lt;/p&gt;
&lt;p&gt;St. Louis&lt;tab/&gt;86&lt;tab/&gt;76&lt;/p&gt;
&lt;p&gt;Cincinnati&lt;tab/&gt;74&lt;tab/&gt;88&lt;/p&gt;
&lt;p&gt;Pittsburgh&lt;tab/&gt;67&lt;tab/&gt;95&lt;/p&gt;

&lt;p fontSize="18" textAlign="center"&gt;NL West&lt;/p&gt;
&lt;p fontWeight="bold"&gt;Team&lt;tab/&gt;W&lt;tab/&gt;L&lt;/p&gt;
&lt;p&gt;Los Angeles&lt;tab/&gt;84&lt;tab/&gt;78&lt;/p&gt;
&lt;p&gt;Arizona&lt;tab/&gt;82&lt;tab/&gt;80&lt;/p&gt;
&lt;p&gt;Colorado&lt;tab/&gt;74&lt;tab/&gt;88&lt;/p&gt;
&lt;p&gt;San Francisco&lt;tab/&gt;72&lt;tab/&gt;90&lt;/p&gt;
&lt;p&gt;San Diego&lt;tab/&gt;63&lt;tab/&gt;99&lt;/p&gt;
</pre>
<p class="information"><a href="http://blog.flexexamples.com/wp-content/uploads/FxTextArea_tabStops_test/bin/srcview/index.html">View source</a> is enabled in the following example.</p>
<p><iframe src="http://blog.flexexamples.com/wp-content/uploads/FxTextArea_tabStops_test/bin/main.html" width="100%" height="350"></iframe></p>
<p class="alert">This entry is based on a beta version of the Flex Gumbo SDK and therefore is very likely to change as development of the Flex SDK continues. The API can (and will) change causing examples to possibly not compile in newer versions of the Flex Gumbo SDK.</p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Setting tab stops in an FxTextArea control in Flex Gumbo on FlexExamples.com',url: 'http://blog.flexexamples.com/2008/10/31/setting-tab-stops-in-an-fxtextarea-control-in-flex-gumbo/',contentID: 'post-853',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'Gumbo,tabStops',providerName: 'FlexExamples.com',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper-remember.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.flexexamples.com/2008/10/31/setting-tab-stops-in-an-fxtextarea-control-in-flex-gumbo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

