<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DgsTabPanelGetTabID?action=history&amp;feed=atom</id>
	<title>DgsTabPanelGetTabID - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DgsTabPanelGetTabID?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsTabPanelGetTabID&amp;action=history"/>
	<updated>2026-04-05T06:34:14Z</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=DgsTabPanelGetTabID&amp;diff=53889&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;__NOTOC__  {{Client function}} This function gets the index of the tab.  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; bool dgsTabPanelGetTabID ( element tab ) &lt;/syntaxhighlight&gt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsTabPanelGetTabID&amp;diff=53889&amp;oldid=prev"/>
		<updated>2018-02-06T10:43:56Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{Client function}} This function gets the index of the tab.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool dgsTabPanelGetTabID ( element tab ) &amp;lt;/syntaxhighlight&amp;gt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function gets the index of the tab.&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 dgsTabPanelGetTabID ( element tab )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''tab:''' The tab you want to get id from.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if succeed, ''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;
matab = DGS:dgsCreateTabPanel (0.22, 0.19, 0.56, 0.63,true)&lt;br /&gt;
tab1 = DGS:dgsCreateTab(&amp;quot;Main&amp;quot;,matab)&lt;br /&gt;
tab2 = DGS:dgsCreateTab(&amp;quot;Rules&amp;quot;,matab)&lt;br /&gt;
tab3 = DGS:dgsCreateTab(&amp;quot;FAQ&amp;quot;,matab)&lt;br /&gt;
tab4 = DGS:dgsCreateTab(&amp;quot;About Us&amp;quot;,matab)&lt;br /&gt;
local id = DGS:dgsTabPanelGetTabID(tab2)&lt;br /&gt;
DGS:dgsTabPanelMoveTab(matab,id,4)&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>