<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DgsMemoGetScrollBarState?action=history&amp;feed=atom</id>
	<title>DgsMemoGetScrollBarState - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DgsMemoGetScrollBarState?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsMemoGetScrollBarState&amp;action=history"/>
	<updated>2026-05-16T02:58:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsMemoGetScrollBarState&amp;diff=62483&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;{{Client function}} __NOTOC__ This function get the force state of the scroll bar of the memo  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; bool/nil, bool/nil dgsMemoGetScrollBarS...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsMemoGetScrollBarState&amp;diff=62483&amp;oldid=prev"/>
		<updated>2019-04-17T07:17:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Client function}} __NOTOC__ This function get the force state of the scroll bar of the memo  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool/nil, bool/nil dgsMemoGetScrollBarS...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function get the force state of the scroll bar of the memo&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool/nil, bool/nil dgsMemoGetScrollBarState( element memo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''memo:''' The dgs memo to get from.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns two bool/nil indicate the state of scroll bar of the memo.&lt;br /&gt;
*'''true:''' Force to be visible&lt;br /&gt;
*'''false:''' Force to be invisible&lt;br /&gt;
*'''nil:''' Auto adjusting&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
&lt;br /&gt;
local memo = DGS:dgsCreateMemo ( 0.45, 0.45, 0.15, 0.15, &amp;quot;Test&amp;quot;, true ) &lt;br /&gt;
local vertical, horizontal = DGS:dgsMemoGetScrollBarState(memo)&lt;br /&gt;
outputChatBox(&amp;quot;State:&amp;quot;..tostring(vertical)..&amp;quot;,&amp;quot;..tostring(horizontal))	--returns nil,nil ( auto adjusting by default )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;/div&gt;</summary>
		<author><name>Thisdp</name></author>
	</entry>
</feed>