<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Как проверить состояние Checkbox'a ?]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11645&amp;type=atom" />
	<updated>2016-05-29T14:22:45Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11645</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как проверить состояние Checkbox'a ?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104402#p104402" />
			<content type="html"><![CDATA[<p>Благодарю</p>]]></content>
			<author>
				<name><![CDATA[grigo.alek]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33905</uri>
			</author>
			<updated>2016-05-29T14:22:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104402#p104402</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как проверить состояние Checkbox'a ?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104394#p104394" />
			<content type="html"><![CDATA[<p>Узнать на момент нажатия самого CheckBox:<br /></p><div class="codebox"><pre><code>Gui, Add, CheckBox, vskill_1 gCB1
Gui,show,w100 h100
return


CB1:
GuicontrolGet,skill_1
ToolTip % skill_1</code></pre></div><p>Узнать при нажатии клавиши:<br /></p><div class="codebox"><pre><code>Gui, Add, CheckBox, vskill_1
Gui,show,w100 h100
return


F1::
GuicontrolGet,skill_1
msgbox % skill_1</code></pre></div>]]></content>
			<author>
				<name><![CDATA[yalanne]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32850</uri>
			</author>
			<updated>2016-05-29T13:45:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104394#p104394</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Как проверить состояние Checkbox'a ?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104385#p104385" />
			<content type="html"><![CDATA[<p>Я справку читал, но так и не понял.</p><p>Как поместить в переменную состояние чекбокса?</p><p>Вот так?<br /></p><div class="codebox"><pre><code>Gui, Add, CheckBox, vskill_1</code></pre></div><p>Или вот так?<br /></p><div class="codebox"><pre><code>Gui, Add, CheckBox, checked%skill_1%</code></pre></div><p>Потом пытался вот так проверить, работает или нет:<br /></p><div class="codebox"><pre><code>^n::
	if skill_1
		msgbox Checked
	else
		msgbox Not checked</code></pre></div><p>И как сделать так, чтобы значение в переменной обновлялось, если состояние чекбокса меняется? <img src="//forum.script-coding.com/img/smilies/sad.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[grigo.alek]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33905</uri>
			</author>
			<updated>2016-05-29T12:31:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104385#p104385</id>
		</entry>
</feed>
