<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Formularüberprüfung]]></title><description><![CDATA[<p>Hi @ all</p>
<p>Ich habe ein kleines Problem.<br />
Ich bin absoluter Anfänger mit der VCL.<br />
Nun wollte ich bei einem OnExit-Event eines Edit-Steuerelements überprüfen, ob dies nur Zahlen enthält.<br />
Wenn nicht kommt eine Fehlermeldung (Application-&gt;MessageBox)<br />
Wie überprüfe ich den String auf Zahlen (Edit-&gt;Text)?</p>
<p>Sehr dankbar für Hilfe.:)</p>
<p>Vielen Dank.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/186448/formularüberprüfung</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 15:06:18 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/186448.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 09 Jul 2007 07:36:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Formularüberprüfung on Mon, 09 Jul 2007 07:36:40 GMT]]></title><description><![CDATA[<p>Hi @ all</p>
<p>Ich habe ein kleines Problem.<br />
Ich bin absoluter Anfänger mit der VCL.<br />
Nun wollte ich bei einem OnExit-Event eines Edit-Steuerelements überprüfen, ob dies nur Zahlen enthält.<br />
Wenn nicht kommt eine Fehlermeldung (Application-&gt;MessageBox)<br />
Wie überprüfe ich den String auf Zahlen (Edit-&gt;Text)?</p>
<p>Sehr dankbar für Hilfe.:)</p>
<p>Vielen Dank.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1321181</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1321181</guid><dc:creator><![CDATA[C++ Freak]]></dc:creator><pubDate>Mon, 09 Jul 2007 07:36:40 GMT</pubDate></item><item><title><![CDATA[Reply to Formularüberprüfung on Mon, 09 Jul 2007 07:43:26 GMT]]></title><description><![CDATA[<p>Hallo,<br />
Schau mal hier<br />
<a href="http://www.bytesandmore.de/rad/cpp/snipp/sc02025.php" rel="nofollow">http://www.bytesandmore.de/rad/cpp/snipp/sc02025.php</a><br />
Auch noch möglich ist die Verwendung der Funktion isdigit().</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1321191</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1321191</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Mon, 09 Jul 2007 07:43:26 GMT</pubDate></item><item><title><![CDATA[Reply to Formularüberprüfung on Mon, 09 Jul 2007 07:43:57 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Das kannst du zum Beispiel so machen</p>
<pre><code class="language-cpp">try
{
  int Test = StrToInt(Edit1-&gt;Text);
}
catch(...)
{
  // Fehlerbehandlung
}
</code></pre>
<p>Allerdings solltest du besser gleich darauf achten das der User in deine Felder nur sinnvolle Werte eintragen kann.<br />
Entweder benutzt du TMaskEdit oder schaust dir <a href="http://www.bytesandmore.de/rad/index.htm?http://www.bytesandmore.de/rad/cpp/snipp/sc02025.php" rel="nofollow">diese</a> WinAPI-Möglichkeit an</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1321193</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1321193</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 09 Jul 2007 07:43:57 GMT</pubDate></item></channel></rss>