<?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: Reposition ScrollBars in Flex Components</title>
	<atom:link href="http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/feed/" rel="self" type="application/rss+xml" />
	<link>http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/</link>
	<description>lulz</description>
	<lastBuildDate>Sat, 07 Jan 2012 17:17:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Tweeker</title>
		<link>http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/comment-page-1/#comment-2194</link>
		<dc:creator>Tweeker</dc:creator>
		<pubDate>Wed, 14 Sep 2011 13:31:58 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/#comment-2194</guid>
		<description>Hi,
Has anybody has any joy trying to get this to work for a container such as a panel?  I am trying to get the horizontal scroll bar to appear at the top of the container rather than  the bottom .</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Has anybody has any joy trying to get this to work for a container such as a panel?  I am trying to get the horizontal scroll bar to appear at the top of the container rather than  the bottom .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Virginia</title>
		<link>http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/comment-page-1/#comment-2184</link>
		<dc:creator>Virginia</dc:creator>
		<pubDate>Tue, 16 Aug 2011 20:00:19 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/#comment-2184</guid>
		<description>I was able to &quot;move&quot; the left scroll bar off the data grid by adding the following, however now I am having problems that the vertical scroll bar disappears when I scroll horizontally all the way to the right (so it&#039;s off the screen) and then scroll back again...

protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {

super.updateDisplayList( unscaledWidth, unscaledHeight );
			
if( this.verticalScrollBar &amp;&amp; this.verticalScrollBar.visible ) {
				
this.verticalScrollBar.x = 0;				 
this.x = verticalScrollBar.width;
this.verticalScrollBar.move(-verticalScrollBar.width, 0);
this.verticalScrollBar.height = this.verticalScrollBar.height + this.headerHeight;

}
		}</description>
		<content:encoded><![CDATA[<p>I was able to &#8220;move&#8221; the left scroll bar off the data grid by adding the following, however now I am having problems that the vertical scroll bar disappears when I scroll horizontally all the way to the right (so it&#8217;s off the screen) and then scroll back again&#8230;</p>
<p>protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {</p>
<p>super.updateDisplayList( unscaledWidth, unscaledHeight );</p>
<p>if( this.verticalScrollBar &amp;&amp; this.verticalScrollBar.visible ) {</p>
<p>this.verticalScrollBar.x = 0;<br />
this.x = verticalScrollBar.width;<br />
this.verticalScrollBar.move(-verticalScrollBar.width, 0);<br />
this.verticalScrollBar.height = this.verticalScrollBar.height + this.headerHeight;</p>
<p>}<br />
		}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Judit</title>
		<link>http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/comment-page-1/#comment-2056</link>
		<dc:creator>Judit</dc:creator>
		<pubDate>Mon, 02 May 2011 16:18:39 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/#comment-2056</guid>
		<description>&lt;blockquote cite=&quot;John&quot;&gt;When using the method you listed above it moves the scrollbar but not the header for the scrollbar, nor does it move the other columns over. The scrollbar basically sits on top of the first rows data in a Datagrid.&lt;/blockquote&gt;

I have the same problem, did you find any solution?

Thanks in advance!</description>
		<content:encoded><![CDATA[<blockquote cite="John"><p>When using the method you listed above it moves the scrollbar but not the header for the scrollbar, nor does it move the other columns over. The scrollbar basically sits on top of the first rows data in a Datagrid.</p></blockquote>
<p>I have the same problem, did you find any solution?</p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo Q.</title>
		<link>http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/comment-page-1/#comment-2034</link>
		<dc:creator>Ricardo Q.</dc:creator>
		<pubDate>Mon, 21 Mar 2011 13:45:49 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/#comment-2034</guid>
		<description>This didn&#039;t work for me. I tried it on List in Flex 4.
But I have found another solution with layoutDirection property.
http://igaidaichuk.blogspot.com/2011/03/reposition-scrollbars-in-flex-4.html</description>
		<content:encoded><![CDATA[<p>This didn&#8217;t work for me. I tried it on List in Flex 4.<br />
But I have found another solution with layoutDirection property.<br />
<a href="http://igaidaichuk.blogspot.com/2011/03/reposition-scrollbars-in-flex-4.html" rel="nofollow">http://igaidaichuk.blogspot.com/2011/03/reposition-scrollbars-in-flex-4.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mariush T.</title>
		<link>http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/comment-page-1/#comment-1958</link>
		<dc:creator>Mariush T.</dc:creator>
		<pubDate>Fri, 02 Jul 2010 08:33:50 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/#comment-1958</guid>
		<description>Thank you. I was able to move custom scrollbar skin for my list.</description>
		<content:encoded><![CDATA[<p>Thank you. I was able to move custom scrollbar skin for my list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/comment-page-1/#comment-1889</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 13 Oct 2009 14:32:35 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/#comment-1889</guid>
		<description>Have you been able to move a Datagrid&#039;s vertical scrollbar to the left side without issue? When using the method you listed above it moves the scrollbar but not the header for the scrollbar, nor does it move the other columns over. The scrollbar basically sits on top of the first rows data in a Datagrid. Any help would be great. Thank you.</description>
		<content:encoded><![CDATA[<p>Have you been able to move a Datagrid&#8217;s vertical scrollbar to the left side without issue? When using the method you listed above it moves the scrollbar but not the header for the scrollbar, nor does it move the other columns over. The scrollbar basically sits on top of the first rows data in a Datagrid. Any help would be great. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jakub</title>
		<link>http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/comment-page-1/#comment-1783</link>
		<dc:creator>Jakub</dc:creator>
		<pubDate>Sat, 15 Aug 2009 07:26:20 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/#comment-1783</guid>
		<description>Hi

First - sorry of my English, I don&#039;t use this language.

My question :

Hou use this example?

my class like this :

package {
	
	import mx.controls.TextArea;

	public class MyClass extends TextArea {
			
		protected override function updateDisplayList (unscaledWidth:Number, unscaledHeight:Number):void {
			super.updateDisplayList (unscaledWidth, unscaledHeight);
			if( verticalScrollBar &amp;&amp; verticalScrollBar.visible ) {
				verticalScrollBar.x = -verticalScrollBar.width;
			}
		}

	}
}


n Flex :




	
	
		
	
	
	
	




but not ovverride position scrolbar</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>First &#8211; sorry of my English, I don&#8217;t use this language.</p>
<p>My question :</p>
<p>Hou use this example?</p>
<p>my class like this :</p>
<p>package {</p>
<p>	import mx.controls.TextArea;</p>
<p>	public class MyClass extends TextArea {</p>
<p>		protected override function updateDisplayList (unscaledWidth:Number, unscaledHeight:Number):void {<br />
			super.updateDisplayList (unscaledWidth, unscaledHeight);<br />
			if( verticalScrollBar &amp;&amp; verticalScrollBar.visible ) {<br />
				verticalScrollBar.x = -verticalScrollBar.width;<br />
			}<br />
		}</p>
<p>	}<br />
}</p>
<p>n Flex :</p>
<p>but not ovverride position scrolbar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: koen</title>
		<link>http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/comment-page-1/#comment-1221</link>
		<dc:creator>koen</dc:creator>
		<pubDate>Thu, 26 Mar 2009 15:01:50 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/#comment-1221</guid>
		<description>Hi

nice post.. I&#039;m try to get it working with flex containers but it won&#039;t work any options

regards

koen</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>nice post.. I&#8217;m try to get it working with flex containers but it won&#8217;t work any options</p>
<p>regards</p>
<p>koen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lina</title>
		<link>http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/comment-page-1/#comment-400</link>
		<dc:creator>Lina</dc:creator>
		<pubDate>Thu, 31 Jul 2008 21:58:44 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/#comment-400</guid>
		<description>Jacob, I just wrote this simple program that uses the last version.  It creates two text areas, on with scrollbar on right (default) and one on the left (as above).

Created a Flex Project called TextAreaControl.mxml









Then created an actionscrip file to hold my custom component.

package myComponents
{
import mx.controls.TextArea;

public class MyCustomComponentTextArea extends TextArea
{
public function MyCustomComponentTextArea()
{
super();
}

protected override function updateDisplayList( unscaledWidth:Number, unscaledHeight:Number ):void
{
super.updateDisplayList( unscaledWidth, unscaledHeight );

if( verticalScrollBar &amp;&amp; verticalScrollBar.visible )
{
//verticalScrollBar.x = -verticalScrollBar.width;
verticalScrollBar.x = 0;
textField.x=verticalScrollBar.width;
}
}
}
}
</description>
		<content:encoded><![CDATA[<p>Jacob, I just wrote this simple program that uses the last version.  It creates two text areas, on with scrollbar on right (default) and one on the left (as above).</p>
<p>Created a Flex Project called TextAreaControl.mxml</p>
<p>Then created an actionscrip file to hold my custom component.</p>
<p>package myComponents<br />
{<br />
import mx.controls.TextArea;</p>
<p>public class MyCustomComponentTextArea extends TextArea<br />
{<br />
public function MyCustomComponentTextArea()<br />
{<br />
super();<br />
}</p>
<p>protected override function updateDisplayList( unscaledWidth:Number, unscaledHeight:Number ):void<br />
{<br />
super.updateDisplayList( unscaledWidth, unscaledHeight );</p>
<p>if( verticalScrollBar &#038;&#038; verticalScrollBar.visible )<br />
{<br />
//verticalScrollBar.x = -verticalScrollBar.width;<br />
verticalScrollBar.x = 0;<br />
textField.x=verticalScrollBar.width;<br />
}<br />
}<br />
}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob</title>
		<link>http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/comment-page-1/#comment-399</link>
		<dc:creator>Jacob</dc:creator>
		<pubDate>Wed, 23 Jul 2008 14:07:18 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/#comment-399</guid>
		<description>Hi there,
Perhaps a stupid question, but i am wondering; Do you need to call that new class in your project?
Can you give a working example please?

Greets, Jacob
</description>
		<content:encoded><![CDATA[<p>Hi there,<br />
Perhaps a stupid question, but i am wondering; Do you need to call that new class in your project?<br />
Can you give a working example please?</p>
<p>Greets, Jacob</p>
]]></content:encoded>
	</item>
</channel>
</rss>

