<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: GUI и Drop Down List]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=7817</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=7817&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: GUI и Drop Down List».]]></description>
		<lastBuildDate>Tue, 27 Nov 2012 15:48:05 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: GUI и Drop Down List]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=66221#p66221</link>
			<description><![CDATA[<p>Честно говоря, не знаю, что там происходит &quot;под капотом&quot;. Да, наверно, какая-то переинициализация.</p>]]></description>
			<author><![CDATA[null@example.com (YMP)]]></author>
			<pubDate>Tue, 27 Nov 2012 15:48:05 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=66221#p66221</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI и Drop Down List]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=66220#p66220</link>
			<description><![CDATA[<p>Pipe - вертикальная черта (символ-&quot;конвейер&quot;)<br />Для того, чтобы заменить (перезаписать) перечень,&nbsp; в качестве первого символа поставьте вертикальную черту.<br /></p><div class="quotebox"><blockquote><p>Получается, что при замене списка, список (новый либо старый) перезапускается и соответственно возвращается в первоначальное состояние (когда видна только пустота, если не ставить двойную палочку), как и в момент запуска скрипта?</p></blockquote></div><p>Ну да, как будто его не трогали.</p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Tue, 27 Nov 2012 15:32:01 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=66220#p66220</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI и Drop Down List]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=66218#p66218</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Tue, 27 Nov 2012 15:00:12 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=66218#p66218</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI и Drop Down List]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=66216#p66216</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (YMP)]]></author>
			<pubDate>Tue, 27 Nov 2012 13:55:54 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=66216#p66216</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI и Drop Down List]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=66215#p66215</link>
			<description><![CDATA[<p>Я имею ввиду равны, не то, что они равны арифметически, а то что они пустые чисто зрительно без всякого пробела.<br />А очищать другие поля надо, чтобы можно было выбрать только один вариант из четырех.</p>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Tue, 27 Nov 2012 12:57:09 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=66215#p66215</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI и Drop Down List]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=66214#p66214</link>
			<description><![CDATA[<p>А чему они должны быть равны? И что &quot;такое&quot; имеется в виду сделать?<br />Вообще, для чего нужно очищать остальные поля?</p>]]></description>
			<author><![CDATA[null@example.com (YMP)]]></author>
			<pubDate>Tue, 27 Nov 2012 12:45:20 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=66214#p66214</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI и Drop Down List]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=66213#p66213</link>
			<description><![CDATA[<p>Но если запустить скрипт, то изначальные значения всех DDL ничему не равны.<br />Почему так?<br />И такое возможно сделать уже после выбора какого-либо значения?</p>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Tue, 27 Nov 2012 12:11:26 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=66213#p66213</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI и Drop Down List]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=66211#p66211</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Tue, 27 Nov 2012 11:41:50 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=66211#p66211</guid>
		</item>
		<item>
			<title><![CDATA[AHK: GUI и Drop Down List]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=66210#p66210</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Tue, 27 Nov 2012 10:23:17 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=66210#p66210</guid>
		</item>
	</channel>
</rss>
