<?xml version="1.0" encoding="iso-8859-9" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Clomosy | Forum : Switch kullanırken sorun yaşıyorum</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Clomosy ile de&#287;i&#351;ken kullan&#305;m&#305; : Switch kullanırken sorun yaşıyorum]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 02:57:52 +0000</pubDate>
  <lastBuildDate>Thu, 25 Dec 2025 09:11:24 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.clomosy.com.tr/RSS_post_feed.asp?TID=1250</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Clomosy | Forum]]></title>
   <url>https://forum.clomosy.com.tr/forum_images/logo.png</url>
   <link>https://forum.clomosy.com.tr/</link>
  </image>
  <item>
   <title><![CDATA[Switch kullanırken sorun yaşıyorum : Merhaba Berat,&#214;ncelikle &#351;unu s&#246;ylemek...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1250&amp;PID=2783#2783</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=257">Emr.Erkmn</a><br /><strong>Konu:</strong> 1250<br /><strong>Gönderim Zamanı:</strong> 25&nbsp;Aralık&nbsp;2025 Saat 09:11<br /><br />Merhaba Berat,&nbsp;<br>Öncelikle şunu söylemek istiyorum&nbsp;<span style=": rgb251, 251, 253;">&nbsp;clComponent.SetupComponen bu yapıyla yazmamanını istiyorum. Şu an yapı da desteklemiyoruz.&nbsp;<br>Hatanın sebebi de prosedürü 'acma'&nbsp; adı altında oluşturmuşsun ama Event da çağırırken start olarak çağırmışsın<br><div>Var</div><div>&nbsp; Switch : TclSwitch;</div><div>&nbsp; Bmg1, Bmg2: TClProImage;</div><div>&nbsp; Form1: TclForm;</div><div><br></div><div>// Switch'e basıldığında çalışacak prosedür</div><div>void acma;</div><div>{</div><div>&nbsp; if (Switch.IsChecked)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Bmg1.Visible = True;</div><div>&nbsp; &nbsp; Bmg2.Visible = False;</div><div>&nbsp; }</div><div>&nbsp; else</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Bmg1.Visible = False;</div><div>&nbsp; &nbsp; Bmg2.Visible = True;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>{</div><div>&nbsp; Form1 = TclForm.Create(Self);</div><div>&nbsp;&nbsp;</div><div>&nbsp; // --- RESİM 1 AYARLARI ---</div><div>&nbsp; Bmg1 = Form1.AddNewProImage(Form1, 'Bmg1');</div><div>&nbsp; Bmg1.Align = alCenter;</div><div>&nbsp; Bmg1.Width = 120;</div><div>&nbsp; Bmg1.Height = 120;</div><div>&nbsp; Bmg1.Margins.Bottom = 250;</div><div>&nbsp;&nbsp;</div><div>&nbsp; Form1.SetImage(Bmg1, '<a href="https://i.hizliresim.com/sf427pj.png" target="_blank" rel="nofollow">https://i.hizliresim.com/sf427pj.png</a>');</div><div>&nbsp; Bmg1.SetclProSettings(Bmg1.clProSettings);</div><div><br></div><div><br></div><div>&nbsp; // --- RESİM 2 AYARLARI ---</div><div>&nbsp; Bmg2 = Form1.AddNewProImage(Form1, 'Bmg2');</div><div>&nbsp; Bmg2.Align = alCenter;</div><div>&nbsp; Bmg2.Width = 120;</div><div>&nbsp; Bmg2.Height = 120;</div><div>&nbsp; Bmg2.Margins.Bottom = 250;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // Resim URL Atama</div><div>&nbsp; Form1.SetImage(Bmg2, '<a href="https://i.hizliresim.com/s35bzfl.png" target="_blank" rel="nofollow">https://i.hizliresim.com/s35bzfl.png</a>');</div><div>&nbsp; Bmg2.SetclProSettings(Bmg2.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; // Başlangıçta Bmg2 kapalı olsun</div><div>&nbsp; Bmg2.Visible = False;</div><div><br></div><div><br></div><div>&nbsp; // --- SWITCH AYARLARI ---</div><div>&nbsp; Switch = Form1.AddNewSwitch(Form1, 'Switch');</div><div>&nbsp; Switch.Align = alCenter;</div><div>&nbsp; Switch.Width = 120;</div><div>&nbsp; Switch.Height = 50;&nbsp;</div><div>&nbsp; Switch.Margins.Top = 150;</div><div><br></div><div>&nbsp; // Olay Tanımlama (Event)</div><div>&nbsp; Form1.AddNewEvent(Switch, tbeOnClick, 'acma');</div><div>&nbsp;&nbsp;</div><div>&nbsp; Form1.Run;</div><div>}</div></span><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Thu, 25 Dec 2025 09:11:24 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1250&amp;PID=2783#2783</guid>
  </item> 
  <item>
   <title><![CDATA[Switch kullanırken sorun yaşıyorum : VarSwitch : TclSwitch;Bmg1, Bmg2:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1250&amp;PID=2782#2782</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=353">Berat Deveci</a><br /><strong>Konu:</strong> 1250<br /><strong>Gönderim Zamanı:</strong> 24&nbsp;Aralık&nbsp;2025 Saat 21:42<br /><br /><div>Var</div><div>&nbsp;Switch : TclSwitch;</div><div>&nbsp;Bmg1, Bmg2: TClProImage;</div><div>&nbsp;Form1: TclForm;</div><div>&nbsp;void acma {</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;if (Switch.isChecked){</div><div>&nbsp; &nbsp; &nbsp;Bmg1.visible=True;</div><div>&nbsp; &nbsp; &nbsp;Bmg2.visible= False;</div><div>&nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp;}</div><div>&nbsp; &nbsp;else {</div><div>&nbsp; &nbsp; &nbsp;Bmg1.visible=False;</div><div>&nbsp; &nbsp; &nbsp;Bmg2.visible= True;</div><div>&nbsp; &nbsp;}</div><div>&nbsp;}</div><div>{</div><div>&nbsp; Form1 = TclForm.Create(Self);</div><div>&nbsp; Switch= Form1.AddNewSwitch(Form1,'Switch');</div><div>&nbsp; Bmg1 = Form1.AddNewProImage(Form1, 'Bmg1');</div><div>&nbsp; Bmg2 = Form1.AddNewProImage(Form1, 'Bmg2');</div><div>&nbsp; clComponent.SetupComponent(Bmg1,'{"Align": "Center",</div><div>&nbsp; &nbsp; "MarginsBottom":250,</div><div>&nbsp; &nbsp; "Width":120,</div><div>&nbsp; &nbsp; "Height":120,</div><div>&nbsp; &nbsp; "ImgUrl":"<a href="https://i.hizliresim.com/sf427pj.png" target="_blank" rel="nofollow">https://i.hizliresim.com/sf427pj.png"</a>,</div><div>&nbsp; &nbsp; "ImgFit": "yes"</div><div>&nbsp; }');</div><div>&nbsp;&nbsp;</div><div>&nbsp; clComponent.SetupComponent(Bmg2,'{"Align": "Center",</div><div>&nbsp; &nbsp; "MarginsBottom":250,</div><div>&nbsp; &nbsp; "Width":120,</div><div>&nbsp; &nbsp; "Height":120,</div><div>&nbsp; &nbsp; "ImgUrl":"<a href="https://i.hizliresim.com/s35bzfl.png" target="_blank" rel="nofollow">https://i.hizliresim.com/s35bzfl.png"</a>,</div><div>&nbsp; &nbsp; "ImgFit": "yes"</div><div>&nbsp; }');</div><div>&nbsp;&nbsp;</div><div>&nbsp; Switch.Align= alCenter;</div><div>&nbsp; Switch.Height=330;</div><div>&nbsp; Switch.Width=120;</div><div>&nbsp;&nbsp;</div><div>&nbsp; Form1.AddNewEvent(Switch,tbeOnClick,'start')</div><div>&nbsp; Form1.Run;</div><div>}</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Wed, 24 Dec 2025 21:42:04 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1250&amp;PID=2782#2782</guid>
  </item> 
 </channel>
</rss>