<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: GUI и Drop Down List]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=7817&amp;type=atom" />
	<updated>2012-11-27T15:48:05Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=7817</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GUI и Drop Down List]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=66221#p66221" />
			<content type="html"><![CDATA[<p>Честно говоря, не знаю, что там происходит &quot;под капотом&quot;. Да, наверно, какая-то переинициализация.</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2012-11-27T15:48:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=66221#p66221</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GUI и Drop Down List]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=66220#p66220" />
			<content type="html"><![CDATA[<p>Pipe - вертикальная черта (символ-&quot;конвейер&quot;)<br />Для того, чтобы заменить (перезаписать) перечень,&nbsp; в качестве первого символа поставьте вертикальную черту.<br /></p><div class="quotebox"><blockquote><p>Получается, что при замене списка, список (новый либо старый) перезапускается и соответственно возвращается в первоначальное состояние (когда видна только пустота, если не ставить двойную палочку), как и в момент запуска скрипта?</p></blockquote></div><p>Ну да, как будто его не трогали.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2012-11-27T15:32:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=66220#p66220</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GUI и Drop Down List]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=66218#p66218" />
			<content type="html"><![CDATA[<p>Да, именно это я и имел в виду. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br />А можете объяснить, почему исчезают значения DDL.<br />Из-за этого?<br /></p><div class="quotebox"><blockquote><p>To replace (overwrite) the list instead, include a pipe as the first character (e.g. |Red|Green|Blue)</p></blockquote></div><p>Получается, что при замене списка, список (новый либо старый) перезапускается и соответственно возвращается в первоначальное состояние (когда видна только пустота, если не ставить двойную палочку), как и в момент запуска скрипта?</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2012-11-27T15:00:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=66218#p66218</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GUI и Drop Down List]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=66216#p66216" />
			<content type="html"><![CDATA[<p>Может быть, вот это вы имеете в виду.<br /></p><div class="codebox"><pre><code>
VideoEffects = 1|2|3
VideoTransitions = 1|2|3
AudioEffects = 1|2|3
AudioTransitions = 1|2|3
 
Gui, Add, Text, x50 y80 w90 Center,Видеоэффекты
Gui, Add, DropDownList, vEffectChoice1 gEffect1, %VideoEffects%
Gui, Add, Text, x50 y120 w90 Center,Видеопереходы
Gui, Add, DropDownList, vEffectChoice2 gEffect2, %VideoTransitions%
Gui, Add, Text, x50 y160 w90 Center,Аудиоэффекты
Gui, Add, DropDownList, vEffectChoice3 gEffect3, %AudioEffects%
Gui, Add, Text, x50 y200 w90 Center,Аудиопереходы
Gui, Add, DropDownList, vEffectChoice4 gEffect4, %AudioTransitions%
Gui, Show, h300, Effect Finder
return
 
Effect1:
GuiControl,, EffectChoice2, |1|2|3
GuiControl,, EffectChoice3, |1|2|3
GuiControl,, EffectChoice4, |1|2|3
return
 
Effect2:
GuiControl,, EffectChoice1, |1|2|3
GuiControl,, EffectChoice3, |1|2|3
GuiControl,, EffectChoice4, |1|2|3
return
 
Effect3:
GuiControl,, EffectChoice1, |1|2|3
GuiControl,, EffectChoice2, |1|2|3
GuiControl,, EffectChoice4, |1|2|3
return
 
Effect4:
GuiControl,, EffectChoice1, |1|2|3
GuiControl,, EffectChoice2, |1|2|3
GuiControl,, EffectChoice3, |1|2|3
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2012-11-27T13:55:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=66216#p66216</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GUI и Drop Down List]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=66215#p66215" />
			<content type="html"><![CDATA[<p>Я имею ввиду равны, не то, что они равны арифметически, а то что они пустые чисто зрительно без всякого пробела.<br />А очищать другие поля надо, чтобы можно было выбрать только один вариант из четырех.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2012-11-27T12:57:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=66215#p66215</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GUI и Drop Down List]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=66214#p66214" />
			<content type="html"><![CDATA[<p>А чему они должны быть равны? И что &quot;такое&quot; имеется в виду сделать?<br />Вообще, для чего нужно очищать остальные поля?</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2012-11-27T12:45:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=66214#p66214</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GUI и Drop Down List]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=66213#p66213" />
			<content type="html"><![CDATA[<p>Но если запустить скрипт, то изначальные значения всех DDL ничему не равны.<br />Почему так?<br />И такое возможно сделать уже после выбора какого-либо значения?</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2012-11-27T12:11:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=66213#p66213</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GUI и Drop Down List]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=66211#p66211" />
			<content type="html"><![CDATA[<p>Вроде и так нормально. Ещё варинат:<br /></p><div class="quotebox"><blockquote><p><em><strong>GuiControl</strong>, ChooseString, ControlID, String</em>: Sets the selection (choice) in a ListBox, DropDownList, ComboBox, or Tab control to be the entry whose leading part matches String. The search is not case sensitive. For example, if a the control contains the item &quot;UNIX Text&quot;, specifying the word unix (lowercase) would be enough to select it. The pipe and double-pipe prefix are also supported (see &quot;Choose&quot; above for details).</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2012-11-27T11:41:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=66211#p66211</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: GUI и Drop Down List]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=66210#p66210" />
			<content type="html"><![CDATA[<p>Имеем 4 DDL.<br />Нужно, чтобы при выборе значения в одном из них, остальные показывали пустоту.<br />Как такое сделать?<br />Пока пришло в голову через пробелы.<br /></p><div class="codebox"><pre><code>VideoEffects = |1|2|3
VideoTransitions = |1|2|3
AudioEffects = |1|2|3
AudioTransitions = |1|2|3

Gui, Add, Text, x50 y80 w90 Center,Видеоэффекты
Gui, Add, DropDownList, vEffectChoice1 gEffect1, %VideoEffects%
Gui, Add, Text, x50 y120 w90 Center,Видеопереходы
Gui, Add, DropDownList, vEffectChoice2 gEffect2, %VideoTransitions%
Gui, Add, Text, x50 y160 w90 Center,Аудиоэффекты
Gui, Add, DropDownList, vEffectChoice3 gEffect3, %AudioEffects%
Gui, Add, Text, x50 y200 w90 Center,Аудиопереходы
Gui, Add, DropDownList, vEffectChoice4 gEffect4, %AudioTransitions%
Gui, Show, h300, Effect Finder
return

Effect1:
GuiControl, Choose, EffectChoice2, 1
GuiControl, Choose, EffectChoice3, 1
GuiControl, Choose, EffectChoice4, 1
return

Effect2:
GuiControl, Choose, EffectChoice1, 1
GuiControl, Choose, EffectChoice3, 1
GuiControl, Choose, EffectChoice4, 1
return

Effect3:
GuiControl, Choose, EffectChoice1, 1
GuiControl, Choose, EffectChoice2, 1
GuiControl, Choose, EffectChoice4, 1
return

Effect4:
GuiControl, Choose, EffectChoice1, 1
GuiControl, Choose, EffectChoice2, 1
GuiControl, Choose, EffectChoice3, 1
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2012-11-27T10:23:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=66210#p66210</id>
		</entry>
</feed>
