<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK:Как настроить расположение элементов управления (GUI)]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=13373&amp;type=atom" />
	<updated>2018-01-14T08:27:55Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=13373</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Как настроить расположение элементов управления (GUI)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=123066#p123066" />
			<content type="html"><![CDATA[<p>Проблема решена:<br /></p><div class="codebox"><pre><code>
Gui Margin, 15, 15; Необязательно(Можно убрать)
Gui, 2:Add, Text, section, Изменить на:
Gui, 2:Add, Edit,x80 y5 vBukva w20 h15 
GuiControlGet, Bukva
Gui Margin, 0,0; Необязательно(Можно убрать)
Gui, 2:Add, Button, x15 y27 gOK, Ок
Gui, 2:Add, Text, 
Gui, 2:Add, Button, x45 y27 gCANCEL,Отмена
Gui, 2:Show, 
return

OK:
msgBox, Ты нажал Ок
return

Cancel:
msgBox, Ты нажал Отмена
return

2Guiclose:
ExitApp
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Gutalin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39002</uri>
			</author>
			<updated>2018-01-14T08:27:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=123066#p123066</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK:Как настроить расположение элементов управления (GUI)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=123065#p123065" />
			<content type="html"><![CDATA[<p>Не могу понять как использовать опцию section , xs, ys для настройки расположения элементов управления (GUI).<br />То что написано в документации я не могу понять , могли бы Вы мне объяснить на моём примере. В моём коде меня не устраивает, что кнопка ОК не в одной горизонтали с кнопкой Cancel. Вот код:<br /></p><div class="codebox"><pre><code>
Gui Margin, 15, 15
Gui, 2:Add, Text, section, Изменить на:
Gui, 2:Add, Edit,ys vBukva w20 h15 
GuiControlGet, Bukva
Gui Margin, 0,0
Gui, 2:Add, Text, xs,
Gui, 2:Add, Button, , Ок
Gui, 2:Add, Text, ys,
Gui, 2:Add, Button, ,Отмена
Gui, 2:Show, 
return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Gutalin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39002</uri>
			</author>
			<updated>2018-01-13T19:23:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=123065#p123065</id>
		</entry>
</feed>
