<?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; TabStopFormat</title>
	<atom:link href="http://blog.flexexamples.com/category/tabstopformat/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>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>

