<?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[csDropDownList Problem.]]></title><description><![CDATA[<p>Hallo,<br />
ich weiss dass das csDropDownList sehr oft hier war aber ich habe für mein Problem keine Lösung gefunden.</p>
<p>Bei ComboBox1 kann man ja</p>
<pre><code class="language-cpp">ComboBox1-&gt;Text = &quot;hallo&quot;;
</code></pre>
<p>auswählen.</p>
<p>Jetzt bei der Einstellung: csDropDownList</p>
<pre><code class="language-cpp">ComboBox1-&gt;Text = &quot;hallo&quot;;
</code></pre>
<p>Kann mir einer sagen wie ich das lösen kann?<br />
Warum das nicht geht verstehe ich nicht.<br />
Was ich weiss, ist das csDropDownList die Werte anzeigt aber man kann nicht mehr rein schreiben wie bei csDropDown.</p>
<p>Dank im Voraus.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/195960/csdropdownlist-problem</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 11:19:49 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/195960.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Oct 2007 02:36:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to csDropDownList Problem. on Wed, 24 Oct 2007 02:36:36 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich weiss dass das csDropDownList sehr oft hier war aber ich habe für mein Problem keine Lösung gefunden.</p>
<p>Bei ComboBox1 kann man ja</p>
<pre><code class="language-cpp">ComboBox1-&gt;Text = &quot;hallo&quot;;
</code></pre>
<p>auswählen.</p>
<p>Jetzt bei der Einstellung: csDropDownList</p>
<pre><code class="language-cpp">ComboBox1-&gt;Text = &quot;hallo&quot;;
</code></pre>
<p>Kann mir einer sagen wie ich das lösen kann?<br />
Warum das nicht geht verstehe ich nicht.<br />
Was ich weiss, ist das csDropDownList die Werte anzeigt aber man kann nicht mehr rein schreiben wie bei csDropDown.</p>
<p>Dank im Voraus.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1390912</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1390912</guid><dc:creator><![CDATA[titanium]]></dc:creator><pubDate>Wed, 24 Oct 2007 02:36:36 GMT</pubDate></item><item><title><![CDATA[Reply to csDropDownList Problem. on Wed, 24 Oct 2007 05:03:38 GMT]]></title><description><![CDATA[<p>Bei ComboBox-&gt;Style <strong>csDropDownList</strong> kannst du nur über die Items/ItemIndex<br />
auf die Einträge zugreifen, z.B.:</p>
<pre><code class="language-cpp">void __fastcall TForm1::FormCreate(TObject *Sender)
{
   ComboBox1-&gt;Items-&gt;Add(&quot;1. Eintrag&quot;);
   ComboBox1-&gt;Items-&gt;Add(&quot;2. Eintrag&quot;);
   ComboBox1-&gt;Items-&gt;Add(&quot;3. Eintrag&quot;);
   ComboBox1-&gt;Items-&gt;Add(&quot;4. Eintrag&quot;);

   ComboBox1-&gt;ItemIndex = 0;  // Ersten Eintrag anzeigen
}
//---------------------------------------------------------------------------

void __fastcall TForm1::SpeedButton1Click(TObject *Sender)
{
   if(Edit1-&gt;Text != &quot;&quot;)
      ComboBox1-&gt;Items-&gt;Add(Edit1-&gt;Text);  // Neuen Eintrag hinzufügen
}
//---------------------------------------------------------------------------
</code></pre>
<p>MfG<br />
kpeter</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1390920</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1390920</guid><dc:creator><![CDATA[kpeter]]></dc:creator><pubDate>Wed, 24 Oct 2007 05:03:38 GMT</pubDate></item><item><title><![CDATA[Reply to csDropDownList Problem. on Wed, 24 Oct 2007 10:32:08 GMT]]></title><description><![CDATA[<p>Du kannst aber mit Items-&gt;IndexOf(&quot;hallo&quot;) dir den Index raussuchen lassen (oder -1, falls Eintrag nicht vorhanden - Groß-/Kleinschreibung muß übereinstimmen!!!).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1391083</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1391083</guid><dc:creator><![CDATA[Th]]></dc:creator><pubDate>Wed, 24 Oct 2007 10:32:08 GMT</pubDate></item><item><title><![CDATA[Reply to csDropDownList Problem. on Wed, 24 Oct 2007 10:37:13 GMT]]></title><description><![CDATA[<p>titanium schrieb:</p>
<blockquote>
<p>Was ich weiss, ist das csDropDownList die Werte anzeigt aber man kann nicht mehr rein schreiben wie bei csDropDown.</p>
</blockquote>
<p>Ja aber, das ist doch der Sinn von csDropDown<strong>List</strong>. Wenn Du weiterhin die Möglichkeit haben willst, Text einzugeben, mußt Du eben auf csDropDown umstellen. Ich verstehe das Problem irgendwie nicht?!?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1391086</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1391086</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Wed, 24 Oct 2007 10:37:13 GMT</pubDate></item><item><title><![CDATA[Reply to csDropDownList Problem. on Wed, 24 Oct 2007 20:54:24 GMT]]></title><description><![CDATA[<p>Danke für die Infos.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1391527</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1391527</guid><dc:creator><![CDATA[titanium]]></dc:creator><pubDate>Wed, 24 Oct 2007 20:54:24 GMT</pubDate></item></channel></rss>