<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DgsComboBoxGetItemBackGroundColor?action=history&amp;feed=atom</id>
	<title>DgsComboBoxGetItemBackGroundColor - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DgsComboBoxGetItemBackGroundColor?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsComboBoxGetItemBackGroundColor&amp;action=history"/>
	<updated>2026-05-17T01:12:19Z</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=DgsComboBoxGetItemBackGroundColor&amp;diff=77489&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;{{Client function}}  This function gets the background color of a specific item of the combo box.  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; int, int, int dgsComboBoxGetRowBackGroundColor( element comboBox, int itemIndex ) &lt;/syntaxhighlight&gt;   ===Required Arguments===  *'''comboBox:''' the combo box that you want to operate. *'''itemIndex:''' An integer of the item index.  ===Returns=== Returns 3 integers if exist are '''colorDefault''', '''colorHoving''', '''colorSelecte...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsComboBoxGetItemBackGroundColor&amp;diff=77489&amp;oldid=prev"/>
		<updated>2023-08-15T11:37:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Client function}}  This function gets the background color of a specific item of the combo box.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; int, int, int dgsComboBoxGetRowBackGroundColor( element comboBox, int itemIndex ) &amp;lt;/syntaxhighlight&amp;gt;   ===Required Arguments===  *&amp;#039;&amp;#039;&amp;#039;comboBox:&amp;#039;&amp;#039;&amp;#039; the combo box that you want to operate. *&amp;#039;&amp;#039;&amp;#039;itemIndex:&amp;#039;&amp;#039;&amp;#039; An integer of the item index.  ===Returns=== Returns 3 integers if exist are &amp;#039;&amp;#039;&amp;#039;colorDefault&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;colorHoving&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;colorSelecte...&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;
&lt;br /&gt;
This function gets the background color of a specific item of the combo box.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int, int, int dgsComboBoxGetRowBackGroundColor( element comboBox, int itemIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''comboBox:''' the combo box that you want to operate.&lt;br /&gt;
*'''itemIndex:''' An integer of the item index.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns 3 integers if exist are '''colorDefault''', '''colorHoving''', '''colorSelected''' correspondingly if get successfully, ''false'' if one of the arguments was invalid.&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;
combobox = DGS:dgsCreateComboBox(200,50,600,50,false)&lt;br /&gt;
for i=1,30 do&lt;br /&gt;
	DGS:dgsComboBoxAddItem(combobox,randomLetter(10)..tostring(i)..&amp;quot; Test DGS&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
local a,b,c = DGS:dgsComboBoxGetItemBackGroundColor(combobox, 2)&lt;br /&gt;
outputChatBox(tostring(a),tostring(b),tostring(c))&lt;br /&gt;
&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>