<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Параметр Number с ограничениями значений]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=13680&amp;type=atom" />
	<updated>2018-05-06T13:40:45Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=13680</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Параметр Number с ограничениями значений]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125159#p125159" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>mtc_err пишет:</cite><blockquote><p><strong>YMP</strong>, можно пример?</p></blockquote></div><p>Вот так, например:<br /></p><div class="codebox"><pre><code>
Gui, set:Add, DropDownList, vcisDelay, 1|2|3
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2018-05-06T13:40:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125159#p125159</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Параметр Number с ограничениями значений]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125157#p125157" />
			<content type="html"><![CDATA[<p>Если имеется в виду количество символов, то<br /></p><div class="codebox"><pre><code>Gui, Add, Edit,  Limit3
GUI, Show</code></pre></div><p>Если интересует именно значение, то нужно при каждом вводе делать проверку:<br /></p><div class="codebox"><pre><code>GUI, Add, Edit, Number Limit1 vMyEdit gMySub
GUI, Show
Return

MySub:
GUI, Submit, NoHide
IF MyEdit &gt; 3
SoundBeep</code></pre></div><p>Но лучше вариант <strong>YMP</strong>.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2018-05-06T12:59:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125157#p125157</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Параметр Number с ограничениями значений]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125156#p125156" />
			<content type="html"><![CDATA[<p><strong>YMP</strong>, можно пример?</p>]]></content>
			<author>
				<name><![CDATA[mtc_err]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39106</uri>
			</author>
			<updated>2018-05-06T12:56:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125156#p125156</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Параметр Number с ограничениями значений]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125151#p125151" />
			<content type="html"><![CDATA[<p>Так проще тогда список сделать выпадающий, из которого юзер и выберет одно из 3-х значений.</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2018-05-06T12:19:07Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125151#p125151</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Параметр Number с ограничениями значений]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125149#p125149" />
			<content type="html"><![CDATA[<p>Скажите пожалуйста, я хочу чтобы у параметра &quot;Number&quot; было ограничение по вводу значений, а именно от 1 до 3, если больше 3-х - не допускало и писало предупреждение.</p><br /><div class="codebox"><pre><code>Gui, set:Add, Edit, x10 y166 w80 h20 Number vcisDelay, %Delay%</code></pre></div><br /><p>Возможно ли такое реализовать? Заранее большое спасибо.</p>]]></content>
			<author>
				<name><![CDATA[mtc_err]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39106</uri>
			</author>
			<updated>2018-05-06T12:10:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125149#p125149</id>
		</entry>
</feed>
