<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/OnDgsColorPickerComponentSelectorChange?action=history&amp;feed=atom</id>
	<title>OnDgsColorPickerComponentSelectorChange - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/OnDgsColorPickerComponentSelectorChange?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnDgsColorPickerComponentSelectorChange&amp;action=history"/>
	<updated>2026-05-08T20:59:02Z</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=OnDgsColorPickerComponentSelectorChange&amp;diff=63469&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;{{Client event}} __NOTOC__  This event is called when the value of dgs component selector changes.  ==Parameters== &lt;syntaxhighlight lang=&quot;lua&quot;&gt; element theElement &lt;/syntaxhigh...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnDgsColorPickerComponentSelectorChange&amp;diff=63469&amp;oldid=prev"/>
		<updated>2019-07-26T10:47:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Client event}} __NOTOC__  This event is called when the value of dgs component selector changes.  ==Parameters== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; element theElement &amp;lt;/syntaxhigh...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This event is called when the value of dgs component selector changes.&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 theElement&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''theElement:''' The dgs color component whose value gets changed.&lt;br /&gt;
*'''CurrentValue:''' The value after the change.&lt;br /&gt;
*'''OldValue:''' The value before the change.&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;
cp = dgsCreateColorPicker(&amp;quot;HSVRing&amp;quot;,50,50,300,300,false)&lt;br /&gt;
r = dgsColorPickerCreateComponentSelector(500,200,200,10,true,false)&lt;br /&gt;
dgsBindToColorPicker(r,cp,&amp;quot;RGB&amp;quot;,&amp;quot;R&amp;quot;,true)&lt;br /&gt;
addEventHandler(&amp;quot;onDgsColorPickerComponentSelectorChange&amp;quot;,r,function(new,old)&lt;br /&gt;
  outputChatBox(&amp;quot;Change From &amp;quot;..old..&amp;quot; To &amp;quot;..new)&lt;br /&gt;
end,false)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSEVENTS}}&lt;/div&gt;</summary>
		<author><name>Thisdp</name></author>
	</entry>
</feed>