<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DgsScrollBarGetCursorWidth?action=history&amp;feed=atom</id>
	<title>DgsScrollBarGetCursorWidth - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DgsScrollBarGetCursorWidth?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsScrollBarGetCursorWidth&amp;action=history"/>
	<updated>2026-04-05T18:43:07Z</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=DgsScrollBarGetCursorWidth&amp;diff=71598&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;{{client function}} This function gets the width of cursor.  ==Syntax== &lt;syntaxhighlight lang=&quot;lua&quot;&gt; float dgsScrollBarGetCursorWidth( element scrollBar [, bool relative ] ) &lt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsScrollBarGetCursorWidth&amp;diff=71598&amp;oldid=prev"/>
		<updated>2021-08-09T02:59:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{client function}} This function gets the width of cursor.  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; float dgsScrollBarGetCursorWidth( element scrollBar [, bool relative ] ) &amp;lt;...&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;
This function gets the width of cursor.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float dgsScrollBarGetCursorWidth( element scrollBar [, bool relative ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:DGS_ScrollBarDetail_A.png|thumb|DGS Scroll Detail]]&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''scrollBar:''' The dgs scrollbar you want to get cursor width from.&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative. If this is true, then width must be between 0 and 1, representing sizes relative to the scroll bar.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a float indicates the cursor width if successful, ''false'' otherwise.&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;
scrollbar= DGS:dgsCreateScrollBar(0.29, 0.30, 0.44, 0.04, true, true)&lt;br /&gt;
local width = DGS:dgsScrollBarGetCursorWidth(scrollbar,true)&lt;br /&gt;
outputChatBox(width)&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>