<?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[Componenten in einem thread]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich habe kleinere probleme mit compo's.</p>
<p>Mein program nutzt einige threads, die compos sind auf from1 plaziert.</p>
<p>Wenn ich nun z.B. SidTCPClient1 OnConnect reagieren soll gehe zu objekt inspektor und tippe da 'ServerConnect' der code wird nun in form1 eingefügt:</p>
<pre><code>void __fastcall TForm1::ServerConnect(TObject *Sender)
{
    switch(Main_Config.Current_Server)
    {
    case ACCOUNT:{
      Label_Status_Account_S1-&gt;Caption = &quot;-= On =-&quot;;
      Form1-&gt;IdTCPClient1-&gt;Disconnect();
    ...
</code></pre>
<p>Ich hätte es aber gerne dass es im thread_pingserver2.cpp ist, da es dazu gehört. Wie kann ich das machen. Durch dieses gehopse vom code von threads zu form1.cpp wird das ganze irgendwie kaotisch (bei 8 threads fängt mir das auf die nerven zu gehen). Ach noch etwas, so etwas wie</p>
<pre><code>Label_Status_Account_S1-&gt;Caption = &quot;-= On =-&quot;;
</code></pre>
<p>muss ich noch extra in synchronize stecken, oder muss ich das nicht mehr???</p>
<p>CU Darius</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/89091/componenten-in-einem-thread</link><generator>RSS for Node</generator><lastBuildDate>Sun, 05 Jul 2026 17:08:35 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/89091.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 15 Oct 2004 21:19:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Componenten in einem thread on Fri, 15 Oct 2004 21:21:09 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich habe kleinere probleme mit compo's.</p>
<p>Mein program nutzt einige threads, die compos sind auf from1 plaziert.</p>
<p>Wenn ich nun z.B. SidTCPClient1 OnConnect reagieren soll gehe zu objekt inspektor und tippe da 'ServerConnect' der code wird nun in form1 eingefügt:</p>
<pre><code>void __fastcall TForm1::ServerConnect(TObject *Sender)
{
    switch(Main_Config.Current_Server)
    {
    case ACCOUNT:{
      Label_Status_Account_S1-&gt;Caption = &quot;-= On =-&quot;;
      Form1-&gt;IdTCPClient1-&gt;Disconnect();
    ...
</code></pre>
<p>Ich hätte es aber gerne dass es im thread_pingserver2.cpp ist, da es dazu gehört. Wie kann ich das machen. Durch dieses gehopse vom code von threads zu form1.cpp wird das ganze irgendwie kaotisch (bei 8 threads fängt mir das auf die nerven zu gehen). Ach noch etwas, so etwas wie</p>
<pre><code>Label_Status_Account_S1-&gt;Caption = &quot;-= On =-&quot;;
</code></pre>
<p>muss ich noch extra in synchronize stecken, oder muss ich das nicht mehr???</p>
<p>CU Darius</p>
]]></description><link>https://www.c-plusplus.net/forum/post/629816</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/629816</guid><dc:creator><![CDATA[prana]]></dc:creator><pubDate>Fri, 15 Oct 2004 21:21:09 GMT</pubDate></item></channel></rss>