<?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[Laufschrift im Label aus Listbox]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich möchte den string aus einer listbox in einem label als laufschrift anzeigen</p>
<p>mein code</p>
<pre><code>__fastcall TForm1::TForm1(TComponent* Owner)
        : TForm(Owner)
{
  AppText = &quot; *** &quot;+ListBox2-&gt;Items-&gt;Strings[ListBox2-&gt;ItemIndex];
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Timer1Timer(TObject *Sender)
{
  AnsiString first = AppText.SubString(1,1);
  AppText.Delete(1,1);
  AppText = AppText + first;
  Label3-&gt;Caption = AppText;
}
//---------------------------------------------------------------------------
</code></pre>
<p>allerdings wird ja der string nicht aktualisiert.<br />
nun hab ich versucht die zuweisung von apptext in den timer zu schreiben. allerdings läuft die schrift dann nicht mehr.</p>
<p>hat jemand eine idee??</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/99228/laufschrift-im-label-aus-listbox</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 18:47:49 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/99228.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 26 Jan 2005 15:07:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Laufschrift im Label aus Listbox on Wed, 26 Jan 2005 15:07:48 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich möchte den string aus einer listbox in einem label als laufschrift anzeigen</p>
<p>mein code</p>
<pre><code>__fastcall TForm1::TForm1(TComponent* Owner)
        : TForm(Owner)
{
  AppText = &quot; *** &quot;+ListBox2-&gt;Items-&gt;Strings[ListBox2-&gt;ItemIndex];
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Timer1Timer(TObject *Sender)
{
  AnsiString first = AppText.SubString(1,1);
  AppText.Delete(1,1);
  AppText = AppText + first;
  Label3-&gt;Caption = AppText;
}
//---------------------------------------------------------------------------
</code></pre>
<p>allerdings wird ja der string nicht aktualisiert.<br />
nun hab ich versucht die zuweisung von apptext in den timer zu schreiben. allerdings läuft die schrift dann nicht mehr.</p>
<p>hat jemand eine idee??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/706711</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/706711</guid><dc:creator><![CDATA[Linuxguru]]></dc:creator><pubDate>Wed, 26 Jan 2005 15:07:48 GMT</pubDate></item><item><title><![CDATA[Reply to Laufschrift im Label aus Listbox on Wed, 26 Jan 2005 15:37:22 GMT]]></title><description><![CDATA[<p>habs gerade hinbekommen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":-)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/706759</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/706759</guid><dc:creator><![CDATA[Linuxguru]]></dc:creator><pubDate>Wed, 26 Jan 2005 15:37:22 GMT</pubDate></item></channel></rss>