<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Работа с полями для ввода]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=8965&amp;type=atom" />
	<updated>2013-12-14T16:03:52Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=8965</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Работа с полями для ввода]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78116#p78116" />
			<content type="html"><![CDATA[<p>Спасибо! Тема с полями закрыта. Разобрался с вашей помощью и сделал все что мне нужно было)</p>]]></content>
			<author>
				<name><![CDATA[Qweasd123]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31279</uri>
			</author>
			<updated>2013-12-14T16:03:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78116#p78116</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Работа с полями для ввода]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78113#p78113" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Qweasd123 пишет:</cite><blockquote><p>Но почему у меня не получается установить начальное значение координат</p></blockquote></div><p>Это от того, что в коде как следует не разобрался. Здесь нужно понять, где именно они задаются, и почитать, как вообще задаются координаты для контролов.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-12-14T14:41:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78113#p78113</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Работа с полями для ввода]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78112#p78112" />
			<content type="html"><![CDATA[<p>Благодарю! Очень помог! Но почему у меня не получается установить начальное значение координат X,Y ? Присваиваю им значение&nbsp; X:=&nbsp; 12, Y:= 82 и не выходит.</p>]]></content>
			<author>
				<name><![CDATA[Qweasd123]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31279</uri>
			</author>
			<updated>2013-12-14T14:31:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78112#p78112</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Работа с полями для ввода]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78069#p78069" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>row := 3, col := 5

w := 40  ; ширина поля
h := 21  ; высота поля
a := 5   ; расстояние между колонками
b := 5   ; расстояние между рядами

CharacterCode := Asc(&quot;A&quot;) - 1

Loop % col
{
   n := A_Index
   Loop % row
   {
      Gui, Add, Edit, % &quot;x&quot; (n = 1 ? 10 : (A_Index = 1 ? &quot;+&quot; . a : &quot;p&quot;))
         . &quot; y&quot; (A_Index = 1 ? 10 : &quot;+&quot; . b)
         . &quot; w&quot; w &quot; h&quot; h
         . &quot; v&quot; (c := A_Index = 1 ? Chr(++CharacterCode) . &quot;Edit&quot; 
         . (m := 1) : Chr(CharacterCode) . &quot;Edit&quot; . ++m), % c   ; последний параметр &quot;c&quot; для демонстрации, можно убрать
      k := A_Index + (n - 1)*row
   }
}

Gui, Add, Button, xp-10 y+5 w50, Hide
Gui, Show
return

GuiClose:
   ExitApp

ButtonHide:
   Loop % k
      GuiControl, Hide, Edit%A_Index%
   return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-12-12T13:47:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78069#p78069</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Работа с полями для ввода]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78045#p78045" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><div class="quotebox"><cite>Qweasd123 пишет:</cite><blockquote><p>Слово даю это последняя вещь которая мне нужна, помогите пожалуйста.</p></blockquote></div><p>Не зарекайтесь. <img src="//forum.script-coding.com/img/smilies/wink.png" width="15" height="15" /> Если не понятно что-то конкретное, спрашивайте.</p></blockquote></div><p>Мне бы пример для 2 столбцов. Например чтобы всем элементам 1 столбца задавалась переменная AEdit%A_Index%, а всем элементам 2 столбца переменная BEdit%A_Index%.</p><p>Да и вообще непонятно как задать так чтобы функция определяла то что наступил конец 1 столбца и наступает начало 2 столбца?</p>]]></content>
			<author>
				<name><![CDATA[Qweasd123]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31279</uri>
			</author>
			<updated>2013-12-11T19:51:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78045#p78045</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Работа с полями для ввода]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78044#p78044" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Qweasd123 пишет:</cite><blockquote><p>Слово даю это последняя вещь которая мне нужна, помогите пожалуйста.</p></blockquote></div><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>2013-12-11T19:49:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78044#p78044</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Работа с полями для ввода]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78042#p78042" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Если поймёте принцип работы вышеприведённого скрипта, сможете поэкспериментировать над этим. Считайте домашним заданием.</p></blockquote></div><p>Я понимаю что достал вас, но в том то и дело сравниваю 2 скрипта ( обозначение по горизонтали переменных и по вертикали ) и не понимаю. </p><p>Слово даю это последняя вещь которая мне нужна, помогите пожалуйста.</p>]]></content>
			<author>
				<name><![CDATA[Qweasd123]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31279</uri>
			</author>
			<updated>2013-12-11T19:42:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78042#p78042</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Работа с полями для ввода]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78039#p78039" />
			<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>2013-12-11T19:39:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78039#p78039</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Работа с полями для ввода]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=78037#p78037" />
			<content type="html"><![CDATA[<p>Большое спасибо! А как сделать чтобы всему первому столбцу задавалась переменная AEdit1, AEdit2 и т.д...<br />Всему второму столбцу BEdit1, BEdit2 и т.д... Всему третьему CEdit1,CEdit2 и т.д...&nbsp; ?</p><p>И всем столбцам по алфавиту.</p>]]></content>
			<author>
				<name><![CDATA[Qweasd123]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31279</uri>
			</author>
			<updated>2013-12-11T19:25:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=78037#p78037</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Работа с полями для ввода]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77995#p77995" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>row := 3, col :=5

w := 40  ; ширина поля
h := 21  ; высота поля
a := 5   ; расстояние между колонками
b := 5   ; расстояние между рядами

Loop % col
{
   n := A_Index
   Loop % row
      Gui, Add, Edit, % &quot;x&quot; (n = 1 ? 10 : (A_Index = 1 ? &quot;+&quot; . a : &quot;p&quot;))
         . &quot; y&quot; (A_Index = 1 ? 10 : &quot;+&quot; . b)
         . &quot; w&quot; w &quot; h&quot; h
         . &quot; vEdit&quot; k := A_Index + (n - 1)*row
}

Gui, Add, Button, xp-10 y+5 w50, Hide
Gui, Show
return

GuiClose:
   ExitApp

ButtonHide:
   Loop % k
      GuiControl, Hide, Edit%A_Index%
   return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-12-11T03:37:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77995#p77995</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Работа с полями для ввода]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77987#p77987" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Поля создаются слева направо и сверху вниз. В названиях переменных увеличивается на единицу число в конце, от Edit1 до Edit15..</p></blockquote></div><p>Как сделать чтобы поля создавались всегда сверху вниз? Мне нужно чтобы каждое поле имело переменную по нарастующей сверху вниз, а не слева на право.</p>]]></content>
			<author>
				<name><![CDATA[Qweasd123]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31279</uri>
			</author>
			<updated>2013-12-10T18:00:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77987#p77987</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Работа с полями для ввода]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77835#p77835" />
			<content type="html"><![CDATA[<p>Все, разобрался с этими проблемами! Спасибо за помощь!</p>]]></content>
			<author>
				<name><![CDATA[Qweasd123]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31279</uri>
			</author>
			<updated>2013-12-04T21:03:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77835#p77835</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Работа с полями для ввода]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77832#p77832" />
			<content type="html"><![CDATA[<p>Я туговат! <img src="//forum.script-coding.com/img/smilies/roll.png" width="15" height="15" /> Подскажите пожалуйста лучше кодом, почему не выводилось %Edit2%? Теория так скажем плохо мне дается, на практике лучше понимаю.</p>]]></content>
			<author>
				<name><![CDATA[Qweasd123]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31279</uri>
			</author>
			<updated>2013-12-04T20:29:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77832#p77832</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Работа с полями для ввода]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77831#p77831" />
			<content type="html"><![CDATA[<p><strong>Qweasd123</strong>, вчитайтесь внимательно в предыдущий мой ответ <img src="//forum.script-coding.com/img/smilies/smile.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>2013-12-04T20:27:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77831#p77831</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Работа с полями для ввода]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77830#p77830" />
			<content type="html"><![CDATA[<p>Тогда как присвоить содержимое введенного текста?</p>]]></content>
			<author>
				<name><![CDATA[Qweasd123]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31279</uri>
			</author>
			<updated>2013-12-04T20:24:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77830#p77830</id>
		</entry>
</feed>
