<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DgsTabPanelMoveTab?action=history&amp;feed=atom</id>
	<title>DgsTabPanelMoveTab - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DgsTabPanelMoveTab?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsTabPanelMoveTab&amp;action=history"/>
	<updated>2026-05-16T07:48:12Z</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=DgsTabPanelMoveTab&amp;diff=53888&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;__NOTOC__  {{Client function}} This function moves the tab to a specific index.  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; bool dgsTabPanelMoveTab ( element tabpanel, int from,...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsTabPanelMoveTab&amp;diff=53888&amp;oldid=prev"/>
		<updated>2018-02-06T10:41:46Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{Client function}} This function moves the tab to a specific index.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool dgsTabPanelMoveTab ( element tabpanel, int from,...&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 moves the tab to a specific index.&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 dgsTabPanelMoveTab ( element tabpanel, int from, int to )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''tabpanel:''' The tab panel you want to operate.&lt;br /&gt;
*'''from:''' The index of the tab you want to move.&lt;br /&gt;
*'''to:''' The index you want to move to.&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>