<?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[Sortieren von TStrings]]></title><description><![CDATA[<p>Hallo auch ...</p>
<p>Wenn man eine ComBoBox verwendet, hat man ja bekanntlich eine Option &quot;Sorted&quot; welche die gesamte Itemliste alphabetisch sortiert.</p>
<p>Wenn man nun ein Konstrukt wie:</p>
<pre><code class="language-cpp">TStrings* Liste = new TStringList();
Liste-&gt;Add(&quot;Wert 1&quot;);
Liste-&gt;Add(&quot;Wert 2&quot;);
Liste-&gt;Add(&quot;Wert 5&quot;);
Liste-&gt;Add(&quot;Wert 3&quot;);
</code></pre>
<p>hat, wie kann man diese auf die gleiche Art und Weise sortieren ?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/89550/sortieren-von-tstrings</link><generator>RSS for Node</generator><lastBuildDate>Sun, 05 Jul 2026 22:41:52 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/89550.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 20 Oct 2004 17:41:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Sortieren von TStrings on Wed, 20 Oct 2004 17:41:04 GMT]]></title><description><![CDATA[<p>Hallo auch ...</p>
<p>Wenn man eine ComBoBox verwendet, hat man ja bekanntlich eine Option &quot;Sorted&quot; welche die gesamte Itemliste alphabetisch sortiert.</p>
<p>Wenn man nun ein Konstrukt wie:</p>
<pre><code class="language-cpp">TStrings* Liste = new TStringList();
Liste-&gt;Add(&quot;Wert 1&quot;);
Liste-&gt;Add(&quot;Wert 2&quot;);
Liste-&gt;Add(&quot;Wert 5&quot;);
Liste-&gt;Add(&quot;Wert 3&quot;);
</code></pre>
<p>hat, wie kann man diese auf die gleiche Art und Weise sortieren ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/633594</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/633594</guid><dc:creator><![CDATA[bilbo_b1974]]></dc:creator><pubDate>Wed, 20 Oct 2004 17:41:04 GMT</pubDate></item><item><title><![CDATA[Reply to Sortieren von TStrings on Wed, 20 Oct 2004 17:48:40 GMT]]></title><description><![CDATA[<p>Sieh dir mal die Eigenschaften und Methoden von TStringList an.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/633599</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/633599</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Wed, 20 Oct 2004 17:48:40 GMT</pubDate></item><item><title><![CDATA[Reply to Sortieren von TStrings on Wed, 20 Oct 2004 20:00:20 GMT]]></title><description><![CDATA[<p>Ja hab ich aber ich habe dazu nix passendes gefunden, ich verwende derzeit den BCB 5</p>
]]></description><link>https://www.c-plusplus.net/forum/post/633675</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/633675</guid><dc:creator><![CDATA[bilbo_b1974]]></dc:creator><pubDate>Wed, 20 Oct 2004 20:00:20 GMT</pubDate></item><item><title><![CDATA[Reply to Sortieren von TStrings on Wed, 20 Oct 2004 20:02:19 GMT]]></title><description><![CDATA[<p>Sorry für die vorschnelle ANtwort aber wenn ich</p>
<pre><code class="language-cpp">Liste-Sorted = true;
</code></pre>
<p>mach erzählt mir BCB das Sorted kein Element von Liste wäre ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/633676</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/633676</guid><dc:creator><![CDATA[bilbo_b1974]]></dc:creator><pubDate>Wed, 20 Oct 2004 20:02:19 GMT</pubDate></item><item><title><![CDATA[Reply to Sortieren von TStrings on Wed, 20 Oct 2004 20:04:57 GMT]]></title><description><![CDATA[<p>Dann deklariere die Liste mal besser gleich als TStringList.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/633678</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/633678</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Wed, 20 Oct 2004 20:04:57 GMT</pubDate></item><item><title><![CDATA[Reply to Sortieren von TStrings on Thu, 21 Oct 2004 10:39:33 GMT]]></title><description><![CDATA[<p>Damit klappts.</p>
<p>Nur mal so interessehalber: Was ist denn dann eigentlich der Vorteil von TStrings gegenüber einer TStringList ? Oder besser: Wann sollte man TStrings anstatt der TStringList verwenden ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/634021</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/634021</guid><dc:creator><![CDATA[bilbo_b1974]]></dc:creator><pubDate>Thu, 21 Oct 2004 10:39:33 GMT</pubDate></item><item><title><![CDATA[Reply to Sortieren von TStrings on Thu, 21 Oct 2004 10:44:51 GMT]]></title><description><![CDATA[<p>Du kannst TStrings gar nicht direkt erzeugen. TStrings ist eine reine Basisklasse und nicht direkt zu instanziieren (schreibt sich das so??). Somit ist die Frage wohl obsolet.</p>
<p>Du hast ja auch eine TStringList erzeugt, jedoch nach TStrings gecastet.</p>
<p>Näheres steht in der Hilfe zu TStrings.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/634027</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/634027</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Thu, 21 Oct 2004 10:44:51 GMT</pubDate></item></channel></rss>