<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Gui, Add, DateTime запоминание предыдущего значения]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=10605&amp;type=atom" />
	<updated>2015-04-27T19:17:39Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=10605</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Gui, Add, DateTime запоминание предыдущего значения]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93658#p93658" />
			<content type="html"><![CDATA[<p>На самом деле просто не нужно использовать глобальных переменных, и не будет проблем. <img src="//forum.script-coding.com/img/smilies/wink.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-04-27T19:17:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93658#p93658</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Gui, Add, DateTime запоминание предыдущего значения]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93657#p93657" />
			<content type="html"><![CDATA[<p>У меня просто значения даты импортируются в скрипт через #Include.<br />И там уже прописаны конкретные названия переменных, которые идентичны названиям переменных в Гуи.<br />Раз дата автоматически делает Submit, то буду дублировать при создании Гуи эти переменные, как datePrev := date.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2015-04-27T19:11:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93657#p93657</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Gui, Add, DateTime запоминание предыдущего значения]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93656#p93656" />
			<content type="html"><![CDATA[<p>Не пойму, задача-то в чём?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-04-27T19:02:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93656#p93656</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Gui, Add, DateTime запоминание предыдущего значения]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93655#p93655" />
			<content type="html"><![CDATA[<p>То есть единственный вариант так?<br /></p><div class="codebox"><pre><code>datePrev := &quot;1001&quot;
Gui, Add, DateTime, vDate
Gui, Add, Button, gChk, Test
Gui, Show
return

Chk:
Gui, Submit, NoHide
msgbox % datePrev &quot;`n&quot; date
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2015-04-27T18:51:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93655#p93655</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Gui, Add, DateTime запоминание предыдущего значения]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93654#p93654" />
			<content type="html"><![CDATA[<p>Конечно, возможно. Просто не присваивай ему переменную.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-04-27T18:31:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93654#p93654</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Gui, Add, DateTime запоминание предыдущего значения]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93653#p93653" />
			<content type="html"><![CDATA[<p>Возможно ли избежать Submit при изменении значения контрола DateTime?<br />Если в этом скрипте после запуска изменить в Гуи Ivan и дату, то после нажатия на Test даты будут одинаковы.<br /></p><div class="codebox"><pre><code>name := &quot;Ivan&quot;
date := &quot;1001&quot;
Gui, Add, Edit, vName, Ivan
Gui, Add, DateTime, vDate
Gui, Add, Button, gChk, Test
Gui, Show
return

Chk:
namePrev := name
datePrev := date
Gui, Submit, NoHide
msgbox % namePrev &quot;`n&quot; name
msgbox % datePrev &quot;`n&quot; date
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2015-04-27T18:13:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93653#p93653</id>
		</entry>
</feed>
