<?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[automatischer Tabulator per Return]]></title><description><![CDATA[<p>Hallo,</p>
<p>da ich im Forum nicht fündig geworden bin, poste ich nun mal meine Frage:</p>
<p>Ich schreibe einen kleinen Taschenrechner und möchte nun, wenn ich die Eingabe im ersten Edit-Feld (TabOrder = 0) mit Return bestätige, dass automatisch zum nächsten Edit-Feld (TabOrder = 1) gesprungen wird.</p>
<p>Mein Ansatz:</p>
<pre><code class="language-cpp">void __fastcall TForm1::edit_eingabe_1KeyDown(TObject *Sender, WORD &amp;Key,
      TShiftState Shift)
{
   if (Key == VK_RETURN) {
      Form1-&gt;TabOrder=1;
   }
}
</code></pre>
<p>Funktioniert aber nicht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /> Kann mir jemand einen Lösungsansatz geben?</p>
<p>Gruß</p>
<p>cosmic</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/163706/automatischer-tabulator-per-return</link><generator>RSS for Node</generator><lastBuildDate>Wed, 12 Aug 2026 03:49:24 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/163706.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 01 Nov 2006 09:13:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to automatischer Tabulator per Return on Wed, 01 Nov 2006 09:13:42 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>da ich im Forum nicht fündig geworden bin, poste ich nun mal meine Frage:</p>
<p>Ich schreibe einen kleinen Taschenrechner und möchte nun, wenn ich die Eingabe im ersten Edit-Feld (TabOrder = 0) mit Return bestätige, dass automatisch zum nächsten Edit-Feld (TabOrder = 1) gesprungen wird.</p>
<p>Mein Ansatz:</p>
<pre><code class="language-cpp">void __fastcall TForm1::edit_eingabe_1KeyDown(TObject *Sender, WORD &amp;Key,
      TShiftState Shift)
{
   if (Key == VK_RETURN) {
      Form1-&gt;TabOrder=1;
   }
}
</code></pre>
<p>Funktioniert aber nicht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /> Kann mir jemand einen Lösungsansatz geben?</p>
<p>Gruß</p>
<p>cosmic</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1165974</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1165974</guid><dc:creator><![CDATA[cosmicblue]]></dc:creator><pubDate>Wed, 01 Nov 2006 09:13:42 GMT</pubDate></item><item><title><![CDATA[Reply to automatischer Tabulator per Return on Wed, 01 Nov 2006 09:17:25 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>das hatten wir doch erst gestern <a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-163634.html" rel="nofollow">hier</a></p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1165978</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1165978</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 01 Nov 2006 09:17:25 GMT</pubDate></item><item><title><![CDATA[Reply to automatischer Tabulator per Return on Wed, 01 Nov 2006 09:19:28 GMT]]></title><description><![CDATA[<p>Alternativ kann man hier auch SetFocus() verwenden, da das nächste Control ja bekannt sein dürfte. Flexibler ist natülich akaris Lösung.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1165980</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1165980</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Wed, 01 Nov 2006 09:19:28 GMT</pubDate></item><item><title><![CDATA[Reply to automatischer Tabulator per Return on Wed, 01 Nov 2006 09:48:01 GMT]]></title><description><![CDATA[<p>Danke <strong>akari</strong> und <strong>Braunstein</strong> für die schnelle Hilfe.</p>
<p>Ich habe nun folgende Lösung genommen:</p>
<pre><code class="language-cpp">void __fastcall TForm1::edit_eingabe_1KeyDown(TObject *Sender, WORD &amp;Key,
      TShiftState Shift)
{
    if (Key == VK_RETURN) {
//      int ergebnis = StrToFloat(edit_eingabe_1-&gt;Text) + StrToFloat(edit_eingabe_2-&gt;Text);
//      edit_ergebnis-&gt;Text = FloatToStr(ergebnis);
      edit_eingabe_2-&gt;SetFocus();
    }
}
</code></pre>
<p>Gruß</p>
<p>cosmic</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1166005</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1166005</guid><dc:creator><![CDATA[cosmicblue]]></dc:creator><pubDate>Wed, 01 Nov 2006 09:48:01 GMT</pubDate></item></channel></rss>