<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — Поле ввода. Чтение отсутствия значений.]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1213&amp;type=atom" />
	<updated>2021-02-12T13:33:27Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1213</id>
		<entry>
			<title type="html"><![CDATA[Re: Поле ввода. Чтение отсутствия значений.]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3552#p3552" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Sigurancev wrote:</cite><blockquote><p>Подскажите, как получить состояние, что в поле ввода ничего не введено?</p><p>То есть, если введен ноль или любое другое значение, то делаем одно.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;если при подключении не ввели ничего или стерли ранее введенные данные, то делаем другое.</p></blockquote></div><p>Достаточно проверить что первый байт поля ввода равен нулю, т.е. концу строки в терминах C++.<br /></p><div class="codebox"><pre><code>  if (RemoteXY.edit_1[0] == 0) {
    // edit is free
  }</code></pre></div>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2021-02-12T13:33:27Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3552#p3552</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Поле ввода. Чтение отсутствия значений.]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3483#p3483" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Sigurancev wrote:</cite><blockquote><p>Подскажите, как получить состояние, что в поле ввода ничего не введено?</p><p>То есть, если введен ноль или любое другое значение, то делаем одно.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;если при подключении не ввели ничего или стерли ранее введенные данные, то делаем другое.</p></blockquote></div><p>via Google Translate -</p><p><span style="color: red">&quot;Topic: Input field. Reading missing values.</span></p><p><span style="color: red">Tell me how to get the state that nothing is entered in the input field?</span></p><p><span style="color: red">That is, if zero or any other value is entered, then we do one thing.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if you did not enter anything when connecting or deleted the previously entered data, then we do something else.&quot;</span></p><p>This is not directly possible.</p><p>However, what you might try is to place a button behind the input field. Capture the button press in your code to say that the input field has been used.</p><p>via Google Translate -</p><p>&quot;Это невозможно напрямую.</p><p>Однако вы можете попробовать разместить кнопку за полем ввода. Захватите нажатие кнопки в своем коде, чтобы сказать, что поле ввода было использовано.&quot;</p>]]></content>
			<author>
				<name><![CDATA[Daba]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=630</uri>
			</author>
			<updated>2020-12-07T12:51:24Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3483#p3483</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Поле ввода. Чтение отсутствия значений.]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3482#p3482" />
			<content type="html"><![CDATA[<p>Подскажите, как получить состояние, что в поле ввода ничего не введено?</p><p>То есть, если введен ноль или любое другое значение, то делаем одно.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;если при подключении не ввели ничего или стерли ранее введенные данные, то делаем другое.</p>]]></content>
			<author>
				<name><![CDATA[Sigurancev]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1642</uri>
			</author>
			<updated>2020-12-07T11:43:39Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3482#p3482</id>
		</entry>
</feed>
