<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://macros.gibbscam.com/index.php?action=history&amp;feed=atom&amp;title=SET_STATE</id>
	<title>SET STATE - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://macros.gibbscam.com/index.php?action=history&amp;feed=atom&amp;title=SET_STATE"/>
	<link rel="alternate" type="text/html" href="https://macros.gibbscam.com/index.php?title=SET_STATE&amp;action=history"/>
	<updated>2026-12-05T11:05:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://macros.gibbscam.com/index.php?title=SET_STATE&amp;diff=7098&amp;oldid=prev</id>
		<title>Mikeo: Created page with &quot;{{Up}}  {{Command|syntax=SET_STATE &lt;value&gt;, &lt;control to set&gt;, &lt;initial state&gt; |description=:Set the initial state of a dialog control.&lt;br&gt; :For example, d...&quot;</title>
		<link rel="alternate" type="text/html" href="https://macros.gibbscam.com/index.php?title=SET_STATE&amp;diff=7098&amp;oldid=prev"/>
		<updated>2015-08-27T15:07:09Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=Category:Dialog&quot; title=&quot;Category:Dialog&quot;&gt;{{Up}}&lt;/a&gt;  {{Command|syntax=SET_STATE &amp;lt;value&amp;gt;, &amp;lt;control to set&amp;gt;, &amp;lt;initial state&amp;gt; |description=:Set the initial state of a dialog control.&amp;lt;br&amp;gt; :For example, d...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[:Category:Dialog|{{Up}}]]&lt;br /&gt;
&lt;br /&gt;
{{Command|syntax=SET_STATE &amp;lt;value&amp;gt;, &amp;lt;control to set&amp;gt;, &amp;lt;initial state&amp;gt;&lt;br /&gt;
|description=:Set the initial state of a dialog control.&amp;lt;br&amp;gt;&lt;br /&gt;
:For example, disable an input box when the dialog is opened.&lt;br /&gt;
&lt;br /&gt;
|param1=&amp;lt;value&amp;gt;|param1_desc=set the state is this value is 1&lt;br /&gt;
|param2=&amp;lt;control to set&amp;gt;|param2_desc=Name of the control&lt;br /&gt;
|param3=&amp;lt;initial state&amp;gt;|param3_desc=The state must be one of SHOW, HIDE, ENABLE or DISABLE.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
:SET_STATE iVal, INPUT5, ENABLE&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:This will enable the 5th input box when the value of the variable iVal is 1.&lt;br /&gt;
:The opposite also applies, the input box will be disabled when iVal is not 1.&lt;br /&gt;
&lt;br /&gt;
[[Category:Dialog]]&lt;/div&gt;</summary>
		<author><name>Mikeo</name></author>
	</entry>
</feed>