<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Johannes+Madis+Aasm%C3%A4e</id>
	<title>Multi Theft Auto: Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Johannes+Madis+Aasm%C3%A4e"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Johannes_Madis_Aasm%C3%A4e"/>
	<updated>2026-04-27T21:29:46Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientGUIScroll&amp;diff=24385</id>
		<title>OnClientGUIScroll</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientGUIScroll&amp;diff=24385"/>
		<updated>2010-08-24T17:25:46Z</updated>

		<summary type="html">&lt;p&gt;Johannes Madis Aasmäe: /* Source */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This event is fired when a GUI scrollbar is scrolled.&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element Scrolled&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* '''Scrolled''':  The scrollbar element that was scrolled&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the scrollbar element that got scrolled.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example outputs a message with the new scroll position when a scrollbar is scrolled.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function OnScroll(Scrolled)&lt;br /&gt;
	outputChatBox(&amp;quot;The new scroll position is &amp;quot;..guiScrollBarGetScrollPosition(Scrolled))&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientGUIScroll&amp;quot;,getRootElement(),OnScroll)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===GUI events===&lt;br /&gt;
{{GUI_events}}&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Client_event_functions}}&lt;/div&gt;</summary>
		<author><name>Johannes Madis Aasmäe</name></author>
	</entry>
</feed>