<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/CustomLabel:removeElement?action=history&amp;feed=atom</id>
	<title>CustomLabel:removeElement - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/CustomLabel:removeElement?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomLabel:removeElement&amp;action=history"/>
	<updated>2026-05-18T13:16:11Z</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=CustomLabel:removeElement&amp;diff=58863&amp;oldid=prev</id>
		<title>AriosJentu: Created page with &quot;__NOTOC__ {{Client function}} This function removing object from Label. Removing all parameters. Recommend after this function removing object with destroyElement or CustomW...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomLabel:removeElement&amp;diff=58863&amp;oldid=prev"/>
		<updated>2018-09-05T16:49:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__ {{Client function}} This function removing object from Label. Removing all parameters. Recommend after this function removing object with destroyElement or CustomW...&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 removing object from Label. Removing all parameters. Recommend after this function removing object with destroyElement or [[CustomWidget:destroy]] method.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
nil CustomLabel:removeElement(cwidget Element)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required Arguments === &lt;br /&gt;
*'''Element'''  - Custom Widget element, what connected to Label.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This example creates window with scroll pane with 2 buttons:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local Window = CustomWindow.create(50, 50, 190, 100, &amp;quot;Example&amp;quot;)&lt;br /&gt;
local Label = CustomLabel.create(5, 25, 180, 70, &amp;quot;Example&amp;quot;, false, Window)&lt;br /&gt;
&lt;br /&gt;
local Button = CustomButton.create(50, 5, 80, 25, &amp;quot;Button&amp;quot;, false, Label)&lt;br /&gt;
&lt;br /&gt;
Label:removeElement(Button)&lt;br /&gt;
Button:destroy() &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{CWSFUNCS}}&lt;/div&gt;</summary>
		<author><name>AriosJentu</name></author>
	</entry>
</feed>