<?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</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Son 10 Gönderilenler]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 15 Jun 2026 19:09:19 +0000</pubDate>
  <lastBuildDate>Sun, 14 Jun 2026 20:38:39 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>30</ttl>
  <WebWizForums:feedURL>https://forum.clomosy.com.tr/RSS_topic_feed.asp</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[Genel &#304;&#351;lemler : Nrf Haberleşme]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1551&amp;PID=3576#3576</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=393">maliwankenobi254</a><br /><strong>Konu:</strong> Nrf Haberleşme<br /><strong>Gönderim Zamanı:</strong> 14&nbsp;Haziran&nbsp;2026 Saat 20:38<br /><br />Hayırlı Günler 6 nrf24 modulunden gelen ayrı ayrı data tek bir rasberry pi 8 veya 4 gb haline toplanıp ordan gelen verileri clomsy dashboardına gönderebilirmi ve clomosy dashboardı bunları birbinden ayırabilirmi verileri tim a tim b,c,d,e,f gibi mesela&nbsp;<img src="https://forum.clomosy.com.tr/smileys/smiley17.gif" border="0" alt="T&#111;ngue" title="T&#111;ngue" />< defer="" ="https://static.cloudflareinsights.com/beac&#111;n.min.js/v833ccba57c9e4d2798f2e76cebdd09a11778172276447" integrity="sha512-57MDmcccJXYtNnH+ZiBwzC4jb2rvgVCEokYN+LLlmO8rfYT/gIpW2A569iJ/3b+0UEasghjuZH/ma3wIs/EQ==" -cf-beac&#111;n="&quot;versi&#111;n&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;_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;locati&#111;n_startswith&quot;:null" crossorigin="an&#111;nymous">]]>
   </description>
   <pubDate>Sun, 14 Jun 2026 20:38:39 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1551&amp;PID=3576#3576</guid>
  </item> 
  <item>
   <title><![CDATA[Genel &#304;&#351;lemler : İleri Seviye Clomosy Soruları]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1550&amp;PID=3575#3575</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=399">ardcek</a><br /><strong>Konu:</strong> İleri Seviye Clomosy Soruları<br /><strong>Gönderim Zamanı:</strong> 06&nbsp;Haziran&nbsp;2026 Saat 21:11<br /><br /><div><ul><li>TclCircle / TclRectangle gibi şekil bileşenlerinin Fill.Color ve Stroke.Color sorunları için resmi bir çözüm veya güncelleme planı var mı?</li></ul></div><div><ul><li>20+ unit'li kurumsal projelerde önerilen klasör yapısı ve isimlendirme standardı nedir?</li></ul></div><div><ul><li>SetFormColor'da kullanılan clGCross / clGVertical gibi gradyan tiplerinin tam listesi ve belgelenmemiş olanları var mı?</li></ul></div><div><div><i>Şimdiden teşekkürler.</i></div><div><br></div></div><div><br></div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v833ccba57c9e4d2798f2e76cebdd09a11778172276447" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v833ccba57c9e4d2798f2e76cebdd09a11778172276447"</a> integrity="sha512-57MDmcccJXYtNnH+ZiBwzC4jb2rvgVCEokYN+L/nLlmO8rfYT/gIpW2A569iJ/3b+0UEasghjuZH/ma3wIs/EQ==" 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>Sat, 06 Jun 2026 21:11:02 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1550&amp;PID=3575#3575</guid>
  </item> 
  <item>
   <title><![CDATA[Genel &#304;&#351;lemler : Syntax error]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1549&amp;PID=3574#3574</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=399">ardcek</a><br /><strong>Konu:</strong> Syntax error<br /><strong>Gönderim Zamanı:</strong> 06&nbsp;Haziran&nbsp;2026 Saat 00:48<br /><br /><div><div><div>Selam Fatih, bu kod <b><i>Delphi/Object</i> </b>Pascal syntax'ı ile yazılmış, <b style=""><font color="#33cc00">TRObject</font></b> değil!</div><div><br></div><div>TRObject'te:</div><div><br></div><div>- procedure Ad; begin ... end;</div><div>&nbsp; &#8594; void Ad; { ... }</div><div><br></div><div>- :=</div><div>&nbsp; &#8594; =</div><div><br></div><div>- if x then begin ... end;</div><div>&nbsp; &#8594; if (x) { }</div><div><br></div><div>- function Ad: Tip; begin ... end;</div><div>&nbsp; &#8594; function Ad: Tip; { }</div><div><br></div><div>Düzeltilmiş TRObject Kodu:</div></div>var</div><div>&nbsp; Form1: TclForm;</div><div>&nbsp; pnlOyun: TclProPanel;</div><div>&nbsp; pnlKontrol: TclPanel;</div><div>&nbsp; pnlUst: TclPanel;</div><div>&nbsp; lblBaslik, lblPuan, lblCan, lblSure: TclLabel;</div><div>&nbsp; nisangah: TclCircle;</div><div>&nbsp; hedef1, hedef2, hedef3, hedef4, hedef5: TclProPanel;</div><div>&nbsp; lbl1, lbl2, lbl3, lbl4, lbl5: TclLabel;</div><div>&nbsp; btnSol, btnSag, btnYukari, btnAsagi, btnAtes: TclProButton;</div><div>&nbsp; btnYeniOyun: TclProButton;</div><div>&nbsp; tmrOyun, tmrHedef: TClTimer;</div><div>&nbsp; nisX, nisY, puan, can, sure: Integer;</div><div>&nbsp; oyunDevam: Boolean;</div><div><br></div><div>void NisanSola;</div><div>{</div><div>&nbsp; if (nisX &gt; 10) {</div><div>&nbsp; &nbsp; nisX = nisX - 20;</div><div>&nbsp; &nbsp; nisangah.Position.X = nisX;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void NisanSaga;</div><div>{</div><div>&nbsp; if (nisX &lt; 620) {</div><div>&nbsp; &nbsp; nisX = nisX + 20;</div><div>&nbsp; &nbsp; nisangah.Position.X = nisX;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void NisanYukari;</div><div>{</div><div>&nbsp; if (nisY &gt; 60) {</div><div>&nbsp; &nbsp; nisY = nisY - 20;</div><div>&nbsp; &nbsp; nisangah.Position.Y = nisY;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void NisanAsagi;</div><div>{</div><div>&nbsp; if (nisY &lt; 420) {</div><div>&nbsp; &nbsp; nisY = nisY + 20;</div><div>&nbsp; &nbsp; nisangah.Position.Y = nisY;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>function CarpismaMi(hedef: TclProPanel): Boolean;</div><div>{</div><div>&nbsp; Result = (nisX + 40 &gt; hedef.Position.X) &amp;&amp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(nisX &lt; hedef.Position.X + hedef.Width) &amp;&amp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(nisY + 40 &gt; hedef.Position.Y) &amp;&amp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(nisY &lt; hedef.Position.Y + hedef.Height);</div><div>}</div><div><br></div><div><br></div><div>void OyunBitti;</div><div>{</div><div>&nbsp; oyunDevam = False;</div><div>&nbsp; tmrOyun.Enabled = False;</div><div>&nbsp; tmrHedef.Enabled = False;</div><div>&nbsp; ShowMessage('OYUN BITTI! Toplam Puan: ' + IntToStr(puan));</div><div>}</div><div><br></div><div>void AtesEt;</div><div>var carpti: Boolean;</div><div>{</div><div>&nbsp; if (oyunDevam == False) Exit;</div><div>&nbsp; carpti = False;</div><div><br></div><div>&nbsp; if (hedef1.Visible &amp;&amp; CarpismaMi(hedef1)) {</div><div>&nbsp; &nbsp; carpti = True; puan = puan + 10;</div><div>&nbsp; &nbsp; hedef1.Visible = False;</div><div>&nbsp; &nbsp; lblPuan.Text = 'Puan: ' + IntToStr(puan);</div><div>&nbsp; &nbsp; ShowMessage('DOGRU! Su +10 Puan');</div><div>&nbsp; }</div><div>&nbsp; if (hedef2.Visible &amp;&amp; CarpismaMi(hedef2)) {</div><div>&nbsp; &nbsp; carpti = True; puan = puan + 10;</div><div>&nbsp; &nbsp; hedef2.Visible = False;</div><div>&nbsp; &nbsp; lblPuan.Text = 'Puan: ' + IntToStr(puan);</div><div>&nbsp; &nbsp; ShowMessage('DOGRU! Ilk Yardim Kiti +10 Puan');</div><div>&nbsp; }</div><div>&nbsp; if (hedef3.Visible &amp;&amp; CarpismaMi(hedef3)) {</div><div>&nbsp; &nbsp; carpti = True; puan = puan + 10;</div><div>&nbsp; &nbsp; hedef3.Visible = False;</div><div>&nbsp; &nbsp; lblPuan.Text = 'Puan: ' + IntToStr(puan);</div><div>&nbsp; &nbsp; ShowMessage('DOGRU! Fener +10 Puan');</div><div>&nbsp; }</div><div>&nbsp; if (hedef4.Visible &amp;&amp; CarpismaMi(hedef4)) {</div><div>&nbsp; &nbsp; carpti = True; can = can - 1;</div><div>&nbsp; &nbsp; hedef4.Visible = False;</div><div>&nbsp; &nbsp; lblCan.Text = 'Can: ' + IntToStr(can);</div><div>&nbsp; &nbsp; ShowMessage('YANLIS! Oyun konsolu -1 Can');</div><div>&nbsp; &nbsp; if (can &lt;= 0) OyunBitti;</div><div>&nbsp; }</div><div>&nbsp; if (hedef5.Visible &amp;&amp; CarpismaMi(hedef5)) {</div><div>&nbsp; &nbsp; carpti = True; can = can - 1;</div><div>&nbsp; &nbsp; hedef5.Visible = False;</div><div>&nbsp; &nbsp; lblCan.Text = 'Can: ' + IntToStr(can);</div><div>&nbsp; &nbsp; ShowMessage('YANLIS! Parfum -1 Can');</div><div>&nbsp; &nbsp; if (can &lt;= 0) OyunBitti;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void HedefleriYerlestir;</div><div>{</div><div>&nbsp; hedef1.Position.X = 50 + Random(500); hedef1.Position.Y = 80 + Random(300); hedef1.Visible = True;</div><div>&nbsp; hedef2.Position.X = 50 + Random(500); hedef2.Position.Y = 80 + Random(300); hedef2.Visible = True;</div><div>&nbsp; hedef3.Position.X = 50 + Random(500); hedef3.Position.Y = 80 + Random(300); hedef3.Visible = True;</div><div>&nbsp; hedef4.Position.X = 50 + Random(500); hedef4.Position.Y = 80 + Random(300); hedef4.Visible = True;</div><div>&nbsp; hedef5.Position.X = 50 + Random(500); hedef5.Position.Y = 80 + Random(300); hedef5.Visible = True;</div><div>}</div><div><br></div><div>void SureGuncelle;</div><div>{</div><div>&nbsp; sure = sure - 1;</div><div>&nbsp; lblSure.Text = 'Sure: ' + IntToStr(sure) + 's';</div><div>&nbsp; if (sure &lt;= 0) OyunBitti;</div><div>}</div><div><br></div><div>void HedefYenile;</div><div>{ HedefleriYerlestir; }</div><div><br></div><div>void YeniOyun;</div><div>{</div><div>&nbsp; puan = 0; can = 3; sure = 60; oyunDevam = True;</div><div>&nbsp; nisX = 310; nisY = 230;</div><div>&nbsp; nisangah.Position.X = nisX; nisangah.Position.Y = nisY;</div><div>&nbsp; lblPuan.Text = 'Puan: 0'; lblCan.Text = 'Can: 3'; lblSure.Text = 'Sure: 60s';</div><div>&nbsp; HedefleriYerlestir;</div><div>&nbsp; tmrOyun.Enabled = True; tmrHedef.Enabled = True;</div><div>}</div><div><br></div><div>{</div><div>&nbsp; Form1 = TclForm.Create(Self);</div><div>&nbsp; Form1.SetFormColor('#0f172a', '', clGNone);</div><div><br></div><div>&nbsp; pnlOyun = Form1.AddNewProPanel(Form1, 'pnlOyun');</div><div>&nbsp; pnlOyun.Align = alClient;</div><div>&nbsp; pnlOyun.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#1e293b');</div><div>&nbsp; pnlOyun.SetclProSettings(pnlOyun.clProSettings);</div><div><br></div><div>&nbsp; pnlUst = Form1.AddNewPanel(pnlOyun, 'pnlUst');</div><div>&nbsp; pnlUst.Align = alTop; pnlUst.Height = 60;</div><div><br></div><div>&nbsp; lblBaslik = Form1.AddNewLabel(pnlUst, 'lblBaslik', 'DEPREM CANTASI - VURMA OYUNU');</div><div>&nbsp; lblBaslik.Align = alLeft; lblBaslik.Width = 280;</div><div>&nbsp; lblBaslik.StyledSettings = ssFamily;</div><div>&nbsp; lblBaslik.TextSettings.Font.Size = 14;</div><div>&nbsp; lblBaslik.TextSettings.FontColor = clAlphaColor.clHexToColor('#f59e0b');</div><div><br></div><div>&nbsp; lblPuan = Form1.AddNewLabel(pnlUst, 'lblPuan', 'Puan: 0');</div><div>&nbsp; lblPuan.Align = alRight; lblPuan.Width = 90;</div><div>&nbsp; lblPuan.StyledSettings = ssFamily;</div><div>&nbsp; lblPuan.TextSettings.Font.Size = 13;</div><div>&nbsp; lblPuan.TextSettings.FontColor = clAlphaColor.clHexToColor('#10b981');</div><div><br></div><div>&nbsp; lblCan = Form1.AddNewLabel(pnlUst, 'lblCan', 'Can: 3');</div><div>&nbsp; lblCan.Align = alRight; lblCan.Width = 70;</div><div>&nbsp; lblCan.StyledSettings = ssFamily;</div><div>&nbsp; lblCan.TextSettings.Font.Size = 13;</div><div>&nbsp; lblCan.TextSettings.FontColor = clAlphaColor.clHexToColor('#ef4444');</div><div><br></div><div>&nbsp; lblSure = Form1.AddNewLabel(pnlUst, 'lblSure', 'Sure: 60s');</div><div>&nbsp; lblSure.Align = alRight; lblSure.Width = 90;</div><div>&nbsp; lblSure.StyledSettings = ssFamily;</div><div>&nbsp; lblSure.TextSettings.Font.Size = 13;</div><div>&nbsp; lblSure.TextSettings.FontColor = clAlphaColor.clHexToColor('#60a5fa');</div><div><br></div><div>&nbsp; hedef1 = Form1.AddNewProPanel(pnlOyun, 'hedef1');</div><div>&nbsp; hedef1.Align = alNone; hedef1.Width = 80; hedef1.Height = 70;</div><div>&nbsp; hedef1.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#14532d');</div><div>&nbsp; hedef1.clProSettings.IsRound = True;</div><div>&nbsp; hedef1.clProSettings.RoundHeight = 12; hedef1.clProSettings.RoundWidth = 12;</div><div>&nbsp; hedef1.SetclProSettings(hedef1.clProSettings);</div><div><br></div><div>&nbsp; lbl1 = Form1.AddNewLabel(hedef1, 'lbl1', 'Su');</div><div>&nbsp; lbl1.Align = alClient; lbl1.StyledSettings = ssFamily;</div><div>&nbsp; lbl1.TextSettings.Font.Size = 18;</div><div>&nbsp; lbl1.TextSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; lbl1.HitTest = False;</div><div><br></div><div>&nbsp; hedef2 = Form1.AddNewProPanel(pnlOyun, 'hedef2');</div><div>&nbsp; hedef2.Align = alNone; hedef2.Width = 80; hedef2.Height = 70;</div><div>&nbsp; hedef2.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#14532d');</div><div>&nbsp; hedef2.clProSettings.IsRound = True;</div><div>&nbsp; hedef2.clProSettings.RoundHeight = 12; hedef2.clProSettings.RoundWidth = 12;</div><div>&nbsp; hedef2.SetclProSettings(hedef2.clProSettings);</div><div><br></div><div>&nbsp; lbl2 = Form1.AddNewLabel(hedef2, 'lbl2', 'Ilk Yardim');</div><div>&nbsp; lbl2.Align = alClient; lbl2.StyledSettings = ssFamily;</div><div>&nbsp; lbl2.TextSettings.Font.Size = 13;</div><div>&nbsp; lbl2.TextSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; lbl2.HitTest = False;</div><div><br></div><div>&nbsp; hedef3 = Form1.AddNewProPanel(pnlOyun, 'hedef3');</div><div>&nbsp; hedef3.Align = alNone; hedef3.Width = 80; hedef3.Height = 70;</div><div>&nbsp; hedef3.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#14532d');</div><div>&nbsp; hedef3.clProSettings.IsRound = True;</div><div>&nbsp; hedef3.clProSettings.RoundHeight = 12; hedef3.clProSettings.RoundWidth = 12;</div><div>&nbsp; hedef3.SetclProSettings(hedef3.clProSettings);</div><div><br></div><div>&nbsp; lbl3 = Form1.AddNewLabel(hedef3, 'lbl3', 'Fener');</div><div>&nbsp; lbl3.Align = alClient; lbl3.StyledSettings = ssFamily;</div><div>&nbsp; lbl3.TextSettings.Font.Size = 15;</div><div>&nbsp; lbl3.TextSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; lbl3.HitTest = False;</div><div><br></div><div>&nbsp; hedef4 = Form1.AddNewProPanel(pnlOyun, 'hedef4');</div><div>&nbsp; hedef4.Align = alNone; hedef4.Width = 80; hedef4.Height = 70;</div><div>&nbsp; hedef4.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#7f1d1d');</div><div>&nbsp; hedef4.clProSettings.IsRound = True;</div><div>&nbsp; hedef4.clProSettings.RoundHeight = 12; hedef4.clProSettings.RoundWidth = 12;</div><div>&nbsp; hedef4.SetclProSettings(hedef4.clProSettings);</div><div><br></div><div>&nbsp; lbl4 = Form1.AddNewLabel(hedef4, 'lbl4', 'Konsol');</div><div>&nbsp; lbl4.Align = alClient; lbl4.StyledSettings = ssFamily;</div><div>&nbsp; lbl4.TextSettings.Font.Size = 15;</div><div>&nbsp; lbl4.TextSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; lbl4.HitTest = False;</div><div><br></div><div>&nbsp; hedef5 = Form1.AddNewProPanel(pnlOyun, 'hedef5');</div><div>&nbsp; hedef5.Align = alNone; hedef5.Width = 80; hedef5.Height = 70;</div><div>&nbsp; hedef5.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#7f1d1d');</div><div>&nbsp; hedef5.clProSettings.IsRound = True;</div><div>&nbsp; hedef5.clProSettings.RoundHeight = 12; hedef5.clProSettings.RoundWidth = 12;</div><div>&nbsp; hedef5.SetclProSettings(hedef5.clProSettings);</div><div><br></div><div>&nbsp; lbl5 = Form1.AddNewLabel(hedef5, 'lbl5', 'Parfum');</div><div>&nbsp; lbl5.Align = alClient; lbl5.StyledSettings = ssFamily;</div><div>&nbsp; lbl5.TextSettings.Font.Size = 15;</div><div>&nbsp; lbl5.TextSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; lbl5.HitTest = False;</div><div><br></div><div>&nbsp; nisangah = Form1.AddNewCircle(pnlOyun, 'nisangah');</div><div>&nbsp; nisangah.Align = alNone;</div><div>&nbsp; nisangah.Position.X = 310; nisangah.Position.Y = 230;</div><div>&nbsp; nisangah.Width = 50; nisangah.Height = 50;</div><div>&nbsp; nisangah.Width = 50; nisangah.Height = 50;</div><div>&nbsp; nisangah.Stroke.Thickness = 3;</div><div><br></div><div>&nbsp; pnlKontrol = Form1.AddNewPanel(pnlOyun, 'pnlKontrol');</div><div>&nbsp; pnlKontrol.Align = alBottom; pnlKontrol.Height = 170;</div><div><br></div><div>&nbsp; btnSol = Form1.AddNewProButton(pnlKontrol, 'btnSol', '&lt;');</div><div>&nbsp; btnSol.Align = alNone; btnSol.Position.X = 10; btnSol.Position.Y = 45;</div><div>&nbsp; btnSol.Width = 90; btnSol.Height = 70;</div><div>&nbsp; btnSol.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#334155');</div><div>&nbsp; btnSol.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; btnSol.clProSettings.FontSize = 22; btnSol.clProSettings.IsRound = True;</div><div>&nbsp; btnSol.clProSettings.RoundHeight = 15; btnSol.clProSettings.RoundWidth = 15;</div><div>&nbsp; btnSol.SetclProSettings(btnSol.clProSettings);</div><div>&nbsp; Form1.AddNewEvent(btnSol, tbeOnClick, 'NisanSola');</div><div><br></div><div>&nbsp; btnSag = Form1.AddNewProButton(pnlKontrol, 'btnSag', '&gt;');</div><div>&nbsp; btnSag.Align = alNone; btnSag.Position.X = 110; btnSag.Position.Y = 45;</div><div>&nbsp; btnSag.Width = 90; btnSag.Height = 70;</div><div>&nbsp; btnSag.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#334155');</div><div>&nbsp; btnSag.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; btnSag.clProSettings.FontSize = 22; btnSag.clProSettings.IsRound = True;</div><div>&nbsp; btnSag.clProSettings.RoundHeight = 15; btnSag.clProSettings.RoundWidth = 15;</div><div>&nbsp; btnSag.SetclProSettings(btnSag.clProSettings);</div><div>&nbsp; Form1.AddNewEvent(btnSag, tbeOnClick, 'NisanSaga');</div><div><br></div><div>&nbsp; btnYukari = Form1.AddNewProButton(pnlKontrol, 'btnYukari', '^');</div><div>&nbsp; btnYukari.Align = alNone; btnYukari.Position.X = 60; btnYukari.Position.Y = 5;</div><div>&nbsp; btnYukari.Width = 90; btnYukari.Height = 35;</div><div>&nbsp; btnYukari.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#334155');</div><div>&nbsp; btnYukari.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; btnYukari.clProSettings.FontSize = 16; btnYukari.clProSettings.IsRound = True;</div><div>&nbsp; btnYukari.clProSettings.RoundHeight = 10; btnYukari.clProSettings.RoundWidth = 10;</div><div>&nbsp; btnYukari.SetclProSettings(btnYukari.clProSettings);</div><div>&nbsp; Form1.AddNewEvent(btnYukari, tbeOnClick, 'NisanYukari');</div><div><br></div><div>&nbsp; btnAsagi = Form1.AddNewProButton(pnlKontrol, 'btnAsagi', 'v');</div><div>&nbsp; btnAsagi.Align = alNone; btnAsagi.Position.X = 60; btnAsagi.Position.Y = 120;</div><div>&nbsp; btnAsagi.Width = 90; btnAsagi.Height = 35;</div><div>&nbsp; btnAsagi.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#334155');</div><div>&nbsp; btnAsagi.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; btnAsagi.clProSettings.FontSize = 16; btnAsagi.clProSettings.IsRound = True;</div><div>&nbsp; btnAsagi.clProSettings.RoundHeight = 10; btnAsagi.clProSettings.RoundWidth = 10;</div><div>&nbsp; btnAsagi.SetclProSettings(btnAsagi.clProSettings);</div><div>&nbsp; Form1.AddNewEvent(btnAsagi, tbeOnClick, 'NisanAsagi');</div><div><br></div><div>&nbsp; btnAtes = Form1.AddNewProButton(pnlKontrol, 'btnAtes', 'ATES!');</div><div>&nbsp; btnAtes.Align = alNone; btnAtes.Position.X = 230; btnAtes.Position.Y = 30;</div><div>&nbsp; btnAtes.Width = 200; btnAtes.Height = 100;</div><div>&nbsp; btnAtes.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#dc2626');</div><div>&nbsp; btnAtes.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; btnAtes.clProSettings.FontSize = 24; btnAtes.clProSettings.IsRound = True;</div><div>&nbsp; btnAtes.clProSettings.RoundHeight = 20; btnAtes.clProSettings.RoundWidth = 20;</div><div>&nbsp; btnAtes.SetclProSettings(btnAtes.clProSettings);</div><div>&nbsp; Form1.AddNewEvent(btnAtes, tbeOnClick, 'AtesEt');</div><div><br></div><div>&nbsp; btnYeniOyun = Form1.AddNewProButton(pnlKontrol, 'btnYeniOyun', 'YENI OYUN');</div><div>&nbsp; btnYeniOyun.Align = alNone; btnYeniOyun.Position.X = 480; btnYeniOyun.Position.Y = 50;</div><div>&nbsp; btnYeniOyun.Width = 150; btnYeniOyun.Height = 60;</div><div>&nbsp; btnYeniOyun.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#0284c7');</div><div>&nbsp; btnYeniOyun.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; btnYeniOyun.clProSettings.FontSize = 16; btnYeniOyun.clProSettings.IsRound = True;</div><div>&nbsp; btnYeniOyun.clProSettings.RoundHeight = 15; btnYeniOyun.clProSettings.RoundWidth = 15;</div><div>&nbsp; btnYeniOyun.SetclProSettings(btnYeniOyun.clProSettings);</div><div>&nbsp; Form1.AddNewEvent(btnYeniOyun, tbeOnClick, 'YeniOyun');</div><div><br></div><div>&nbsp; tmrOyun = Form1.AddNewTimer(Form1, 'tmrOyun', 1000);</div><div>&nbsp; tmrOyun.Enabled = False;</div><div>&nbsp; Form1.AddNewEvent(tmrOyun, tbeOnTimer, 'SureGuncelle');</div><div><br></div><div>&nbsp; tmrHedef = Form1.AddNewTimer(Form1, 'tmrHedef', 3000);</div><div>&nbsp; tmrHedef.Enabled = False;</div><div>&nbsp; Form1.AddNewEvent(tmrHedef, tbeOnTimer, 'HedefYenile');</div><div><br></div><div>&nbsp; YeniOyun;</div><div>&nbsp; Form1.Run;</div><div>}</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v833ccba57c9e4d2798f2e76cebdd09a11778172276447" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v833ccba57c9e4d2798f2e76cebdd09a11778172276447"</a> integrity="sha512-57MDmcccJXYtNnH+ZiBwzC4jb2rvgVCEokYN+L/nLlmO8rfYT/gIpW2A569iJ/3b+0UEasghjuZH/ma3wIs/EQ==" 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>Sat, 06 Jun 2026 00:48:07 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1549&amp;PID=3574#3574</guid>
  </item> 
  <item>
   <title><![CDATA[Genel &#304;&#351;lemler : Syntax error]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1549&amp;PID=3573#3573</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=377">Fatih Parlakkaya</a><br /><strong>Konu:</strong> Syntax error<br /><strong>Gönderim Zamanı:</strong> 03&nbsp;Haziran&nbsp;2026 Saat 19:58<br /><br /><div>var</div><div>&nbsp; Form1: TclForm;</div><div><br></div><div><br></div><div>&nbsp; pnlOyun: TclProPanel;</div><div>&nbsp; pnlKontrol: TclPanel;</div><div>&nbsp; pnlUst: TclPanel;</div><div><br></div><div>&nbsp;</div><div>&nbsp; lblBaslik: TclLabel;</div><div>&nbsp; lblPuan: TclLabel;</div><div>&nbsp; lblCan: TclLabel;</div><div>&nbsp; lblSure: TclLabel;</div><div><br></div><div><br></div><div>&nbsp; nisangah: TclCircle;</div><div><br></div><div>&nbsp; hedef1, hedef2, hedef3, hedef4, hedef5: TclProPanel;</div><div>&nbsp; lbl1, lbl2, lbl3, lbl4, lbl5: TclLabel;</div><div><br></div><div>&nbsp;</div><div>&nbsp; btnSol, btnSag, btnYukari, btnAsagi, btnAtes: TclProButton;</div><div>&nbsp; btnYeniOyun: TclProButton;</div><div><br></div><div><br></div><div>&nbsp; tmrOyun: TClTimer;</div><div>&nbsp; tmrHedef: TClTimer;</div><div><br></div><div>&nbsp; nisX, nisY: Integer;</div><div>&nbsp; puan, can, sure: Integer;</div><div>&nbsp; oyunDevam: Boolean;</div><div><br></div><div><br></div><div>procedure NisanSola;</div><div>begin</div><div>&nbsp; if nisX &gt; 10 then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; nisX := nisX - 20;</div><div>&nbsp; &nbsp; nisangah.Position.X := nisX;</div><div>&nbsp; end;</div><div>end;</div><div><br></div><div>procedure NisanSaga;</div><div>begin</div><div>&nbsp; if nisX &lt; 620 then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; nisX := nisX + 20;</div><div>&nbsp; &nbsp; nisangah.Position.X := nisX;</div><div>&nbsp; end;</div><div>end;</div><div><br></div><div>procedure NisanYukari;</div><div>begin</div><div>&nbsp; if nisY &gt; 60 then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; nisY := nisY - 20;</div><div>&nbsp; &nbsp; nisangah.Position.Y := nisY;</div><div>&nbsp; end;</div><div>end;</div><div><br></div><div>procedure NisanAsagi;</div><div>begin</div><div>&nbsp; if nisY &lt; 420 then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; nisY := nisY + 20;</div><div>&nbsp; &nbsp; nisangah.Position.Y := nisY;</div><div>&nbsp; end;</div><div>end;</div><div><br></div><div><br></div><div>function CarpismaMi(hedef: TclProPanel): Boolean;</div><div>begin</div><div>&nbsp; Result := False;</div><div>&nbsp; if (nisX + 40 &gt; hedef.Position.X) and</div><div>&nbsp; &nbsp; &nbsp;(nisX &lt; hedef.Position.X + hedef.Width) and</div><div>&nbsp; &nbsp; &nbsp;(nisY + 40 &gt; hedef.Position.Y) and</div><div>&nbsp; &nbsp; &nbsp;(nisY &lt; hedef.Position.Y + hedef.Height) then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; Result := True;</div><div>&nbsp; end;</div><div>end;</div><div><br></div><div><br></div><div>procedure OyunBitti;</div><div>begin</div><div>&nbsp; oyunDevam := False;</div><div>&nbsp; tmrOyun.Enabled := False;</div><div>&nbsp; tmrHedef.Enabled := False;</div><div>&nbsp; ShowMessage('OYUN BITTI! Toplam Puan: ' + IntToStr(puan));</div><div>end;</div><div><br></div><div><br></div><div><br></div><div>procedure AtesEt;</div><div>var</div><div>&nbsp; carpti: Boolean;</div><div>begin</div><div>&nbsp; if oyunDevam = False then Exit;</div><div><br></div><div>&nbsp; carpti := False;</div><div><br></div><div>&nbsp;&nbsp;</div><div>&nbsp; if hedef1.Visible and CarpismaMi(hedef1) then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; carpti := True;</div><div>&nbsp; &nbsp; puan := puan + 10;</div><div>&nbsp; &nbsp; hedef1.Visible := False;</div><div>&nbsp; &nbsp; lblPuan.Text := 'Puan: ' + IntToStr(puan);</div><div>&nbsp; &nbsp; ShowMessage('DOGRU! Su - Enkaz altinda hayat kurtarir! +10 Puan');</div><div>&nbsp; end;</div><div><br></div><div>&nbsp;&nbsp;</div><div>&nbsp; if hedef2.Visible and CarpismaMi(hedef2) then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; carpti := True;</div><div>&nbsp; &nbsp; puan := puan + 10;</div><div>&nbsp; &nbsp; hedef2.Visible := False;</div><div>&nbsp; &nbsp; lblPuan.Text := 'Puan: ' + IntToStr(puan);</div><div>&nbsp; &nbsp; ShowMessage('DOGRU! Ilk Yardim Kiti - Yara sarmak icin sart! +10 Puan');</div><div>&nbsp; end;</div><div><br></div><div>&nbsp;&nbsp;</div><div>&nbsp; if hedef3.Visible and CarpismaMi(hedef3) then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; carpti := True;</div><div>&nbsp; &nbsp; puan := puan + 10;</div><div>&nbsp; &nbsp; hedef3.Visible := False;</div><div>&nbsp; &nbsp; lblPuan.Text := 'Puan: ' + IntToStr(puan);</div><div>&nbsp; &nbsp; ShowMessage('DOGRU! Fener - Karanlikta yol bulmak icin gerekli! +10 Puan');</div><div>&nbsp; end;</div><div><br></div><div>&nbsp;&nbsp;</div><div>&nbsp; if hedef4.Visible and CarpismaMi(hedef4) then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; carpti := True;</div><div>&nbsp; &nbsp; can := can - 1;</div><div>&nbsp; &nbsp; hedef4.Visible := False;</div><div>&nbsp; &nbsp; lblCan.Text := 'Can: ' + IntToStr(can);</div><div>&nbsp; &nbsp; ShowMessage('YANLIS! Oyun konsolu cantaya girmez! -1 Can');</div><div>&nbsp; &nbsp; if can &lt;= 0 then OyunBitti;</div><div>&nbsp; end;</div><div><br></div><div>&nbsp; if hedef5.Visible and CarpismaMi(hedef5) then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; carpti := True;</div><div>&nbsp; &nbsp; can := can - 1;</div><div>&nbsp; &nbsp; hedef5.Visible := False;</div><div>&nbsp; &nbsp; lblCan.Text := 'Can: ' + IntToStr(can);</div><div>&nbsp; &nbsp; ShowMessage('YANLIS! Parfum ise yaramaz! -1 Can');</div><div>&nbsp; &nbsp; if can &lt;= 0 then OyunBitti;</div><div>&nbsp; end;</div><div><br></div><div>&nbsp; if carpti = False then</div><div>&nbsp; begin</div><div><br></div><div>&nbsp; end;</div><div>end;</div><div><br></div><div>procedure HedefleriYerlestir;</div><div>begin</div><div>&nbsp; hedef1.Position.X := 50 + Random(500);</div><div>&nbsp; hedef1.Position.Y := 80 + Random(300);</div><div>&nbsp; hedef1.Visible := True;</div><div><br></div><div>&nbsp; hedef2.Position.X := 50 + Random(500);</div><div>&nbsp; hedef2.Position.Y := 80 + Random(300);</div><div>&nbsp; hedef2.Visible := True;</div><div><br></div><div>&nbsp; hedef3.Position.X := 50 + Random(500);</div><div>&nbsp; hedef3.Position.Y := 80 + Random(300);</div><div>&nbsp; hedef3.Visible := True;</div><div><br></div><div>&nbsp; hedef4.Position.X := 50 + Random(500);</div><div>&nbsp; hedef4.Position.Y := 80 + Random(300);</div><div>&nbsp; hedef4.Visible := True;</div><div><br></div><div>&nbsp; hedef5.Position.X := 50 + Random(500);</div><div>&nbsp; hedef5.Position.Y := 80 + Random(300);</div><div>&nbsp; hedef5.Visible := True;</div><div>end;</div><div><br></div><div><br></div><div>procedure SureGuncelle;</div><div>begin</div><div>&nbsp; sure := sure - 1;</div><div>&nbsp; lblSure.Text := 'Sure: ' + IntToStr(sure) + 's';</div><div>&nbsp; if sure &lt;= 0 then OyunBitti;</div><div>end;</div><div><br></div><div><br></div><div>procedure HedefYenile;</div><div>begin</div><div><br></div><div>&nbsp; HedefleriYerlestir;</div><div>end;</div><div><br></div><div><br></div><div><br></div><div>procedure YeniOyun;</div><div>begin</div><div>&nbsp; puan := 0; can := 3; sure := 60;</div><div>&nbsp; oyunDevam := True;</div><div>&nbsp; nisX := 310; nisY := 230;</div><div>&nbsp; nisangah.Position.X := nisX;</div><div>&nbsp; nisangah.Position.Y := nisY;</div><div><br></div><div>&nbsp; lblPuan.Text := 'Puan: 0';</div><div>&nbsp; lblCan.Text := 'Can: 3';</div><div>&nbsp; lblSure.Text := 'Sure: 60s';</div><div><br></div><div>&nbsp; HedefleriYerlestir;</div><div><br></div><div>&nbsp; tmrOyun.Enabled := True;</div><div>&nbsp; tmrHedef.Enabled := True;</div><div>end;</div><div><br></div><div><br></div><div><br></div><div>{</div><div>&nbsp; Form1 := TclForm.Create(Self);</div><div>&nbsp; Form1.SetFormColor('#0f172a', '', clGNone);</div><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp; pnlOyun := Form1.AddNewProPanel(Form1, 'pnlOyun');</div><div>&nbsp; pnlOyun.Align := alClient;</div><div>&nbsp; pnlOyun.clProSettings.BackgroundColor := clAlphaColor.clHexToColor('#1e293b');</div><div>&nbsp; pnlOyun.SetclProSettings(pnlOyun.clProSettings);</div><div>&nbsp;</div><div>&nbsp; pnlUst := Form1.AddNewPanel(pnlOyun, 'pnlUst');</div><div>&nbsp; pnlUst.Align := alTop;</div><div>&nbsp; pnlUst.Height := 60;</div><div>&nbsp;</div><div>&nbsp; lblBaslik := Form1.AddNewLabel(pnlUst, 'lblBaslik', 'DEPREM CANTASI - VURMA OYUNU');</div><div>&nbsp; lblBaslik.Align := alLeft;</div><div>&nbsp; lblBaslik.Width := 280;</div><div>&nbsp; lblBaslik.StyledSettings := ssFamily;</div><div>&nbsp; lblBaslik.TextSettings.Font.Size := 14;</div><div>&nbsp; lblBaslik.TextSettings.FontColor := clAlphaColor.clHexToColor('#f59e0b');</div><div>&nbsp; lblBaslik.TextSettings.VertAlign := taCenter;</div><div>&nbsp;</div><div>&nbsp; lblPuan := Form1.AddNewLabel(pnlUst, 'lblPuan', 'Puan: 0');</div><div>&nbsp; lblPuan.Align := alRight;</div><div>&nbsp; lblPuan.Width := 90;</div><div>&nbsp; lblPuan.StyledSettings := ssFamily;</div><div>&nbsp; lblPuan.TextSettings.Font.Size := 13;</div><div>&nbsp; lblPuan.TextSettings.FontColor := clAlphaColor.clHexToColor('#10b981');</div><div>&nbsp; lblPuan.TextSettings.HorzAlign := taCenter;</div><div>&nbsp; lblPuan.TextSettings.VertAlign := taCenter;</div><div>&nbsp;</div><div>&nbsp; lblCan := Form1.AddNewLabel(pnlUst, 'lblCan', 'Can: 3');</div><div>&nbsp; lblCan.Align := alRight;</div><div>&nbsp; lblCan.Width := 70;</div><div>&nbsp; lblCan.StyledSettings := ssFamily;</div><div>&nbsp; lblCan.TextSettings.Font.Size := 13;</div><div>&nbsp; lblCan.TextSettings.FontColor := clAlphaColor.clHexToColor('#ef4444');</div><div>&nbsp; lblCan.TextSettings.HorzAlign := taCenter;</div><div>&nbsp; lblCan.TextSettings.VertAlign := taCenter;</div><div>&nbsp;</div><div>&nbsp; lblSure := Form1.AddNewLabel(pnlUst, 'lblSure', 'Sure: 60s');</div><div>&nbsp; lblSure.Align := alRight;</div><div>&nbsp; lblSure.Width := 90;</div><div>&nbsp; lblSure.StyledSettings := ssFamily;</div><div>&nbsp; lblSure.TextSettings.Font.Size := 13;</div><div>&nbsp; lblSure.TextSettings.FontColor := clAlphaColor.clHexToColor('#60a5fa');</div><div>&nbsp; lblSure.TextSettings.HorzAlign := taCenter;</div><div>&nbsp; lblSure.TextSettings.VertAlign := taCenter;</div><div>&nbsp;</div><div><br></div><div>&nbsp; hedef1 := Form1.AddNewProPanel(pnlOyun, 'hedef1');</div><div>&nbsp; hedef1.Align := alNone;</div><div>&nbsp; hedef1.Position.X := 80; hedef1.Position.Y := 120;</div><div>&nbsp; hedef1.Width := 80; hedef1.Height := 70;</div><div>&nbsp; hedef1.clProSettings.BackgroundColor := clAlphaColor.clHexToColor('#14532d');</div><div>&nbsp; hedef1.clProSettings.IsRound := True;</div><div>&nbsp; hedef1.clProSettings.RoundHeight := 12; hedef1.clProSettings.RoundWidth := 12;</div><div>&nbsp; hedef1.SetclProSettings(hedef1.clProSettings);</div><div>&nbsp; lbl1 := Form1.AddNewLabel(hedef1, 'lbl1', #128167 + #13 + 'Su');</div><div>&nbsp; lbl1.Align := alClient;</div><div>&nbsp; lbl1.StyledSettings := ssFamily;</div><div>&nbsp; lbl1.TextSettings.Font.Size := 18;</div><div>&nbsp; lbl1.TextSettings.FontColor := clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; lbl1.TextSettings.HorzAlign := taCenter;</div><div>&nbsp; lbl1.TextSettings.VertAlign := taCenter;</div><div>&nbsp; lbl1.HitTest := False;</div><div>&nbsp;</div><div>&nbsp; hedef2 := Form1.AddNewProPanel(pnlOyun, 'hedef2');</div><div>&nbsp; hedef2.Align := alNone;</div><div>&nbsp; hedef2.Position.X := 200; hedef2.Position.Y := 180;</div><div>&nbsp; hedef2.Width := 80; hedef2.Height := 70;</div><div>&nbsp; hedef2.clProSettings.BackgroundColor := clAlphaColor.clHexToColor('#14532d');</div><div>&nbsp; hedef2.clProSettings.IsRound := True;</div><div>&nbsp; hedef2.clProSettings.RoundHeight := 12; hedef2.clProSettings.RoundWidth := 12;</div><div>&nbsp; hedef2.SetclProSettings(hedef2.clProSettings);</div><div>&nbsp; lbl2 := Form1.AddNewLabel(hedef2, 'lbl2', #129657 + #13 + 'Ilk Yardim');</div><div>&nbsp; lbl2.Align := alClient;</div><div>&nbsp; lbl2.StyledSettings := ssFamily;</div><div>&nbsp; lbl2.TextSettings.Font.Size := 13;</div><div>&nbsp; lbl2.TextSettings.FontColor := clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; lbl2.TextSettings.HorzAlign := taCenter;</div><div>&nbsp; lbl2.TextSettings.VertAlign := taCenter;</div><div>&nbsp; lbl2.HitTest := False;</div><div>&nbsp;</div><div>&nbsp; hedef3 := Form1.AddNewProPanel(pnlOyun, 'hedef3');</div><div>&nbsp; hedef3.Align := alNone;</div><div>&nbsp; hedef3.Position.X := 380; hedef3.Position.Y := 150;</div><div>&nbsp; hedef3.Width := 80; hedef3.Height := 70;</div><div>&nbsp; hedef3.clProSettings.BackgroundColor := clAlphaColor.clHexToColor('#14532d');</div><div>&nbsp; hedef3.clProSettings.IsRound := True;</div><div>&nbsp; hedef3.clProSettings.RoundHeight := 12; hedef3.clProSettings.RoundWidth := 12;</div><div>&nbsp; hedef3.SetclProSettings(hedef3.clProSettings);</div><div>&nbsp; lbl3 := Form1.AddNewLabel(hedef3, 'lbl3', #128294 + #13 + 'Fener');</div><div>&nbsp; lbl3.Align := alClient;</div><div>&nbsp; lbl3.StyledSettings := ssFamily;</div><div>&nbsp; lbl3.TextSettings.Font.Size := 15;</div><div>&nbsp; lbl3.TextSettings.FontColor := clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; lbl3.TextSettings.HorzAlign := taCenter;</div><div>&nbsp; lbl3.TextSettings.VertAlign := taCenter;</div><div>&nbsp; lbl3.HitTest := False;</div><div>&nbsp;</div><div>&nbsp; hedef4 := Form1.AddNewProPanel(pnlOyun, 'hedef4');</div><div>&nbsp; hedef4.Align := alNone;</div><div>&nbsp; hedef4.Position.X := 500; hedef4.Position.Y := 200;</div><div>&nbsp; hedef4.Width := 80; hedef4.Height := 70;</div><div>&nbsp; hedef4.clProSettings.BackgroundColor := clAlphaColor.clHexToColor('#7f1d1d');</div><div>&nbsp; hedef4.clProSettings.IsRound := True;</div><div>&nbsp; hedef4.clProSettings.RoundHeight := 12; hedef4.clProSettings.RoundWidth := 12;</div><div>&nbsp; hedef4.SetclProSettings(hedef4.clProSettings);</div><div>&nbsp; lbl4 := Form1.AddNewLabel(hedef4, 'lbl4', #127918 + #13 + 'Konsol');</div><div>&nbsp; lbl4.Align := alClient;</div><div>&nbsp; lbl4.StyledSettings := ssFamily;</div><div>&nbsp; lbl4.TextSettings.Font.Size := 15;</div><div>&nbsp; lbl4.TextSettings.FontColor := clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; lbl4.TextSettings.HorzAlign := taCenter;</div><div>&nbsp; lbl4.TextSettings.VertAlign := taCenter;</div><div>&nbsp; lbl4.HitTest := False;</div><div>&nbsp;</div><div>&nbsp; hedef5 := Form1.AddNewProPanel(pnlOyun, 'hedef5');</div><div>&nbsp; hedef5.Align := alNone;</div><div>&nbsp; hedef5.Position.X := 300; hedef5.Position.Y := 280;</div><div>&nbsp; hedef5.Width := 80; hedef5.Height := 70;</div><div>&nbsp; hedef5.clProSettings.BackgroundColor := clAlphaColor.clHexToColor('#7f1d1d');</div><div>&nbsp; hedef5.clProSettings.IsRound := True;</div><div>&nbsp; hedef5.clProSettings.RoundHeight := 12; hedef5.clProSettings.RoundWidth := 12;</div><div>&nbsp; hedef5.SetclProSettings(hedef5.clProSettings);</div><div>&nbsp; lbl5 := Form1.AddNewLabel(hedef5, 'lbl5', #129349 + #13 + 'Parfum');</div><div>&nbsp; lbl5.Align := alClient;</div><div>&nbsp; lbl5.StyledSettings := ssFamily;</div><div>&nbsp; lbl5.TextSettings.Font.Size := 15;</div><div>&nbsp; lbl5.TextSettings.FontColor := clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; lbl5.TextSettings.HorzAlign := taCenter;</div><div>&nbsp; lbl5.TextSettings.VertAlign := taCenter;</div><div>&nbsp; lbl5.HitTest := False;</div><div>&nbsp;</div><div>&nbsp; nisangah := Form1.AddNewCircle(pnlOyun, 'nisangah');</div><div>&nbsp; nisangah.Align := alNone;</div><div>&nbsp; nisangah.Position.X := 310;</div><div>&nbsp; nisangah.Position.Y := 230;</div><div>&nbsp; nisangah.Width := 50;</div><div>&nbsp; nisangah.Height := 50;</div><div>&nbsp; nisangah.Fill.Color := clAlphaColor.clHexToColor('#00000000');&nbsp;</div><div>&nbsp; nisangah.Stroke.Color := clAlphaColor.clHexToColor('#f59e0b');</div><div>&nbsp; nisangah.Stroke.Thickness := 3;</div><div>&nbsp;</div><div>&nbsp; pnlKontrol := Form1.AddNewPanel(pnlOyun, 'pnlKontrol');</div><div>&nbsp; pnlKontrol.Align := alBottom;</div><div>&nbsp; pnlKontrol.Height := 170;</div><div>&nbsp;</div><div>&nbsp; btnSol := Form1.AddNewProButton(pnlKontrol, 'btnSol', '&lt;');</div><div>&nbsp; btnSol.Align := alNone;</div><div>&nbsp; btnSol.Position.X := 10; btnSol.Position.Y := 45;</div><div>&nbsp; btnSol.Width := 90; btnSol.Height := 70;</div><div>&nbsp; btnSol.clProSettings.BackgroundColor := clAlphaColor.clHexToColor('#334155');</div><div>&nbsp; btnSol.clProSettings.FontColor := clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; btnSol.clProSettings.FontSize := 22;</div><div>&nbsp; btnSol.clProSettings.IsRound := True;</div><div>&nbsp; btnSol.clProSettings.RoundHeight := 15; btnSol.clProSettings.RoundWidth := 15;</div><div>&nbsp; btnSol.SetclProSettings(btnSol.clProSettings);</div><div>&nbsp; Form1.AddNewEvent(btnSol, tbeOnClick, 'NisanSola');</div><div>&nbsp;</div><div>&nbsp; btnSag := Form1.AddNewProButton(pnlKontrol, 'btnSag', '&gt;');</div><div>&nbsp; btnSag.Align := alNone;</div><div>&nbsp; btnSag.Position.X := 110; btnSag.Position.Y := 45;</div><div>&nbsp; btnSag.Width := 90; btnSag.Height := 70;</div><div>&nbsp; btnSag.clProSettings.BackgroundColor := clAlphaColor.clHexToColor('#334155');</div><div>&nbsp; btnSag.clProSettings.FontColor := clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; btnSag.clProSettings.FontSize := 22;</div><div>&nbsp; btnSag.clProSettings.IsRound := True;</div><div>&nbsp; btnSag.clProSettings.RoundHeight := 15; btnSag.clProSettings.RoundWidth := 15;</div><div>&nbsp; btnSag.SetclProSettings(btnSag.clProSettings);</div><div>&nbsp; Form1.AddNewEvent(btnSag, tbeOnClick, 'NisanSaga');</div><div>&nbsp;</div><div>&nbsp; btnYukari := Form1.AddNewProButton(pnlKontrol, 'btnYukari', '^');</div><div>&nbsp; btnYukari.Align := alNone;</div><div>&nbsp; btnYukari.Position.X := 60; btnYukari.Position.Y := 5;</div><div>&nbsp; btnYukari.Width := 90; btnYukari.Height := 35;</div><div>&nbsp; btnYukari.clProSettings.BackgroundColor := clAlphaColor.clHexToColor('#334155');</div><div>&nbsp; btnYukari.clProSettings.FontColor := clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; btnYukari.clProSettings.FontSize := 16;</div><div>&nbsp; btnYukari.clProSettings.IsRound := True;</div><div>&nbsp; btnYukari.clProSettings.RoundHeight := 10; btnYukari.clProSettings.RoundWidth := 10;</div><div>&nbsp; btnYukari.SetclProSettings(btnYukari.clProSettings);</div><div>&nbsp; Form1.AddNewEvent(btnYukari, tbeOnClick, 'NisanYukari');</div><div>&nbsp;</div><div>&nbsp; btnAsagi := Form1.AddNewProButton(pnlKontrol, 'btnAsagi', 'v');</div><div>&nbsp; btnAsagi.Align := alNone;</div><div>&nbsp; btnAsagi.Position.X := 60; btnAsagi.Position.Y := 120;</div><div>&nbsp; btnAsagi.Width := 90; btnAsagi.Height := 35;</div><div>&nbsp; btnAsagi.clProSettings.BackgroundColor := clAlphaColor.clHexToColor('#334155');</div><div>&nbsp; btnAsagi.clProSettings.FontColor := clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; btnAsagi.clProSettings.FontSize := 16;</div><div>&nbsp; btnAsagi.clProSettings.IsRound := True;</div><div>&nbsp; btnAsagi.clProSettings.RoundHeight := 10; btnAsagi.clProSettings.RoundWidth := 10;</div><div>&nbsp; btnAsagi.SetclProSettings(btnAsagi.clProSettings);</div><div>&nbsp; Form1.AddNewEvent(btnAsagi, tbeOnClick, 'NisanAsagi');</div><div>&nbsp;</div><div>&nbsp; btnAtes := Form1.AddNewProButton(pnlKontrol, 'btnAtes', 'ATES!');</div><div>&nbsp; btnAtes.Align := alNone;</div><div>&nbsp; btnAtes.Position.X := 230; btnAtes.Position.Y := 30;</div><div>&nbsp; btnAtes.Width := 200; btnAtes.Height := 100;</div><div>&nbsp; btnAtes.clProSettings.BackgroundColor := clAlphaColor.clHexToColor('#dc2626');</div><div>&nbsp; btnAtes.clProSettings.FontColor := clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; btnAtes.clProSettings.FontSize := 24;</div><div>&nbsp; btnAtes.clProSettings.IsRound := True;</div><div>&nbsp; btnAtes.clProSettings.RoundHeight := 20; btnAtes.clProSettings.RoundWidth := 20;</div><div>&nbsp; btnAtes.SetclProSettings(btnAtes.clProSettings);</div><div>&nbsp; Form1.AddNewEvent(btnAtes, tbeOnClick, 'AtesEt');</div><div>&nbsp;</div><div>&nbsp; btnYeniOyun := Form1.AddNewProButton(pnlKontrol, 'btnYeniOyun', 'YENI OYUN');</div><div>&nbsp; btnYeniOyun.Align := alNone;</div><div>&nbsp; btnYeniOyun.Position.X := 480; btnYeniOyun.Position.Y := 50;</div><div>&nbsp; btnYeniOyun.Width := 150; btnYeniOyun.Height := 60;</div><div>&nbsp; btnYeniOyun.clProSettings.BackgroundColor := clAlphaColor.clHexToColor('#0284c7');</div><div>&nbsp; btnYeniOyun.clProSettings.FontColor := clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; btnYeniOyun.clProSettings.FontSize := 16;</div><div>&nbsp; btnYeniOyun.clProSettings.IsRound := True;</div><div>&nbsp; btnYeniOyun.clProSettings.RoundHeight := 15; btnYeniOyun.clProSettings.RoundWidth := 15;</div><div>&nbsp; btnYeniOyun.SetclProSettings(btnYeniOyun.clProSettings);</div><div>&nbsp; Form1.AddNewEvent(btnYeniOyun, tbeOnClick, 'YeniOyun');</div><div>&nbsp;</div><div>&nbsp; tmrOyun := Form1.AddNewTimer(Form1, 'tmrOyun', 1000);</div><div>&nbsp; tmrOyun.Enabled := False;</div><div>&nbsp; Form1.AddNewEvent(tmrOyun, tbeOnTimer, 'SureGuncelle');</div><div>&nbsp;</div><div>&nbsp; tmrHedef := Form1.AddNewTimer(Form1, 'tmrHedef', 3000);</div><div>&nbsp; tmrHedef.Enabled := False;</div><div>&nbsp; Form1.AddNewEvent(tmrHedef, tbeOnTimer, 'HedefYenile');</div><div>&nbsp;</div><div>&nbsp; YeniOyun;</div><div>}</div><div><div style=": rgb255, 255, 254; font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; line-height: 16px; white-space: pre;"><div><span style="color: #0000ff;">Unit</span> Main: Syntax error.</div><div>Source position: <span style="color: #098658;">220</span>,<span style="color: #098658;">1</span></div><div><span style="color: #098658;">hatası veriyor hatayı maalesef çözemedim</span></div></div></div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v833ccba57c9e4d2798f2e76cebdd09a11778172276447" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v833ccba57c9e4d2798f2e76cebdd09a11778172276447"</a> integrity="sha512-57MDmcccJXYtNnH+ZiBwzC4jb2rvgVCEokYN+L/nLlmO8rfYT/gIpW2A569iJ/3b+0UEasghjuZH/ma3wIs/EQ==" 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, 03 Jun 2026 19:58:41 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1549&amp;PID=3573#3573</guid>
  </item> 
  <item>
   <title><![CDATA[Genel &#304;&#351;lemler : stok takip ürün düzenleme ve ürün silme hatası]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1548&amp;PID=3572#3572</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=371">Melih</a><br /><strong>Konu:</strong> stok takip ürün düzenleme ve ürün silme hatası<br /><strong>Gönderim Zamanı:</strong> 01&nbsp;Haziran&nbsp;2026 Saat 13:40<br /><br />Merhaba düzeltilmiş kod aşağıdadır. JSON'da ID tanımlarken "RECORD_GUID" kullanman gerekir, kendi isimlendirmeni yaparsan liste seçimleri doğru çalışmaz. (<a href="https://www.docs.clomosy.com/index.php?title=TclListView" target="_blank" rel="nofollow">https://www.docs.clomosy.com/index.php?title=TclListView</a> --- bu sayfadaki "Listview Fields" kısmından inceleyebilirsin)<br>Designer panelde de bir şeyleri alt alta listelemek istiyorsan alClient yerine alTop kullanmalısın. alClient kalan alanı tamamen kaplamak için bileşeni esnetmeye çalışır.<br><br><div>Var</div><div>&nbsp; anaForm : TclForm;</div><div>&nbsp; edtUrunAdi, edtAdet, edtFiyat : TclEdit;</div><div>&nbsp; lblUrunAdi, lblAdet, lblFiyat : TclLabel;</div><div>&nbsp; btnEkle, btnGuncelle, btnSil : TclButton;</div><div>&nbsp; stokListesi : TclProListView;</div><div>&nbsp; tasarimPanel : TclProListViewDesignerPanel;</div><div>&nbsp;&nbsp;</div><div>&nbsp; MAIN_TEXT, SUB_TEXT : TclProLabel;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; tumUrunlerJson : String;&nbsp;</div><div>&nbsp; butonPaneli, pnlUrunAdi, pnlAdet, pnlFiyat : TclPanel;</div><div>&nbsp; seciliGuid : String;</div><div>&nbsp; urunSayaci : Integer;</div><div><br></div><div>void VerileriYenile;</div><div>{</div><div>&nbsp; stokListesi.clearList;</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (tumUrunlerJson &lt;&gt; '')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; stokListesi.clLoadProListViewDataFromDataset(Clomosy.ClDataSetFromJSON('&#091;' + tumUrunlerJson + '&#093;'));</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void UrunEkle;</div><div>Var</div><div>&nbsp; yeniUrunJson : String;</div><div>{</div><div>&nbsp; if ((edtUrunAdi.Text == '') || (edtAdet.Text == '') || (edtFiyat.Text == ''))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('Lütfen tüm alanları doldurun!');</div><div>&nbsp; &nbsp; exit;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; urunSayaci = urunSayaci + 1;</div><div>&nbsp;&nbsp;</div><div>&nbsp; yeniUrunJson = '{"RECORD_GUID":"ID_' + IntToStr(urunSayaci) +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'", "MAIN_TEXT":"' + edtUrunAdi.Text +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'", "SUB_TEXT":"Adet: ' + edtAdet.Text + ' - Fiyat: ' + edtFiyat.Text + ' TL' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'", "PRODUCT_QTY":"' + edtAdet.Text +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'", "PRODUCT_PRICE":"' + edtFiyat.Text + '"}';</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (tumUrunlerJson &lt;&gt; '') { tumUrunlerJson = tumUrunlerJson + ','; }</div><div>&nbsp; tumUrunlerJson = tumUrunlerJson + yeniUrunJson;</div><div><br></div><div>&nbsp; VerileriYenile;</div><div>&nbsp;&nbsp;</div><div>&nbsp; edtUrunAdi.Text = ''; edtAdet.Text = ''; edtFiyat.Text = '';</div><div>&nbsp; seciliGuid = '';</div><div>}</div><div><br></div><div>void ListeTiklandi;</div><div>{</div><div>&nbsp; seciliGuid = stokListesi.clSelectedItemData(clRecord_GUID);</div><div>}</div><div><br></div><div>void UrunSil;</div><div>Var</div><div>&nbsp; GeciciDataset : TclMemTable;</div><div>&nbsp; YeniJsonKatar : String;</div><div>{</div><div>&nbsp; if (seciliGuid == '')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('Silmek için listeden bir ürün seçin!');</div><div>&nbsp; &nbsp; exit;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; GeciciDataset = Clomosy.ClDataSetFromJSON('&#091;' + tumUrunlerJson + '&#093;');</div><div>&nbsp; YeniJsonKatar = '';</div><div>&nbsp; GeciciDataset.First;</div><div>&nbsp; while (not GeciciDataset.Eof)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (GeciciDataset.FieldByName('RECORD_GUID').AsString &lt;&gt; seciliGuid)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; if (YeniJsonKatar &lt;&gt; '') { YeniJsonKatar = YeniJsonKatar + ','; }</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; YeniJsonKatar = YeniJsonKatar + '{"RECORD_GUID":"' + GeciciDataset.FieldByName('RECORD_GUID').AsString +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '", "MAIN_TEXT":"' + GeciciDataset.FieldByName('MAIN_TEXT').AsString +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '", "SUB_TEXT":"' + GeciciDataset.FieldByName('SUB_TEXT').AsString +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '", "PRODUCT_QTY":"' + GeciciDataset.FieldByName('PRODUCT_QTY').AsString +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '", "PRODUCT_PRICE":"' + GeciciDataset.FieldByName('PRODUCT_PRICE').AsString + '"}';</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; GeciciDataset.Next;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; tumUrunlerJson = YeniJsonKatar;</div><div>&nbsp; VerileriYenile;</div><div>&nbsp;&nbsp;</div><div>&nbsp; ShowMessage('Seçili ürün başarıyla listeden silindi.');</div><div>&nbsp; seciliGuid = '';&nbsp;</div><div>}</div><div><br></div><div>void UrunDuzenle;</div><div>Var</div><div>&nbsp; GeciciDataset : TclMemTable;</div><div>&nbsp; YeniJsonKatar : String;</div><div>{</div><div>&nbsp; if (seciliGuid == '')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('Düzenlemek için listeden bir ürün seçin!');</div><div>&nbsp; &nbsp; exit;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; GeciciDataset = Clomosy.ClDataSetFromJSON('&#091;' + tumUrunlerJson + '&#093;');</div><div>&nbsp; YeniJsonKatar = '';</div><div>&nbsp; GeciciDataset.First;</div><div>&nbsp; while (not GeciciDataset.Eof)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (GeciciDataset.FieldByName('RECORD_GUID').AsString == seciliGuid)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; edtUrunAdi.Text = GeciciDataset.FieldByName('MAIN_TEXT').AsString;</div><div>&nbsp; &nbsp; &nbsp; edtAdet.Text = GeciciDataset.FieldByName('PRODUCT_QTY').AsString;</div><div>&nbsp; &nbsp; &nbsp; edtFiyat.Text = GeciciDataset.FieldByName('PRODUCT_PRICE').AsString;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; if (YeniJsonKatar &lt;&gt; '') { YeniJsonKatar = YeniJsonKatar + ','; }</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; YeniJsonKatar = YeniJsonKatar + '{"RECORD_GUID":"' + GeciciDataset.FieldByName('RECORD_GUID').AsString +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '", "MAIN_TEXT":"' + GeciciDataset.FieldByName('MAIN_TEXT').AsString +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '", "SUB_TEXT":"' + GeciciDataset.FieldByName('SUB_TEXT').AsString +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '", "PRODUCT_QTY":"' + GeciciDataset.FieldByName('PRODUCT_QTY').AsString +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '", "PRODUCT_PRICE":"' + GeciciDataset.FieldByName('PRODUCT_PRICE').AsString + '"}';</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; GeciciDataset.Next;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; tumUrunlerJson = YeniJsonKatar;</div><div>&nbsp; VerileriYenile;</div><div>&nbsp;&nbsp;</div><div>&nbsp; ShowMessage('Ürün bilgileri yukarı taşındı. Düzenleyip tekrar Ekle butonuna basabilirsiniz.');</div><div>&nbsp; seciliGuid = '';</div><div>}</div><div><br></div><div>{</div><div>&nbsp; anaForm = TclForm.Create(Self);</div><div>&nbsp; tumUrunlerJson = '';</div><div>&nbsp; seciliGuid = '';&nbsp;</div><div>&nbsp; urunSayaci = 0;</div><div>&nbsp; butonPaneli = anaForm.AddNewPanel(anaForm, 'butonPaneli');</div><div>&nbsp; butonPaneli.Align = alTop;</div><div>&nbsp; butonPaneli.Height = 45;</div><div>&nbsp; butonPaneli.Margins.Top = 5;</div><div><br></div><div>&nbsp; btnEkle = anaForm.AddNewButton(butonPaneli, 'btnEkle', 'Ekle');</div><div>&nbsp; btnEkle.Align = alLeft; btnEkle.Width = 100;</div><div>&nbsp; anaForm.AddNewEvent(btnEkle, tbeOnClick, 'UrunEkle');</div><div><br></div><div>&nbsp; btnGuncelle = anaForm.AddNewButton(butonPaneli, 'btnGuncelle', 'Düzenle');</div><div>&nbsp; btnGuncelle.Align = alLeft; btnGuncelle.Width = 100;</div><div>&nbsp; anaForm.AddNewEvent(btnGuncelle, tbeOnClick, 'UrunDuzenle');</div><div><br></div><div>&nbsp; btnSil = anaForm.AddNewButton(butonPaneli, 'btnSil', 'Sil');</div><div>&nbsp; btnSil.Align = alLeft; btnSil.Width = 100;</div><div>&nbsp; anaForm.AddNewEvent(btnSil, tbeOnClick, 'UrunSil');</div><div><br></div><div>&nbsp; pnlUrunAdi = anaForm.AddNewPanel(anaForm, 'pnlUrunAdi');</div><div>&nbsp; pnlUrunAdi.Align = alTop; pnlUrunAdi.Height = 40; pnlUrunAdi.Margins.Top = 5;</div><div>&nbsp;&nbsp;</div><div>&nbsp; lblUrunAdi = anaForm.AddNewLabel(pnlUrunAdi, 'lblUrunAdi', 'Ürün Adı:');</div><div>&nbsp; lblUrunAdi.Align = alLeft; lblUrunAdi.Width = 80;</div><div>&nbsp; edtUrunAdi = anaForm.AddNewEdit(pnlUrunAdi, 'edtUrunAdi', 'Ürün adı...');</div><div>&nbsp; edtUrunAdi.Align = alClient;</div><div><br></div><div>&nbsp; pnlAdet = anaForm.AddNewPanel(anaForm, 'pnlAdet');</div><div>&nbsp; pnlAdet.Align = alTop; pnlAdet.Height = 40; pnlAdet.Margins.Top = 5;</div><div>&nbsp;&nbsp;</div><div>&nbsp; lblAdet = anaForm.AddNewLabel(pnlAdet, 'lblAdet', 'Adet:');</div><div>&nbsp; lblAdet.Align = alLeft; lblAdet.Width = 80;</div><div>&nbsp; edtAdet = anaForm.AddNewEdit(pnlAdet, 'edtAdet', 'Adet...');</div><div>&nbsp; edtAdet.Align = alClient;</div><div><br></div><div>&nbsp; pnlFiyat = anaForm.AddNewPanel(anaForm, 'pnlFiyat');</div><div>&nbsp; pnlFiyat.Align = alTop; pnlFiyat.Height = 40; pnlFiyat.Margins.Top = 5;</div><div>&nbsp;&nbsp;</div><div>&nbsp; lblFiyat = anaForm.AddNewLabel(pnlFiyat, 'lblFiyat', 'Fiyat:');</div><div>&nbsp; lblFiyat.Align = alLeft; lblFiyat.Width = 80;</div><div>&nbsp; edtFiyat = anaForm.AddNewEdit(pnlFiyat, 'edtFiyat', 'Fiyat...');</div><div>&nbsp; edtFiyat.Align = alClient;</div><div><br></div><div>&nbsp; stokListesi = anaForm.AddNewProListView(anaForm, 'stokListesi');</div><div>&nbsp; stokListesi.Align = alClient;</div><div>&nbsp; stokListesi.Margins.Top = 10;</div><div>&nbsp; stokListesi.clProSettings.ViewType = lvList;</div><div>&nbsp; stokListesi.clProSettings.ItemHeight = 75;&nbsp;</div><div>&nbsp; stokListesi.SetclProSettings(stokListesi.clProSettings);</div><div><br></div><div>&nbsp; tasarimPanel = anaForm.AddNewProListViewDesignerPanel(stokListesi, 'tasarimPanel');</div><div>&nbsp; tasarimPanel.Height = 75;</div><div>&nbsp; stokListesi.SetDesignerPanel(tasarimPanel);</div><div><br></div><div>&nbsp; MAIN_TEXT = anaForm.AddNewProLabel(tasarimPanel, 'MAIN_TEXT', '');</div><div>&nbsp; MAIN_TEXT.Align = alTop;</div><div>&nbsp; MAIN_TEXT.Height = 30;</div><div>&nbsp; MAIN_TEXT.Margins.Left = 15;</div><div>&nbsp; MAIN_TEXT.Margins.Top = 5;</div><div>&nbsp; MAIN_TEXT.clProSettings.FontSize = 16;</div><div>&nbsp; MAIN_TEXT.clProSettings.FontColor = clAlphaColor.clHexToColor('#000000');</div><div>&nbsp; MAIN_TEXT.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; MAIN_TEXT.SetclProSettings(MAIN_TEXT.clProSettings);</div><div>&nbsp; tasarimPanel.AddPanelObject(MAIN_TEXT, clCaption);</div><div><br></div><div>&nbsp; SUB_TEXT = anaForm.AddNewProLabel(tasarimPanel, 'SUB_TEXT', '');</div><div>&nbsp; SUB_TEXT.Align = alTop;</div><div>&nbsp; SUB_TEXT.Height = 30;</div><div>&nbsp; SUB_TEXT.Margins.Left = 15;</div><div>&nbsp; SUB_TEXT.Margins.Top = 2;</div><div>&nbsp; SUB_TEXT.clProSettings.FontSize = 13;</div><div>&nbsp; SUB_TEXT.clProSettings.FontColor = clAlphaColor.clHexToColor('#555555');</div><div>&nbsp; SUB_TEXT.SetclProSettings(SUB_TEXT.clProSettings);</div><div>&nbsp; tasarimPanel.AddPanelObject(SUB_TEXT, clText);</div><div>&nbsp;&nbsp;</div><div>&nbsp; anaForm.AddNewEvent(stokListesi, tbeOnItemClick, 'ListeTiklandi');</div><div><br></div><div>&nbsp; anaForm.Run;</div><div>}</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v833ccba57c9e4d2798f2e76cebdd09a11778172276447" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v833ccba57c9e4d2798f2e76cebdd09a11778172276447"</a> integrity="sha512-57MDmcccJXYtNnH+ZiBwzC4jb2rvgVCEokYN+L/nLlmO8rfYT/gIpW2A569iJ/3b+0UEasghjuZH/ma3wIs/EQ==" 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>Mon, 01 Jun 2026 13:40:49 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1548&amp;PID=3572#3572</guid>
  </item> 
  <item>
   <title><![CDATA[Genel &#304;&#351;lemler : stok takip ürün düzenleme ve ürün silme hatası]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1548&amp;PID=3571#3571</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=379">Ömer Faruk</a><br /><strong>Konu:</strong> stok takip ürün düzenleme ve ürün silme hatası<br /><strong>Gönderim Zamanı:</strong> 30&nbsp;Mayıs&nbsp;2026 Saat 13:10<br /><br />Merhabalar Benim bir Stok takip uygulaması projem var. Koddaki hata projeye girince ürün ekledikten sonra düzenlemek için veya silmek için ürünü seçmeme rağmen ürün seçiniz diyor ve eklenen ürün listede yazı kaymış şekilde gözüküyor.<div>kod:</div><div><div>Var</div><div>&nbsp; anaForm : TclForm;</div><div>&nbsp; edtUrunAdi, edtAdet, edtFiyat : TclEdit;</div><div>&nbsp; lblUrunAdi, lblAdet, lblFiyat : TclLabel;</div><div>&nbsp; btnEkle, btnGuncelle, btnSil : TclButton;</div><div>&nbsp; stokListesi : TclProListView;</div><div>&nbsp; tasarimPanel : TclProListViewDesignerPanel;</div><div>&nbsp;&nbsp;</div><div>&nbsp; MAIN_TEXT, SUB_TEXT : TclProLabel;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; tumUrunlerJson : String;&nbsp;</div><div>&nbsp; butonPaneli, pnlUrunAdi, pnlAdet, pnlFiyat : TclPanel;</div><div>&nbsp; seciliGuid : String;</div><div>&nbsp; urunSayaci : Integer;</div><div><br></div><div>void VerileriYenile;</div><div>{</div><div>&nbsp; stokListesi.clearList;</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (tumUrunlerJson &lt;&gt; '')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; stokListesi.clLoadProListViewDataFromDataset(Clomosy.ClDataSetFromJSON('&#091;' + tumUrunlerJson + '&#093;'));</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void UrunEkle;</div><div>Var</div><div>&nbsp; yeniUrunJson : String;</div><div>{</div><div>&nbsp; if ((edtUrunAdi.Text == '') || (edtAdet.Text == '') || (edtFiyat.Text == ''))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('Lütfen tüm alanları doldurun!');</div><div>&nbsp; &nbsp; exit;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; urunSayaci = urunSayaci + 1;</div><div>&nbsp;&nbsp;</div><div>&nbsp; yeniUrunJson = '{"clRecord_GUID":"ID_' + IntToStr(urunSayaci) +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'", "MAIN_TEXT":"' + edtUrunAdi.Text +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'", "SUB_TEXT":"Adet: ' + edtAdet.Text + ' - Fiyat: ' + edtFiyat.Text + ' TL' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'", "PRODUCT_QTY":"' + edtAdet.Text +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'", "PRODUCT_PRICE":"' + edtFiyat.Text + '"}';</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (tumUrunlerJson &lt;&gt; '') { tumUrunlerJson = tumUrunlerJson + ','; }</div><div>&nbsp; tumUrunlerJson = tumUrunlerJson + yeniUrunJson;</div><div><br></div><div>&nbsp; VerileriYenile;</div><div>&nbsp;&nbsp;</div><div>&nbsp; edtUrunAdi.Text = ''; edtAdet.Text = ''; edtFiyat.Text = '';</div><div>&nbsp; seciliGuid = '';</div><div>}</div><div><br></div><div>void ListeTiklandi;</div><div>{</div><div>&nbsp; seciliGuid = stokListesi.clSelectedItemData(clRecord_GUID);</div><div>}</div><div><br></div><div>void UrunSil;</div><div>Var</div><div>&nbsp; GeciciDataset : TclMemTable;</div><div>&nbsp; YeniJsonKatar : String;</div><div>{</div><div>&nbsp; if (seciliGuid == '')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('Silmek için listeden bir ürün seçin!');</div><div>&nbsp; &nbsp; exit;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; GeciciDataset = Clomosy.ClDataSetFromJSON('&#091;' + tumUrunlerJson + '&#093;');</div><div>&nbsp; YeniJsonKatar = '';</div><div>&nbsp; GeciciDataset.First;</div><div>&nbsp; while (not GeciciDataset.Eof)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (GeciciDataset.FieldByName('clRecord_GUID').AsString &lt;&gt; seciliGuid)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; if (YeniJsonKatar &lt;&gt; '') { YeniJsonKatar = YeniJsonKatar + ','; }</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; YeniJsonKatar = YeniJsonKatar + '{"clRecord_GUID":"' + GeciciDataset.FieldByName('clRecord_GUID').AsString +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '", "MAIN_TEXT":"' + GeciciDataset.FieldByName('MAIN_TEXT').AsString +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '", "SUB_TEXT":"' + GeciciDataset.FieldByName('SUB_TEXT').AsString +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '", "PRODUCT_QTY":"' + GeciciDataset.FieldByName('PRODUCT_QTY').AsString +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '", "PRODUCT_PRICE":"' + GeciciDataset.FieldByName('PRODUCT_PRICE').AsString + '"}';</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; GeciciDataset.Next;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; tumUrunlerJson = YeniJsonKatar;</div><div>&nbsp; VerileriYenile;</div><div>&nbsp;&nbsp;</div><div>&nbsp; ShowMessage('Seçili ürün başarıyla listeden silindi.');</div><div>&nbsp; seciliGuid = '';&nbsp;</div><div>}</div><div><br></div><div>void UrunDuzenle;</div><div>Var</div><div>&nbsp; GeciciDataset : TclMemTable;</div><div>&nbsp; YeniJsonKatar : String;</div><div>{</div><div>&nbsp; if (seciliGuid == '')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('Düzenlemek için listeden bir ürün seçin!');</div><div>&nbsp; &nbsp; exit;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; edtUrunAdi.Text = stokListesi.clSelectedItemData('MAIN_TEXT');</div><div>&nbsp; edtAdet.Text = stokListesi.clSelectedItemData('PRODUCT_QTY');</div><div>&nbsp; edtFiyat.Text = stokListesi.clSelectedItemData('PRODUCT_PRICE');</div><div>&nbsp;&nbsp;</div><div>&nbsp; GeciciDataset = Clomosy.ClDataSetFromJSON('&#091;' + tumUrunlerJson + '&#093;');</div><div>&nbsp; YeniJsonKatar = '';</div><div>&nbsp; GeciciDataset.First;</div><div>&nbsp; while (not GeciciDataset.Eof)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (GeciciDataset.FieldByName('clRecord_GUID').AsString &lt;&gt; seciliGuid)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; if (YeniJsonKatar &lt;&gt; '') { YeniJsonKatar = YeniJsonKatar + ','; }</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; YeniJsonKatar = YeniJsonKatar + '{"clRecord_GUID":"' + GeciciDataset.FieldByName('clRecord_GUID').AsString +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '", "MAIN_TEXT":"' + GeciciDataset.FieldByName('MAIN_TEXT').AsString +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '", "SUB_TEXT":"' + GeciciDataset.FieldByName('SUB_TEXT').AsString +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '", "PRODUCT_QTY":"' + GeciciDataset.FieldByName('PRODUCT_QTY').AsString +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '", "PRODUCT_PRICE":"' + GeciciDataset.FieldByName('PRODUCT_PRICE').AsString + '"}';</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; GeciciDataset.Next;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; tumUrunlerJson = YeniJsonKatar;</div><div>&nbsp; VerileriYenile;</div><div>&nbsp;&nbsp;</div><div>&nbsp; ShowMessage('Ürün bilgileri yukarı taşındı. Düzenleyip tekrar Ekle butonuna basabilirsiniz.');</div><div>&nbsp; seciliGuid = '';</div><div>}</div><div><br></div><div>{</div><div>&nbsp; anaForm = TclForm.Create(Self);</div><div>&nbsp; tumUrunlerJson = '';</div><div>&nbsp; seciliGuid = '';&nbsp;</div><div>&nbsp; urunSayaci = 0;</div><div>&nbsp; butonPaneli = anaForm.AddNewPanel(anaForm, 'butonPaneli');</div><div>&nbsp; butonPaneli.Align = alTop;</div><div>&nbsp; butonPaneli.Height = 45;</div><div>&nbsp; butonPaneli.Margins.Top = 5;</div><div><br></div><div>&nbsp; btnEkle = anaForm.AddNewButton(butonPaneli, 'btnEkle', 'Ekle');</div><div>&nbsp; btnEkle.Align = alLeft; btnEkle.Width = 100;</div><div>&nbsp; anaForm.AddNewEvent(btnEkle, TbeOnClick, 'UrunEkle');</div><div><br></div><div>&nbsp; btnGuncelle = anaForm.AddNewButton(butonPaneli, 'btnGuncelle', 'Düzenle');</div><div>&nbsp; btnGuncelle.Align = alLeft; btnGuncelle.Width = 100;</div><div>&nbsp; anaForm.AddNewEvent(btnGuncelle, TbeOnClick, 'UrunDuzenle');</div><div><br></div><div>&nbsp; btnSil = anaForm.AddNewButton(butonPaneli, 'btnSil', 'Sil');</div><div>&nbsp; btnSil.Align = alLeft; btnSil.Width = 100;</div><div>&nbsp; anaForm.AddNewEvent(btnSil, TbeOnClick, 'UrunSil');</div><div><br></div><div>&nbsp; pnlUrunAdi = anaForm.AddNewPanel(anaForm, 'pnlUrunAdi');</div><div>&nbsp; pnlUrunAdi.Align = alTop; pnlUrunAdi.Height = 40; pnlUrunAdi.Margins.Top = 5;</div><div>&nbsp;&nbsp;</div><div>&nbsp; lblUrunAdi = anaForm.AddNewLabel(pnlUrunAdi, 'lblUrunAdi', 'Ürün Adı:');</div><div>&nbsp; lblUrunAdi.Align = alLeft; lblUrunAdi.Width = 80;</div><div>&nbsp; edtUrunAdi = anaForm.AddNewEdit(pnlUrunAdi, 'edtUrunAdi', 'Ürün adı...');</div><div>&nbsp; edtUrunAdi.Align = alClient;</div><div><br></div><div>&nbsp; pnlAdet = anaForm.AddNewPanel(anaForm, 'pnlAdet');</div><div>&nbsp; pnlAdet.Align = alTop; pnlAdet.Height = 40; pnlAdet.Margins.Top = 5;</div><div>&nbsp;&nbsp;</div><div>&nbsp; lblAdet = anaForm.AddNewLabel(pnlAdet, 'lblAdet', 'Adet:');</div><div>&nbsp; lblAdet.Align = alLeft; lblAdet.Width = 80;</div><div>&nbsp; edtAdet = anaForm.AddNewEdit(pnlAdet, 'edtAdet', 'Adet...');</div><div>&nbsp; edtAdet.Align = alClient;</div><div><br></div><div>&nbsp; pnlFiyat = anaForm.AddNewPanel(anaForm, 'pnlFiyat');</div><div>&nbsp; pnlFiyat.Align = alTop; pnlFiyat.Height = 40; pnlFiyat.Margins.Top = 5;</div><div>&nbsp;&nbsp;</div><div>&nbsp; lblFiyat = anaForm.AddNewLabel(pnlFiyat, 'lblFiyat', 'Fiyat:');</div><div>&nbsp; lblFiyat.Align = alLeft; lblFiyat.Width = 80;</div><div>&nbsp; edtFiyat = anaForm.AddNewEdit(pnlFiyat, 'edtFiyat', 'Fiyat...');</div><div>&nbsp; edtFiyat.Align = alClient;</div><div><br></div><div>&nbsp; stokListesi = anaForm.AddNewProListView(anaForm, 'stokListesi');</div><div>&nbsp; stokListesi.Align = alClient;</div><div>&nbsp; stokListesi.Margins.Top = 10;</div><div>&nbsp; stokListesi.clProSettings.ViewType = lvList;</div><div>&nbsp; stokListesi.clProSettings.ItemHeight = 75;&nbsp;</div><div>&nbsp; stokListesi.SetclProSettings(stokListesi.clProSettings);</div><div><br></div><div>&nbsp; tasarimPanel = anaForm.AddNewProListViewDesignerPanel(stokListesi, 'tasarimPanel');</div><div>&nbsp; tasarimPanel.Height = 75;</div><div>&nbsp; stokListesi.SetDesignerPanel(tasarimPanel);</div><div><br></div><div>&nbsp; MAIN_TEXT = anaForm.AddNewProLabel(tasarimPanel, 'MAIN_TEXT', '');</div><div>&nbsp; MAIN_TEXT.Align = alTop;</div><div>&nbsp; MAIN_TEXT.Height = 30;</div><div>&nbsp; MAIN_TEXT.Margins.Left = 15;</div><div>&nbsp; MAIN_TEXT.Margins.Top = 5;</div><div>&nbsp; MAIN_TEXT.clProSettings.FontSize = 16;</div><div>&nbsp; MAIN_TEXT.clProSettings.FontColor = clAlphaColor.clHexToColor('#000000');</div><div>&nbsp; tasarimPanel.AddPanelObject(MAIN_TEXT, clCaption);</div><div><br></div><div>&nbsp; SUB_TEXT = anaForm.AddNewProLabel(tasarimPanel, 'SUB_TEXT', '');</div><div>&nbsp; SUB_TEXT.Align = alClient;</div><div>&nbsp; SUB_TEXT.Margins.Left = 15;</div><div>&nbsp; SUB_TEXT.Margins.Top = 2;</div><div>&nbsp; SUB_TEXT.clProSettings.FontSize = 13;</div><div>&nbsp; SUB_TEXT.clProSettings.FontColor = clAlphaColor.clHexToColor('#555555');</div><div>&nbsp; tasarimPanel.AddPanelObject(SUB_TEXT, clText);</div><div>&nbsp;&nbsp;</div><div>&nbsp; anaForm.AddNewEvent(stokListesi, TbeOnItemClick, 'ListeTiklandi');</div><div><br></div><div>&nbsp; anaForm.Run;</div><div>}<br><br>Yardım ederseniz sevinirim.<br>Şimdiden teşekkürler...</div></div>]]>
   </description>
   <pubDate>Sat, 30 May 2026 13:10:12 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1548&amp;PID=3571#3571</guid>
  </item> 
  <item>
   <title><![CDATA[Genel &#304;&#351;lemler : hata düzeltme]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1546&amp;PID=3570#3570</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=347">Eren Ö.</a><br /><strong>Konu:</strong> hata düzeltme<br /><strong>Gönderim Zamanı:</strong> 21&nbsp;Mayıs&nbsp;2026 Saat 09:35<br /><br />Merhaba Berra. Yazmış olduğunuz diğer forum sorusunda bu sorun çözüldü diye umuyorum. Eğer çözülmediysede, yazmış olduğunuz kodların Clomosy'e uyumlu yazmanız gerektiğini belirtmek isterim.<br><br>Dökümantasyon için bu linki açabilirsiniz:&nbsp;<a href="https://www.docs.clomosy.com/Main_Page" target="_blank" rel="nofollow">https://www.docs.clomosy.com/Main_Page</a><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v833ccba57c9e4d2798f2e76cebdd09a11778172276447" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v833ccba57c9e4d2798f2e76cebdd09a11778172276447"</a> integrity="sha512-57MDmcccJXYtNnH+ZiBwzC4jb2rvgVCEokYN+L/nLlmO8rfYT/gIpW2A569iJ/3b+0UEasghjuZH/ma3wIs/EQ==" 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, 21 May 2026 09:35:29 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1546&amp;PID=3570#3570</guid>
  </item> 
  <item>
   <title><![CDATA[Genel &#304;&#351;lemler : hata düzeltme]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1547&amp;PID=3569#3569</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=347">Eren Ö.</a><br /><strong>Konu:</strong> hata düzeltme<br /><strong>Gönderim Zamanı:</strong> 21&nbsp;Mayıs&nbsp;2026 Saat 09:31<br /><br />Merhaba Berra, yazmış olduğunuz kod gayet güzel. Fakat bir kaç eksik/yanlış bulunmakta. "ısŞifre" yanlış bir özellik olup, aynı zamanda Türkçe harflerden dolayı yanlıştır.<br><br>Koyduğunuz fotoğraflar açılmadığından dolayı onları yorum satırına aldım, ve böylece kodunuz çalışır hale geldi. Size şimdi teslim edeceğim kodda yapmanız gereken tek şey resimleri desteklenen bir linkle değiştirmek.<br><br>İlerleyen zamanlarınızda lütfen aldığınız hataları/bizden istediğiniz şeyi belirtmeyi unutmayın. Teşekkür ederiz.<br><br><div>var</div><div>Form1: TclForm;</div><div><br></div><div>// --- GİRİŞ EKRANI BİLEŞENLERİ ---</div><div>PnlGiris: TclProPanel;</div><div>ImgGirisLogo: TclProImage;</div><div>LblGirisBaslik, LblKullanici, LblSifre, LblGirisHata: TclProLabel;</div><div>EdtKullanici, EdtSifre: TclProEdit;</div><div>BtnGirisYap: TclProButton;</div><div><br></div><div>// --- DENEY EKRANI BİLEŞENLERİ ---</div><div>PnlDeney: TclProPanel;</div><div>PnlUst, PnlIndikator, PnlMaddeler: TclProPanel;</div><div>LblBaslik, LblIndikatorDurum, LblSonuc: TclProLabel;</div><div><br></div><div>// Maddelerin Satır Panelleri (Resim ve Butonları Yan Yana Tutmak İçin)</div><div>PnlLimonRow, PnlSirkeRow, PnlTuzRuhuRow, PnlDisMacunuRow, PnlKarbonatRow, PnlSabunRow: TclProPanel;</div><div><br></div><div>// Madde Butonları</div><div>BtnLimon, BtnSirke, BtnTuzRuhu, BtnDisMacunu, BtnKarbonat, BtnSabun: TclProButton;</div><div><br></div><div>// Madde Görselleri</div><div>ImgLimon, ImgSirke, ImgTuzRuhu, ImgDisMacunu, ImgKarbonat, ImgSabun: TclProImage;</div><div><br></div><div>/* STREAMING_CHUNK: GİRİŞ YAPMA VE SİSTEM DOĞRULAMA FONKSİYONU */</div><div>void OnGirisYap;</div><div>{</div><div>// Kullanıcı adı ve şifre kontrolü</div><div>if ((EdtKullanici.Text == 'ogrenci') &amp;&amp; (EdtSifre.Text == '1234'))</div><div>{</div><div>PnlGiris.Visible = False;</div><div>PnlDeney.Visible = True;</div><div>}</div><div>else</div><div>{</div><div>LblGirisHata.Text = 'Hatalı Giriş! (Kullanıcı: ogrenci, Şifre: 1234)';</div><div>LblGirisHata.clProSettings.FontColor = clAlphaColor.clHexToColor('#E74C3C');</div><div>LblGirisHata.SetclProSettings(LblGirisHata.clProSettings);</div><div>}</div><div>}</div><div><br></div><div>/* STREAMING_CHUNK: REAKSİYON VE RENK DEĞİŞİM FONKSİYONU */</div><div>void OnMaddeEklendi;</div><div>var</div><div>SecilenMadde: TclProButton;</div><div>{</div><div>SecilenMadde = TclProButton(Form1.clSender);</div><div><br></div><div>// EĞER SEÇİLEN MADDE ASİT İSE (Etiketi 1 ise)</div><div>if (SecilenMadde.clTagInt == 1)</div><div>{</div><div>PnlIndikator.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#E84393'); // Pembe/Kırmızı Tonu</div><div>LblIndikatorDurum.Text = SecilenMadde.Text + ' Eklendi';</div><div>LblSonuc.Text = 'SONUÇ: Asit algılandı! Kırmızı lahana suyu kırmızı/pembe renge dönüştü.';</div><div>LblSonuc.clProSettings.FontColor = clAlphaColor.clHexToColor('#E84393');</div><div>}</div><div>// EĞER SEÇİLEN MADDE BAZ İSE (Etiketi 2 ise)</div><div>else if (SecilenMadde.clTagInt == 2)</div><div>{</div><div>PnlIndikator.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#00B894'); // Yeşil/Mavi Tonu</div><div>LblIndikatorDurum.Text = SecilenMadde.Text + ' Eklendi';</div><div>LblSonuc.Text = 'SONUÇ: Baz algılandı! Kırmızı lahana suyu mavi/yeşil renge dönüştü.';</div><div>LblSonuc.clProSettings.FontColor = clAlphaColor.clHexToColor('#00B894');</div><div>}</div><div><br></div><div>PnlIndikator.SetclProSettings(PnlIndikator.clProSettings);</div><div>LblSonuc.SetclProSettings(LblSonuc.clProSettings);</div><div>}</div><div><br></div><div>{</div><div>Form1 = TclForm.Create(Self);</div><div>Form1.SetFormColor('#1E272E', '', clGNone);</div><div><br></div><div>/* STREAMING_CHUNK: GİRİŞ EKRANI PANEL VE LOGO YAPILANDIRMASI */</div><div>PnlGiris = Form1.AddNewProPanel(Form1, 'PnlGiris');</div><div>PnlGiris.Align = alClient;</div><div>PnlGiris.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#1E272E');</div><div>PnlGiris.SetclProSettings(PnlGiris.clProSettings);</div><div><br></div><div>// Kimya Laboratuvarı Logo Görseli</div><div>ImgGirisLogo = Form1.AddNewProImage(PnlGiris, 'ImgGirisLogo');</div><div>ImgGirisLogo.Align = alTop;</div><div>ImgGirisLogo.Height = 130;</div><div>ImgGirisLogo.Margins.Top = 40;</div><div>ImgGirisLogo.Margins.Left = 80;</div><div>ImgGirisLogo.Margins.Right = 80;</div><div>//Form1.SetImage(ImgGirisLogo, '<a href="https://images.unsplash.com/photo-1507413245164-6160d8298b31?w=250&amp;fit=crop&amp;q=80" target="_blank" rel="nofollow">https://images.unsplash.com/photo-1507413245164-6160d8298b31?w=250&amp;fit=crop&amp;q=80</a>');</div><div><br></div><div>LblGirisBaslik = Form1.AddNewProLabel(PnlGiris, 'LblGirisBaslik', 'Sanal Kimya Portalı');</div><div>LblGirisBaslik.Align = alTop;</div><div>LblGirisBaslik.Height = 40;</div><div>LblGirisBaslik.Margins.Top = 15;</div><div>LblGirisBaslik.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>LblGirisBaslik.clProSettings.FontSize = 20;</div><div>LblGirisBaslik.clProSettings.FontHorzAlign = palCenter;</div><div>LblGirisBaslik.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>LblGirisBaslik.SetclProSettings(LblGirisBaslik.clProSettings);</div><div><br></div><div>/* STREAMING_CHUNK: GİRİŞ BİLGİLERİ GİRİŞ ALANLARI */</div><div>// Kullanıcı Adı Girişi</div><div>LblKullanici = Form1.AddNewProLabel(PnlGiris, 'LblKullanici', 'Kullanıcı Adı: (ogrenci)');</div><div>LblKullanici.Align = alTop; LblKullanici.Height = 20; LblKullanici.Margins.Left = 40; LblKullanici.Margins.Top = 20;</div><div>LblKullanici.clProSettings.FontColor = clAlphaColor.clHexToColor('#85929E');</div><div>LblKullanici.SetclProSettings(LblKullanici.clProSettings);</div><div><br></div><div>// Edit kutuları için 3 parametreli güvenli metod kullanılmıştır</div><div>EdtKullanici = Form1.AddNewProEdit(PnlGiris, 'EdtKullanici', 'Kullanıcı adınızı yazınız...');</div><div>EdtKullanici.Align = alTop; EdtKullanici.Height = 40; EdtKullanici.Margins.Left = 40; EdtKullanici.Margins.Right = 40;</div><div>EdtKullanici.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#2F3640');</div><div>EdtKullanici.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>EdtKullanici.clProSettings.RoundHeight = 10; EdtKullanici.clProSettings.RoundWidth = 10;</div><div>EdtKullanici.SetclProSettings(EdtKullanici.clProSettings);</div><div><br></div><div>// Şifre Girişi</div><div>LblSifre = Form1.AddNewProLabel(PnlGiris, 'LblSifre', 'Şifre: (1234)');</div><div>LblSifre.Align = alTop; LblSifre.Height = 20; LblSifre.Margins.Left = 40; LblSifre.Margins.Top = 10;</div><div>LblSifre.clProSettings.FontColor = clAlphaColor.clHexToColor('#85929E');</div><div>LblSifre.SetclProSettings(LblSifre.clProSettings);</div><div><br></div><div>EdtSifre = Form1.AddNewProEdit(PnlGiris, 'EdtSifre', 'Şifrenizi yazınız...');</div><div>EdtSifre.Align = alTop; EdtSifre.Height = 40; EdtSifre.Margins.Left = 40; EdtSifre.Margins.Right = 40;</div><div>EdtSifre.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#2F3640');</div><div>EdtSifre.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>EdtSifre.clProSettings.RoundHeight = 10; EdtSifre.clProSettings.RoundWidth = 10;</div><div>EdtSifre.Password = True;</div><div>EdtSifre.SetclProSettings(EdtSifre.clProSettings);</div><div><br></div><div>// Hata Mesajı Alanı</div><div>LblGirisHata = Form1.AddNewProLabel(PnlGiris, 'LblGirisHata', '');</div><div>LblGirisHata.Align = alTop; LblGirisHata.Height = 25; LblGirisHata.Margins.Top = 10;</div><div>LblGirisHata.clProSettings.FontHorzAlign = palCenter;</div><div>LblGirisHata.clProSettings.FontSize = 11;</div><div>LblGirisHata.SetclProSettings(LblGirisHata.clProSettings);</div><div><br></div><div>// Giriş Butonu</div><div>BtnGirisYap = Form1.AddNewProButton(PnlGiris, 'BtnGirisYap', 'Sisteme Bağlan &#129514;');</div><div>BtnGirisYap.Align = alTop; BtnGirisYap.Height = 45; BtnGirisYap.Margins.Left = 40; BtnGirisYap.Margins.Right = 40; BtnGirisYap.Margins.Top = 5;</div><div>BtnGirisYap.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#8E44AD');</div><div>BtnGirisYap.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>BtnGirisYap.clProSettings.RoundHeight = 12; BtnGirisYap.clProSettings.RoundWidth = 12;</div><div>BtnGirisYap.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>BtnGirisYap.SetclProSettings(BtnGirisYap.clProSettings);</div><div>Form1.AddNewEvent(BtnGirisYap, tbeOnClick, 'OnGirisYap');</div><div><br></div><div>/* STREAMING_CHUNK: DENEY EKRANI ANA PANEL YAPILANDIRMASI */</div><div>PnlDeney = Form1.AddNewProPanel(Form1, 'PnlDeney');</div><div>PnlDeney.Align = alClient;</div><div>PnlDeney.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#1E272E');</div><div>PnlDeney.SetclProSettings(PnlDeney.clProSettings);</div><div>PnlDeney.Visible = False; // Giriş yapılmadan önce gizlenir</div><div><br></div><div>// --- ÜST BAŞLIK ---</div><div>PnlUst = Form1.AddNewProPanel(PnlDeney, 'PnlUst');</div><div>PnlUst.Align = alTop; PnlUst.Height = 55;</div><div>PnlUst.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#2F3640');</div><div>PnlUst.SetclProSettings(PnlUst.clProSettings);</div><div><br></div><div>LblBaslik = Form1.AddNewProLabel(PnlUst, 'LblBaslik', '&#129514; Doğal İndikatör Deneyi');</div><div>LblBaslik.Align = alClient; LblBaslik.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>LblBaslik.clProSettings.FontSize = 16; LblBaslik.clProSettings.FontHorzAlign = palCenter;</div><div>LblBaslik.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>LblBaslik.SetclProSettings(LblBaslik.clProSettings);</div><div><br></div><div>// --- İNDİKATÖR KABI (Kırmızı Lahana Suyu) ---</div><div>PnlIndikator = Form1.AddNewProPanel(PnlDeney, 'PnlIndikator');</div><div>PnlIndikator.Align = alTop; PnlIndikator.Height = 120;</div><div>PnlIndikator.Margins.Top = 15; PnlIndikator.Margins.Left = 40; PnlIndikator.Margins.Right = 40;</div><div>PnlIndikator.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#8E44AD'); // Doğal Mor</div><div>PnlIndikator.clProSettings.RoundHeight = 20; PnlIndikator.clProSettings.RoundWidth = 20;</div><div>PnlIndikator.clProSettings.BorderColor = clAlphaColor.clHexToColor('#FFFFFF'); PnlIndikator.clProSettings.BorderWidth = 2;</div><div>PnlIndikator.SetclProSettings(PnlIndikator.clProSettings);</div><div><br></div><div>LblIndikatorDurum = Form1.AddNewProLabel(PnlIndikator, 'LblIndikatorDurum', 'Saf Kırmızı Lahana Suyu (pH 7)');</div><div>LblIndikatorDurum.Align = alClient; LblIndikatorDurum.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>LblIndikatorDurum.clProSettings.FontSize = 14; LblIndikatorDurum.clProSettings.FontHorzAlign = palCenter;</div><div>LblIndikatorDurum.SetclProSettings(LblIndikatorDurum.clProSettings);</div><div><br></div><div>// --- SONUÇ BİLGİ EKRANI ---</div><div>LblSonuc = Form1.AddNewProLabel(PnlDeney, 'LblSonuc', 'Aşağıdaki raf görsellerine dokunarak madde ekleyin.');</div><div>LblSonuc.Align = alTop; LblSonuc.Height = 50;</div><div>LblSonuc.Margins.Top = 10; LblSonuc.Margins.Left = 20; LblSonuc.Margins.Right = 20;</div><div>LblSonuc.clProSettings.FontColor = clAlphaColor.clHexToColor('#DCDDE1');</div><div>LblSonuc.clProSettings.FontSize = 12; LblSonuc.clProSettings.FontHorzAlign = palCenter;</div><div>LblSonuc.clProSettings.TextSettings.WordWrap = True;</div><div>LblSonuc.SetclProSettings(LblSonuc.clProSettings);</div><div><br></div><div>// --- MADDELER PANELİ (KAYDIRILABİLİR İÇERİK RAFİ) ---</div><div>PnlMaddeler = Form1.AddNewProPanel(PnlDeney, 'PnlMaddeler');</div><div>PnlMaddeler.Align = alClient; PnlMaddeler.Margins.Top = 5;</div><div>PnlMaddeler.clProSettings.BackgroundColor = clAlphaColor.clNull;</div><div>PnlMaddeler.SetclProSettings(PnlMaddeler.clProSettings);</div><div><br></div><div>/* STREAMING_CHUNK: ASİT MATERYALLERİ VE GÖRSELLERİ */</div><div><br></div><div>// --- 1. LİMON SUYU SATIRI ---</div><div>PnlLimonRow = Form1.AddNewProPanel(PnlMaddeler, 'PnlLimonRow');</div><div>PnlLimonRow.Align = alTop; PnlLimonRow.Height = 50; PnlLimonRow.Margins.Bottom = 8; PnlLimonRow.Margins.Left = 20; PnlLimonRow.Margins.Right = 20;</div><div>PnlLimonRow.clProSettings.BackgroundColor = clAlphaColor.clNull; PnlLimonRow.SetclProSettings(PnlLimonRow.clProSettings);</div><div><br></div><div>ImgLimon = Form1.AddNewProImage(PnlLimonRow, 'ImgLimon');</div><div>ImgLimon.Align = alLeft; ImgLimon.Width = 50; ImgLimon.Margins.Right = 10;</div><div>//Form1.SetImage(ImgLimon, '<a href="https://images.unsplash.com/photo-1590502593747-42a996133562?w=80&amp;fit=crop&amp;q=60" target="_blank" rel="nofollow">https://images.unsplash.com/photo-1590502593747-42a996133562?w=80&amp;fit=crop&amp;q=60</a>');</div><div><br></div><div>BtnLimon = Form1.AddNewProButton(PnlLimonRow, 'BtnLimon', '&#127819; Limon Suyu (Asit)');</div><div>BtnLimon.Align = alClient;</div><div>BtnLimon.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F1C40F'); BtnLimon.clProSettings.RoundHeight = 10; BtnLimon.clProSettings.RoundWidth = 10;</div><div>BtnLimon.clProSettings.FontColor = clAlphaColor.clHexToColor('#2C3E50');</div><div>BtnLimon.SetclProSettings(BtnLimon.clProSettings); BtnLimon.clTagInt = 1;</div><div>Form1.AddNewEvent(BtnLimon, tbeOnClick, 'OnMaddeEklendi');</div><div><br></div><div>// --- 2. SİRKE SATIRI ---</div><div>PnlSirkeRow = Form1.AddNewProPanel(PnlMaddeler, 'PnlSirkeRow');</div><div>PnlSirkeRow.Align = alTop; PnlSirkeRow.Height = 50; PnlSirkeRow.Margins.Bottom = 8; PnlSirkeRow.Margins.Left = 20; PnlSirkeRow.Margins.Right = 20;</div><div>PnlSirkeRow.clProSettings.BackgroundColor = clAlphaColor.clNull; PnlSirkeRow.SetclProSettings(PnlSirkeRow.clProSettings);</div><div><br></div><div>ImgSirke = Form1.AddNewProImage(PnlSirkeRow, 'ImgSirke');</div><div>ImgSirke.Align = alLeft; ImgSirke.Width = 50; ImgSirke.Margins.Right = 10;</div><div>//Form1.SetImage(ImgSirke, '<a href="https://images.unsplash.com/photo-1622484211148-716598e04141?w=80&amp;fit=crop&amp;q=60" target="_blank" rel="nofollow">https://images.unsplash.com/photo-1622484211148-716598e04141?w=80&amp;fit=crop&amp;q=60</a>');</div><div><br></div><div>BtnSirke = Form1.AddNewProButton(PnlSirkeRow, 'BtnSirke', '&#127870; Sirke (Asit)');</div><div>BtnSirke.Align = alClient;</div><div>BtnSirke.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#E67E22'); BtnSirke.clProSettings.RoundHeight = 10; BtnSirke.clProSettings.RoundWidth = 10;</div><div>BtnSirke.clProSettings.FontColor = clAlphaColor.clHexToColor('#2C3E50');</div><div>BtnSirke.SetclProSettings(BtnSirke.clProSettings); BtnSirke.clTagInt = 1;</div><div>Form1.AddNewEvent(BtnSirke, tbeOnClick, 'OnMaddeEklendi');</div><div><br></div><div>// --- 3. TUZ RUHU SATIRI ---</div><div>PnlTuzRuhuRow = Form1.AddNewProPanel(PnlMaddeler, 'PnlTuzRuhuRow');</div><div>PnlTuzRuhuRow.Align = alTop; PnlTuzRuhuRow.Height = 50; PnlTuzRuhuRow.Margins.Bottom = 15; PnlTuzRuhuRow.Margins.Left = 20; PnlTuzRuhuRow.Margins.Right = 20;</div><div>PnlTuzRuhuRow.clProSettings.BackgroundColor = clAlphaColor.clNull; PnlTuzRuhuRow.SetclProSettings(PnlTuzRuhuRow.clProSettings);</div><div><br></div><div>ImgTuzRuhu = Form1.AddNewProImage(PnlTuzRuhuRow, 'ImgTuzRuhu');</div><div>ImgTuzRuhu.Align = alLeft; ImgTuzRuhu.Width = 50; ImgTuzRuhu.Margins.Right = 10;</div><div>//Form1.SetImage(ImgTuzRuhu, '<a href="https://images.unsplash.com/photo-1603126857599-f6e157fa2fe6?w=80&amp;fit=crop&amp;q=60" target="_blank" rel="nofollow">https://images.unsplash.com/photo-1603126857599-f6e157fa2fe6?w=80&amp;fit=crop&amp;q=60</a>');</div><div><br></div><div>BtnTuzRuhu = Form1.AddNewProButton(PnlTuzRuhuRow, 'BtnTuzRuhu', '&#9760;&#65039; Tuz Ruhu (Kuvvetli Asit)');</div><div>BtnTuzRuhu.Align = alClient;</div><div>BtnTuzRuhu.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#E74C3C'); BtnTuzRuhu.clProSettings.RoundHeight = 10; BtnTuzRuhu.clProSettings.RoundWidth = 10;</div><div>BtnTuzRuhu.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>BtnTuzRuhu.SetclProSettings(BtnTuzRuhu.clProSettings); BtnTuzRuhu.clTagInt = 1;</div><div>Form1.AddNewEvent(BtnTuzRuhu, tbeOnClick, 'OnMaddeEklendi');</div><div><br></div><div>/* STREAMING_CHUNK: BAZ MATERYALLERİ VE GÖRSELLERİ */</div><div><br></div><div>// --- 4. DİŞ MACUNU SATIRI ---</div><div>PnlDisMacunuRow = Form1.AddNewProPanel(PnlMaddeler, 'PnlDisMacunuRow');</div><div>PnlDisMacunuRow.Align = alTop; PnlDisMacunuRow.Height = 50; PnlDisMacunuRow.Margins.Bottom = 8; PnlDisMacunuRow.Margins.Left = 20; PnlDisMacunuRow.Margins.Right = 20;</div><div>PnlDisMacunuRow.clProSettings.BackgroundColor = clAlphaColor.clNull; PnlDisMacunuRow.SetclProSettings(PnlDisMacunuRow.clProSettings);</div><div><br></div><div>ImgDisMacunu = Form1.AddNewProImage(PnlDisMacunuRow, 'ImgDisMacunu');</div><div>ImgDisMacunu.Align = alLeft; ImgDisMacunu.Width = 50; ImgDisMacunu.Margins.Right = 10;</div><div>//Form1.SetImage(ImgDisMacunu, '<a href="https://images.unsplash.com/photo-1559599189-fe84dea4eb79?w=80&amp;fit=crop&amp;q=60" target="_blank" rel="nofollow">https://images.unsplash.com/photo-1559599189-fe84dea4eb79?w=80&amp;fit=crop&amp;q=60</a>');</div><div><br></div><div>BtnDisMacunu = Form1.AddNewProButton(PnlDisMacunuRow, 'BtnDisMacunu', '&#129701; Diş Macunu (Baz)');</div><div>BtnDisMacunu.Align = alClient;</div><div>BtnDisMacunu.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#3498DB'); BtnDisMacunu.clProSettings.RoundHeight = 10; BtnDisMacunu.clProSettings.RoundWidth = 10;</div><div>BtnDisMacunu.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>BtnDisMacunu.SetclProSettings(BtnDisMacunu.clProSettings); BtnDisMacunu.clTagInt = 2;</div><div>Form1.AddNewEvent(BtnDisMacunu, tbeOnClick, 'OnMaddeEklendi');</div><div><br></div><div>// --- 5. KARBONAT SATIRI ---</div><div>PnlKarbonatRow = Form1.AddNewProPanel(PnlMaddeler, 'PnlKarbonatRow');</div><div>PnlKarbonatRow.Align = alTop; PnlKarbonatRow.Height = 50; PnlKarbonatRow.Margins.Bottom = 8; PnlKarbonatRow.Margins.Left = 20; PnlKarbonatRow.Margins.Right = 20;</div><div>PnlKarbonatRow.clProSettings.BackgroundColor = clAlphaColor.clNull; PnlKarbonatRow.SetclProSettings(PnlKarbonatRow.clProSettings);</div><div><br></div><div>ImgKarbonat = Form1.AddNewProImage(PnlKarbonatRow, 'ImgKarbonat');</div><div>ImgKarbonat.Align = alLeft; ImgKarbonat.Width = 50; ImgKarbonat.Margins.Right = 10;</div><div>//Form1.SetImage(ImgKarbonat, '<a href="https://images.unsplash.com/photo-1553530666-ba11a7da3888?w=80&amp;fit=crop&amp;q=60" target="_blank" rel="nofollow">https://images.unsplash.com/photo-1553530666-ba11a7da3888?w=80&amp;fit=crop&amp;q=60</a>');</div><div><br></div><div>BtnKarbonat = Form1.AddNewProButton(PnlKarbonatRow, 'BtnKarbonat', '&#129767; Karbonatlı Su (Baz)');</div><div>BtnKarbonat.Align = alClient;</div><div>BtnKarbonat.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#9B59B6'); BtnKarbonat.clProSettings.RoundHeight = 10; BtnKarbonat.clProSettings.RoundWidth = 10;</div><div>BtnKarbonat.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>BtnKarbonat.SetclProSettings(BtnKarbonat.clProSettings); BtnKarbonat.clTagInt = 2;</div><div>Form1.AddNewEvent(BtnKarbonat, tbeOnClick, 'OnMaddeEklendi');</div><div><br></div><div>// --- 6. SABUNLU SU SATIRI ---</div><div>PnlSabunRow = Form1.AddNewProPanel(PnlMaddeler, 'PnlSabunRow');</div><div>PnlSabunRow.Align = alTop; PnlSabunRow.Height = 50; PnlSabunRow.Margins.Bottom = 8; PnlSabunRow.Margins.Left = 20; PnlSabunRow.Margins.Right = 20;</div><div>PnlSabunRow.clProSettings.BackgroundColor = clAlphaColor.clNull; PnlSabunRow.SetclProSettings(PnlSabunRow.clProSettings);</div><div><br></div><div>ImgSabun = Form1.AddNewProImage(PnlSabunRow, 'ImgSabun');</div><div>ImgSabun.Align = alLeft; ImgSabun.Width = 50; ImgSabun.Margins.Right = 10;</div><div>//Form1.SetImage(ImgSabun, '<a href="https://images.unsplash.com/photo-1607006342411-9c145e227b47?w=80&amp;fit=crop&amp;q=60" target="_blank" rel="nofollow">https://images.unsplash.com/photo-1607006342411-9c145e227b47?w=80&amp;fit=crop&amp;q=60</a>');</div><div><br></div><div>BtnSabun = Form1.AddNewProButton(PnlSabunRow, 'BtnSabun', '&#129532; Sabunlu Su (Baz)');</div><div>BtnSabun.Align = alClient;</div><div>BtnSabun.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#1ABC9C'); BtnSabun.clProSettings.RoundHeight = 10; BtnSabun.clProSettings.RoundWidth = 10;</div><div>BtnSabun.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>BtnSabun.SetclProSettings(BtnSabun.clProSettings); BtnSabun.clTagInt = 2;</div><div>Form1.AddNewEvent(BtnSabun, tbeOnClick, 'OnMaddeEklendi');</div><div><br></div><div>Form1.Run;</div><div>}</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v833ccba57c9e4d2798f2e76cebdd09a11778172276447" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v833ccba57c9e4d2798f2e76cebdd09a11778172276447"</a> integrity="sha512-57MDmcccJXYtNnH+ZiBwzC4jb2rvgVCEokYN+L/nLlmO8rfYT/gIpW2A569iJ/3b+0UEasghjuZH/ma3wIs/EQ==" 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, 21 May 2026 09:31:58 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1547&amp;PID=3569#3569</guid>
  </item> 
  <item>
   <title><![CDATA[Genel &#304;&#351;lemler : hata düzeltme]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1547&amp;PID=3568#3568</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=460">Berra Gül</a><br /><strong>Konu:</strong> hata düzeltme<br /><strong>Gönderim Zamanı:</strong> 20&nbsp;Mayıs&nbsp;2026 Saat 23:14<br /><br /><div>var</div><div>Form1: TclForm;</div><div><br></div><div>// --- GİRİŞ EKRANI BİLEŞENLERİ ---</div><div>PnlGiris: TclProPanel;</div><div>ImgGirisLogo: TclProImage;</div><div>LblGirisBaslik, LblKullanici, LblSifre, LblGirisHata: TclProLabel;</div><div>EdtKullanici, EdtSifre: TclProEdit;</div><div>BtnGirisYap: TclProButton;</div><div><br></div><div>// --- DENEY EKRANI BİLEŞENLERİ ---</div><div>PnlDeney: TclProPanel;</div><div>PnlUst, PnlIndikator, PnlMaddeler: TclProPanel;</div><div>LblBaslik, LblIndikatorDurum, LblSonuc: TclProLabel;</div><div><br></div><div>// Maddelerin Satır Panelleri (Resim ve Butonları Yan Yana Tutmak İçin)</div><div>PnlLimonRow, PnlSirkeRow, PnlTuzRuhuRow, PnlDisMacunuRow, PnlKarbonatRow, PnlSabunRow: TclProPanel;</div><div><br></div><div>// Madde Butonları</div><div>BtnLimon, BtnSirke, BtnTuzRuhu, BtnDisMacunu, BtnKarbonat, BtnSabun: TclProButton;</div><div><br></div><div>// Madde Görselleri</div><div>ImgLimon, ImgSirke, ImgTuzRuhu, ImgDisMacunu, ImgKarbonat, ImgSabun: TclProImage;</div><div><br></div><div>/* STREAMING_CHUNK: GİRİŞ YAPMA VE SİSTEM DOĞRULAMA FONKSİYONU */</div><div>void OnGirisYap;</div><div>{</div><div>// Kullanıcı adı ve şifre kontrolü</div><div>if ((EdtKullanici.Text == 'ogrenci') &amp;&amp; (EdtSifre.Text == '1234'))</div><div>{</div><div>PnlGiris.Visible = False;</div><div>PnlDeney.Visible = True;</div><div>}</div><div>else</div><div>{</div><div>LblGirisHata.Text = 'Hatalı Giriş! (Kullanıcı: ogrenci, Şifre: 1234)';</div><div>LblGirisHata.clProSettings.FontColor = clAlphaColor.clHexToColor('#E74C3C');</div><div>LblGirisHata.SetclProSettings(LblGirisHata.clProSettings);</div><div>}</div><div>}</div><div><br></div><div>/* STREAMING_CHUNK: REAKSİYON VE RENK DEĞİŞİM FONKSİYONU */</div><div>void OnMaddeEklendi;</div><div>var</div><div>SecilenMadde: TclProButton;</div><div>{</div><div>SecilenMadde = TclProButton(Form1.clSender);</div><div><br></div><div>// EĞER SEÇİLEN MADDE ASİT İSE (Etiketi 1 ise)</div><div>if (SecilenMadde.clTagInt == 1)</div><div>{</div><div>PnlIndikator.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#E84393'); // Pembe/Kırmızı Tonu</div><div>LblIndikatorDurum.Text = SecilenMadde.Text + ' Eklendi';</div><div>LblSonuc.Text = 'SONUÇ: Asit algılandı! Kırmızı lahana suyu kırmızı/pembe renge dönüştü.';</div><div>LblSonuc.clProSettings.FontColor = clAlphaColor.clHexToColor('#E84393');</div><div>}</div><div>// EĞER SEÇİLEN MADDE BAZ İSE (Etiketi 2 ise)</div><div>else if (SecilenMadde.clTagInt == 2)</div><div>{</div><div>PnlIndikator.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#00B894'); // Yeşil/Mavi Tonu</div><div>LblIndikatorDurum.Text = SecilenMadde.Text + ' Eklendi';</div><div>LblSonuc.Text = 'SONUÇ: Baz algılandı! Kırmızı lahana suyu mavi/yeşil renge dönüştü.';</div><div>LblSonuc.clProSettings.FontColor = clAlphaColor.clHexToColor('#00B894');</div><div>}</div><div><br></div><div>PnlIndikator.SetclProSettings(PnlIndikator.clProSettings);</div><div>LblSonuc.SetclProSettings(LblSonuc.clProSettings);</div><div>}</div><div><br></div><div>{</div><div>Form1 = TclForm.Create(Self);</div><div>Form1.SetFormColor('#1E272E', '', clGNone);</div><div><br></div><div>/* STREAMING_CHUNK: GİRİŞ EKRANI PANEL VE LOGO YAPILANDIRMASI */</div><div>PnlGiris = Form1.AddNewProPanel(Form1, 'PnlGiris');</div><div>PnlGiris.Align = alClient;</div><div>PnlGiris.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#1E272E');</div><div>PnlGiris.SetclProSettings(PnlGiris.clProSettings);</div><div><br></div><div>// Kimya Laboratuvarı Logo Görseli</div><div>ImgGirisLogo = Form1.AddNewProImage(PnlGiris, 'ImgGirisLogo');</div><div>ImgGirisLogo.Align = alTop;</div><div>ImgGirisLogo.Height = 130;</div><div>ImgGirisLogo.Margins.Top = 40;</div><div>ImgGirisLogo.Margins.Left = 80;</div><div>ImgGirisLogo.Margins.Right = 80;</div><div>Form1.SetImage(ImgGirisLogo, '<a href="https://images.unsplash.com/photo-1507413245164-6160d8298b31?w=250&amp;fit=crop&amp;q=80" target="_blank" rel="nofollow">https://images.unsplash.com/photo-1507413245164-6160d8298b31?w=250&amp;fit=crop&amp;q=80</a>');</div><div><br></div><div>LblGirisBaslik = Form1.AddNewProLabel(PnlGiris, 'LblGirisBaslik', 'Sanal Kimya Portalı');</div><div>LblGirisBaslik.Align = alTop;</div><div>LblGirisBaslik.Height = 40;</div><div>LblGirisBaslik.Margins.Top = 15;</div><div>LblGirisBaslik.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>LblGirisBaslik.clProSettings.FontSize = 20;</div><div>LblGirisBaslik.clProSettings.FontHorzAlign = palCenter;</div><div>LblGirisBaslik.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>LblGirisBaslik.SetclProSettings(LblGirisBaslik.clProSettings);</div><div><br></div><div>/* STREAMING_CHUNK: GİRİŞ BİLGİLERİ GİRİŞ ALANLARI */</div><div>// Kullanıcı Adı Girişi</div><div>LblKullanici = Form1.AddNewProLabel(PnlGiris, 'LblKullanici', 'Kullanıcı Adı: (ogrenci)');</div><div>LblKullanici.Align = alTop; LblKullanici.Height = 20; LblKullanici.Margins.Left = 40; LblKullanici.Margins.Top = 20;</div><div>LblKullanici.clProSettings.FontColor = clAlphaColor.clHexToColor('#85929E');</div><div>LblKullanici.SetclProSettings(LblKullanici.clProSettings);</div><div><br></div><div>// Edit kutuları için 3 parametreli güvenli metod kullanılmıştır</div><div>EdtKullanici = Form1.AddNewProEdit(PnlGiris, 'EdtKullanici', 'Kullanıcı adınızı yazınız...');</div><div>EdtKullanici.Align = alTop; EdtKullanici.Height = 40; EdtKullanici.Margins.Left = 40; EdtKullanici.Margins.Right = 40;</div><div>EdtKullanici.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#2F3640');</div><div>EdtKullanici.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>EdtKullanici.clProSettings.RoundHeight = 10; EdtKullanici.clProSettings.RoundWidth = 10;</div><div>EdtKullanici.SetclProSettings(EdtKullanici.clProSettings);</div><div><br></div><div>// Şifre Girişi</div><div>LblSifre = Form1.AddNewProLabel(PnlGiris, 'LblSifre', 'Şifre: (1234)');</div><div>LblSifre.Align = alTop; LblSifre.Height = 20; LblSifre.Margins.Left = 40; LblSifre.Margins.Top = 10;</div><div>LblSifre.clProSettings.FontColor = clAlphaColor.clHexToColor('#85929E');</div><div>LblSifre.SetclProSettings(LblSifre.clProSettings);</div><div><br></div><div>EdtSifre = Form1.AddNewProEdit(PnlGiris, 'EdtSifre', 'Şifrenizi yazınız...');</div><div>EdtSifre.Align = alTop; EdtSifre.Height = 40; EdtSifre.Margins.Left = 40; EdtSifre.Margins.Right = 40;</div><div>EdtSifre.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#2F3640');</div><div>EdtSifre.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>EdtSifre.clProSettings.RoundHeight = 10; EdtSifre.clProSettings.RoundWidth = 10;</div><div>EdtSifre.clProSettings.ısSifre = True;</div><div>EdtSifre.SetclProSettings(EdtSifre.clProSettings);</div><div><br></div><div>// Hata Mesajı Alanı</div><div>LblGirisHata = Form1.AddNewProLabel(PnlGiris, 'LblGirisHata', '');</div><div>LblGirisHata.Align = alTop; LblGirisHata.Height = 25; LblGirisHata.Margins.Top = 10;</div><div>LblGirisHata.clProSettings.FontHorzAlign = palCenter;</div><div>LblGirisHata.clProSettings.FontSize = 11;</div><div>LblGirisHata.SetclProSettings(LblGirisHata.clProSettings);</div><div><br></div><div>// Giriş Butonu</div><div>BtnGirisYap = Form1.AddNewProButton(PnlGiris, 'BtnGirisYap', 'Sisteme Bağlan &#129514;');</div><div>BtnGirisYap.Align = alTop; BtnGirisYap.Height = 45; BtnGirisYap.Margins.Left = 40; BtnGirisYap.Margins.Right = 40; BtnGirisYap.Margins.Top = 5;</div><div>BtnGirisYap.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#8E44AD');</div><div>BtnGirisYap.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>BtnGirisYap.clProSettings.RoundHeight = 12; BtnGirisYap.clProSettings.RoundWidth = 12;</div><div>BtnGirisYap.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>BtnGirisYap.SetclProSettings(BtnGirisYap.clProSettings);</div><div>Form1.AddNewEvent(BtnGirisYap, tbeOnClick, 'OnGirisYap');</div><div><br></div><div>/* STREAMING_CHUNK: DENEY EKRANI ANA PANEL YAPILANDIRMASI */</div><div>PnlDeney = Form1.AddNewProPanel(Form1, 'PnlDeney');</div><div>PnlDeney.Align = alClient;</div><div>PnlDeney.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#1E272E');</div><div>PnlDeney.SetclProSettings(PnlDeney.clProSettings);</div><div>PnlDeney.Visible = False; // Giriş yapılmadan önce gizlenir</div><div><br></div><div>// --- ÜST BAŞLIK ---</div><div>PnlUst = Form1.AddNewProPanel(PnlDeney, 'PnlUst');</div><div>PnlUst.Align = alTop; PnlUst.Height = 55;</div><div>PnlUst.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#2F3640');</div><div>PnlUst.SetclProSettings(PnlUst.clProSettings);</div><div><br></div><div>LblBaslik = Form1.AddNewProLabel(PnlUst, 'LblBaslik', '&#129514; Doğal İndikatör Deneyi');</div><div>LblBaslik.Align = alClient; LblBaslik.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>LblBaslik.clProSettings.FontSize = 16; LblBaslik.clProSettings.FontHorzAlign = palCenter;</div><div>LblBaslik.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>LblBaslik.SetclProSettings(LblBaslik.clProSettings);</div><div><br></div><div>// --- İNDİKATÖR KABI (Kırmızı Lahana Suyu) ---</div><div>PnlIndikator = Form1.AddNewProPanel(PnlDeney, 'PnlIndikator');</div><div>PnlIndikator.Align = alTop; PnlIndikator.Height = 120;</div><div>PnlIndikator.Margins.Top = 15; PnlIndikator.Margins.Left = 40; PnlIndikator.Margins.Right = 40;</div><div>PnlIndikator.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#8E44AD'); // Doğal Mor</div><div>PnlIndikator.clProSettings.RoundHeight = 20; PnlIndikator.clProSettings.RoundWidth = 20;</div><div>PnlIndikator.clProSettings.BorderColor = clAlphaColor.clHexToColor('#FFFFFF'); PnlIndikator.clProSettings.BorderWidth = 2;</div><div>PnlIndikator.SetclProSettings(PnlIndikator.clProSettings);</div><div><br></div><div>LblIndikatorDurum = Form1.AddNewProLabel(PnlIndikator, 'LblIndikatorDurum', 'Saf Kırmızı Lahana Suyu (pH 7)');</div><div>LblIndikatorDurum.Align = alClient; LblIndikatorDurum.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>LblIndikatorDurum.clProSettings.FontSize = 14; LblIndikatorDurum.clProSettings.FontHorzAlign = palCenter;</div><div>LblIndikatorDurum.SetclProSettings(LblIndikatorDurum.clProSettings);</div><div><br></div><div>// --- SONUÇ BİLGİ EKRANI ---</div><div>LblSonuc = Form1.AddNewProLabel(PnlDeney, 'LblSonuc', 'Aşağıdaki raf görsellerine dokunarak madde ekleyin.');</div><div>LblSonuc.Align = alTop; LblSonuc.Height = 50;</div><div>LblSonuc.Margins.Top = 10; LblSonuc.Margins.Left = 20; LblSonuc.Margins.Right = 20;</div><div>LblSonuc.clProSettings.FontColor = clAlphaColor.clHexToColor('#DCDDE1');</div><div>LblSonuc.clProSettings.FontSize = 12; LblSonuc.clProSettings.FontHorzAlign = palCenter;</div><div>LblSonuc.clProSettings.TextSettings.WordWrap = True;</div><div>LblSonuc.SetclProSettings(LblSonuc.clProSettings);</div><div><br></div><div>// --- MADDELER PANELİ (KAYDIRILABİLİR İÇERİK RAFİ) ---</div><div>PnlMaddeler = Form1.AddNewProPanel(PnlDeney, 'PnlMaddeler');</div><div>PnlMaddeler.Align = alClient; PnlMaddeler.Margins.Top = 5;</div><div>PnlMaddeler.clProSettings.BackgroundColor = clAlphaColor.clNull;</div><div>PnlMaddeler.SetclProSettings(PnlMaddeler.clProSettings);</div><div><br></div><div>/* STREAMING_CHUNK: ASİT MATERYALLERİ VE GÖRSELLERİ */</div><div><br></div><div>// --- 1. LİMON SUYU SATIRI ---</div><div>PnlLimonRow = Form1.AddNewProPanel(PnlMaddeler, 'PnlLimonRow');</div><div>PnlLimonRow.Align = alTop; PnlLimonRow.Height = 50; PnlLimonRow.Margins.Bottom = 8; PnlLimonRow.Margins.Left = 20; PnlLimonRow.Margins.Right = 20;</div><div>PnlLimonRow.clProSettings.BackgroundColor = clAlphaColor.clNull; PnlLimonRow.SetclProSettings(PnlLimonRow.clProSettings);</div><div><br></div><div>ImgLimon = Form1.AddNewProImage(PnlLimonRow, 'ImgLimon');</div><div>ImgLimon.Align = alLeft; ImgLimon.Width = 50; ImgLimon.Margins.Right = 10;</div><div>Form1.SetImage(ImgLimon, '<a href="https://images.unsplash.com/photo-1590502593747-42a996133562?w=80&amp;fit=crop&amp;q=60" target="_blank" rel="nofollow">https://images.unsplash.com/photo-1590502593747-42a996133562?w=80&amp;fit=crop&amp;q=60</a>');</div><div><br></div><div>BtnLimon = Form1.AddNewProButton(PnlLimonRow, 'BtnLimon', '&#127819; Limon Suyu (Asit)');</div><div>BtnLimon.Align = alClient;</div><div>BtnLimon.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F1C40F'); BtnLimon.clProSettings.RoundHeight = 10; BtnLimon.clProSettings.RoundWidth = 10;</div><div>BtnLimon.clProSettings.FontColor = clAlphaColor.clHexToColor('#2C3E50');</div><div>BtnLimon.SetclProSettings(BtnLimon.clProSettings); BtnLimon.clTagInt = 1;</div><div>Form1.AddNewEvent(BtnLimon, tbeOnClick, 'OnMaddeEklendi');</div><div><br></div><div>// --- 2. SİRKE SATIRI ---</div><div>PnlSirkeRow = Form1.AddNewProPanel(PnlMaddeler, 'PnlSirkeRow');</div><div>PnlSirkeRow.Align = alTop; PnlSirkeRow.Height = 50; PnlSirkeRow.Margins.Bottom = 8; PnlSirkeRow.Margins.Left = 20; PnlSirkeRow.Margins.Right = 20;</div><div>PnlSirkeRow.clProSettings.BackgroundColor = clAlphaColor.clNull; PnlSirkeRow.SetclProSettings(PnlSirkeRow.clProSettings);</div><div><br></div><div>ImgSirke = Form1.AddNewProImage(PnlSirkeRow, 'ImgSirke');</div><div>ImgSirke.Align = alLeft; ImgSirke.Width = 50; ImgSirke.Margins.Right = 10;</div><div>Form1.SetImage(ImgSirke, '<a href="https://images.unsplash.com/photo-1622484211148-716598e04141?w=80&amp;fit=crop&amp;q=60" target="_blank" rel="nofollow">https://images.unsplash.com/photo-1622484211148-716598e04141?w=80&amp;fit=crop&amp;q=60</a>');</div><div><br></div><div>BtnSirke = Form1.AddNewProButton(PnlSirkeRow, 'BtnSirke', '&#127870; Sirke (Asit)');</div><div>BtnSirke.Align = alClient;</div><div>BtnSirke.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#E67E22'); BtnSirke.clProSettings.RoundHeight = 10; BtnSirke.clProSettings.RoundWidth = 10;</div><div>BtnSirke.clProSettings.FontColor = clAlphaColor.clHexToColor('#2C3E50');</div><div>BtnSirke.SetclProSettings(BtnSirke.clProSettings); BtnSirke.clTagInt = 1;</div><div>Form1.AddNewEvent(BtnSirke, tbeOnClick, 'OnMaddeEklendi');</div><div><br></div><div>// --- 3. TUZ RUHU SATIRI ---</div><div>PnlTuzRuhuRow = Form1.AddNewProPanel(PnlMaddeler, 'PnlTuzRuhuRow');</div><div>PnlTuzRuhuRow.Align = alTop; PnlTuzRuhuRow.Height = 50; PnlTuzRuhuRow.Margins.Bottom = 15; PnlTuzRuhuRow.Margins.Left = 20; PnlTuzRuhuRow.Margins.Right = 20;</div><div>PnlTuzRuhuRow.clProSettings.BackgroundColor = clAlphaColor.clNull; PnlTuzRuhuRow.SetclProSettings(PnlTuzRuhuRow.clProSettings);</div><div><br></div><div>ImgTuzRuhu = Form1.AddNewProImage(PnlTuzRuhuRow, 'ImgTuzRuhu');</div><div>ImgTuzRuhu.Align = alLeft; ImgTuzRuhu.Width = 50; ImgTuzRuhu.Margins.Right = 10;</div><div>Form1.SetImage(ImgTuzRuhu, '<a href="https://images.unsplash.com/photo-1603126857599-f6e157fa2fe6?w=80&amp;fit=crop&amp;q=60" target="_blank" rel="nofollow">https://images.unsplash.com/photo-1603126857599-f6e157fa2fe6?w=80&amp;fit=crop&amp;q=60</a>');</div><div><br></div><div>BtnTuzRuhu = Form1.AddNewProButton(PnlTuzRuhuRow, 'BtnTuzRuhu', '&#9760;&#65039; Tuz Ruhu (Kuvvetli Asit)');</div><div>BtnTuzRuhu.Align = alClient;</div><div>BtnTuzRuhu.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#E74C3C'); BtnTuzRuhu.clProSettings.RoundHeight = 10; BtnTuzRuhu.clProSettings.RoundWidth = 10;</div><div>BtnTuzRuhu.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>BtnTuzRuhu.SetclProSettings(BtnTuzRuhu.clProSettings); BtnTuzRuhu.clTagInt = 1;</div><div>Form1.AddNewEvent(BtnTuzRuhu, tbeOnClick, 'OnMaddeEklendi');</div><div><br></div><div>/* STREAMING_CHUNK: BAZ MATERYALLERİ VE GÖRSELLERİ */</div><div><br></div><div>// --- 4. DİŞ MACUNU SATIRI ---</div><div>PnlDisMacunuRow = Form1.AddNewProPanel(PnlMaddeler, 'PnlDisMacunuRow');</div><div>PnlDisMacunuRow.Align = alTop; PnlDisMacunuRow.Height = 50; PnlDisMacunuRow.Margins.Bottom = 8; PnlDisMacunuRow.Margins.Left = 20; PnlDisMacunuRow.Margins.Right = 20;</div><div>PnlDisMacunuRow.clProSettings.BackgroundColor = clAlphaColor.clNull; PnlDisMacunuRow.SetclProSettings(PnlDisMacunuRow.clProSettings);</div><div><br></div><div>ImgDisMacunu = Form1.AddNewProImage(PnlDisMacunuRow, 'ImgDisMacunu');</div><div>ImgDisMacunu.Align = alLeft; ImgDisMacunu.Width = 50; ImgDisMacunu.Margins.Right = 10;</div><div>Form1.SetImage(ImgDisMacunu, '<a href="https://images.unsplash.com/photo-1559599189-fe84dea4eb79?w=80&amp;fit=crop&amp;q=60" target="_blank" rel="nofollow">https://images.unsplash.com/photo-1559599189-fe84dea4eb79?w=80&amp;fit=crop&amp;q=60</a>');</div><div><br></div><div>BtnDisMacunu = Form1.AddNewProButton(PnlDisMacunuRow, 'BtnDisMacunu', '&#129701; Diş Macunu (Baz)');</div><div>BtnDisMacunu.Align = alClient;</div><div>BtnDisMacunu.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#3498DB'); BtnDisMacunu.clProSettings.RoundHeight = 10; BtnDisMacunu.clProSettings.RoundWidth = 10;</div><div>BtnDisMacunu.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>BtnDisMacunu.SetclProSettings(BtnDisMacunu.clProSettings); BtnDisMacunu.clTagInt = 2;</div><div>Form1.AddNewEvent(BtnDisMacunu, tbeOnClick, 'OnMaddeEklendi');</div><div><br></div><div>// --- 5. KARBONAT SATIRI ---</div><div>PnlKarbonatRow = Form1.AddNewProPanel(PnlMaddeler, 'PnlKarbonatRow');</div><div>PnlKarbonatRow.Align = alTop; PnlKarbonatRow.Height = 50; PnlKarbonatRow.Margins.Bottom = 8; PnlKarbonatRow.Margins.Left = 20; PnlKarbonatRow.Margins.Right = 20;</div><div>PnlKarbonatRow.clProSettings.BackgroundColor = clAlphaColor.clNull; PnlKarbonatRow.SetclProSettings(PnlKarbonatRow.clProSettings);</div><div><br></div><div>ImgKarbonat = Form1.AddNewProImage(PnlKarbonatRow, 'ImgKarbonat');</div><div>ImgKarbonat.Align = alLeft; ImgKarbonat.Width = 50; ImgKarbonat.Margins.Right = 10;</div><div>Form1.SetImage(ImgKarbonat, '<a href="https://images.unsplash.com/photo-1553530666-ba11a7da3888?w=80&amp;fit=crop&amp;q=60" target="_blank" rel="nofollow">https://images.unsplash.com/photo-1553530666-ba11a7da3888?w=80&amp;fit=crop&amp;q=60</a>');</div><div><br></div><div>BtnKarbonat = Form1.AddNewProButton(PnlKarbonatRow, 'BtnKarbonat', '&#129767; Karbonatlı Su (Baz)');</div><div>BtnKarbonat.Align = alClient;</div><div>BtnKarbonat.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#9B59B6'); BtnKarbonat.clProSettings.RoundHeight = 10; BtnKarbonat.clProSettings.RoundWidth = 10;</div><div>BtnKarbonat.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>BtnKarbonat.SetclProSettings(BtnKarbonat.clProSettings); BtnKarbonat.clTagInt = 2;</div><div>Form1.AddNewEvent(BtnKarbonat, tbeOnClick, 'OnMaddeEklendi');</div><div><br></div><div>// --- 6. SABUNLU SU SATIRI ---</div><div>PnlSabunRow = Form1.AddNewProPanel(PnlMaddeler, 'PnlSabunRow');</div><div>PnlSabunRow.Align = alTop; PnlSabunRow.Height = 50; PnlSabunRow.Margins.Bottom = 8; PnlSabunRow.Margins.Left = 20; PnlSabunRow.Margins.Right = 20;</div><div>PnlSabunRow.clProSettings.BackgroundColor = clAlphaColor.clNull; PnlSabunRow.SetclProSettings(PnlSabunRow.clProSettings);</div><div><br></div><div>ImgSabun = Form1.AddNewProImage(PnlSabunRow, 'ImgSabun');</div><div>ImgSabun.Align = alLeft; ImgSabun.Width = 50; ImgSabun.Margins.Right = 10;</div><div>Form1.SetImage(ImgSabun, '<a href="https://images.unsplash.com/photo-1607006342411-9c145e227b47?w=80&amp;fit=crop&amp;q=60" target="_blank" rel="nofollow">https://images.unsplash.com/photo-1607006342411-9c145e227b47?w=80&amp;fit=crop&amp;q=60</a>');</div><div><br></div><div>BtnSabun = Form1.AddNewProButton(PnlSabunRow, 'BtnSabun', '&#129532; Sabunlu Su (Baz)');</div><div>BtnSabun.Align = alClient;</div><div>BtnSabun.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#1ABC9C'); BtnSabun.clProSettings.RoundHeight = 10; BtnSabun.clProSettings.RoundWidth = 10;</div><div>BtnSabun.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>BtnSabun.SetclProSettings(BtnSabun.clProSettings); BtnSabun.clTagInt = 2;</div><div>Form1.AddNewEvent(BtnSabun, tbeOnClick, 'OnMaddeEklendi');</div><div><br></div><div>Form1.Run;</div><div>}</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v833ccba57c9e4d2798f2e76cebdd09a11778172276447" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v833ccba57c9e4d2798f2e76cebdd09a11778172276447"</a> integrity="sha512-57MDmcccJXYtNnH+ZiBwzC4jb2rvgVCEokYN+L/nLlmO8rfYT/gIpW2A569iJ/3b+0UEasghjuZH/ma3wIs/EQ==" 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, 20 May 2026 23:14:11 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1547&amp;PID=3568#3568</guid>
  </item> 
  <item>
   <title><![CDATA[Genel &#304;&#351;lemler : hata düzeltme]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1546&amp;PID=3567#3567</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=460">Berra Gül</a><br /><strong>Konu:</strong> hata düzeltme<br /><strong>Gönderim Zamanı:</strong> 20&nbsp;Mayıs&nbsp;2026 Saat 21:35<br /><br /><div>var</div><div><br></div><div>// ==========================</div><div>// PROJE : ASİT - BAZ AYRAÇ UYGULAMASI</div><div>// 3 AŞAMALI BUTONLU SİSTEM</div><div>// ==========================</div><div><br></div><div>// --------------------------</div><div>// PANELLER</div><div>// --------------------------</div><div><br></div><div>PnlGiris,</div><div>PnlSecim,</div><div>PnlSonuc</div><div><br></div><div>// --------------------------</div><div>// BUTONLAR</div><div>// --------------------------</div><div><br></div><div>BtnBasla,</div><div><br></div><div>BtnLimon,</div><div>BtnSirke,</div><div>BtnDisMacunu,</div><div>BtnKarbonat,</div><div>BtnSabunluSu,</div><div><br></div><div>BtnKirmiziLahana,</div><div>BtnZerdecal,</div><div>BtnTurnusol,</div><div><br></div><div>BtnGeri</div><div><br></div><div>// --------------------------</div><div>// YAZILAR</div><div>// --------------------------</div><div><br></div><div>LblBaslik,</div><div>LblAciklama,</div><div>LblSonuc</div><div><br></div><div>// --------------------------</div><div>// DEĞİŞKENLER</div><div>// --------------------------</div><div><br></div><div>SecilenMadde,</div><div>SecilenIndikator,</div><div>SonucMetni</div><div><br></div><div><br></div><div><br></div><div>// ==================================================</div><div>// 1. AŞAMA : GİRİŞ EKRANI</div><div>// ==================================================</div><div><br></div><div>when application started</div><div>{</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; PnlGiris.visible = true</div><div>&nbsp; &nbsp; PnlSecim.visible = false</div><div>&nbsp; &nbsp; PnlSonuc.visible = false</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; LblBaslik.text = "ASİT - BAZ AYRAÇ UYGULAMASI"</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; LblAciklama.text =</div><div>&nbsp; &nbsp; "Bu uygulamada gündelik hayattaki asit ve baz maddeleri seçip doğal ayraçlarla hangi renkleri verdiğini öğrenebilirsiniz."</div><div>&nbsp; &nbsp;&nbsp;</div><div>}</div><div><br></div><div><br></div><div><br></div><div>// ==================================================</div><div>// BAŞLA BUTONU</div><div>// ==================================================</div><div><br></div><div>when BtnBasla clicked</div><div>{</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; PnlGiris.visible = false</div><div>&nbsp; &nbsp; PnlSecim.visible = true</div><div>&nbsp; &nbsp; PnlSonuc.visible = false</div><div>&nbsp; &nbsp;&nbsp;</div><div>}</div><div><br></div><div><br></div><div><br></div><div>// ==================================================</div><div>// 2. AŞAMA : MADDE SEÇİMİ</div><div>// ==================================================</div><div><br></div><div>// --------------------------</div><div>// ASİTLER</div><div>// --------------------------</div><div><br></div><div>when BtnLimon clicked</div><div>{</div><div>&nbsp; &nbsp; SecilenMadde = "limon suyu"</div><div>}</div><div><br></div><div>when BtnSirke clicked</div><div>{</div><div>&nbsp; &nbsp; SecilenMadde = "sirke"</div><div>}</div><div><br></div><div><br></div><div>// --------------------------</div><div>// BAZLAR</div><div>// --------------------------</div><div><br></div><div>when BtnDisMacunu clicked</div><div>{</div><div>&nbsp; &nbsp; SecilenMadde = "dis macunu"</div><div>}</div><div><br></div><div>when BtnKarbonat clicked</div><div>{</div><div>&nbsp; &nbsp; SecilenMadde = "karbonatli su"</div><div>}</div><div><br></div><div>when BtnSabunluSu clicked</div><div>{</div><div>&nbsp; &nbsp; SecilenMadde = "sabunlu su"</div><div>}</div><div><br></div><div><br></div><div><br></div><div>// ==================================================</div><div>// 3. AŞAMA : İNDİKATÖR SEÇİMİ</div><div>// ==================================================</div><div><br></div><div>// --------------------------</div><div>// KIRMIZI LAHANA AYRACI</div><div>// --------------------------</div><div><br></div><div>when BtnKirmiziLahana clicked</div><div>{</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; SecilenIndikator = "kirmizi lahana"</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if ( SecilenMadde == "limon suyu" or</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SecilenMadde == "sirke")</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; SonucMetni =</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "SONUÇ : " + SecilenMadde +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "\n\nKırmızı lahana ayracı ASİT maddelerde PEMBE / KIRMIZI renk verir." +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "\n\nBu nedenle seçilen madde ASİTTİR."</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if ( SecilenMadde == "dis macunu" or</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SecilenMadde == "karbonatli su" or</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SecilenMadde == "sabunlu su")</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; SonucMetni =</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "SONUÇ : " + SecilenMadde +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "\n\nKırmızı lahana ayracı BAZ maddelerde MAVİ / YEŞİL renk verir." +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "\n\nBu nedenle seçilen madde BAZDIR."</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; PnlSecim.visible = false</div><div>&nbsp; &nbsp; PnlSonuc.visible = true</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; LblSonuc.text = SonucMetni</div><div>&nbsp; &nbsp;&nbsp;</div><div>}</div><div><br></div><div><br></div><div><br></div><div>// --------------------------</div><div>// ZERDEÇAL AYRACI</div><div>// --------------------------</div><div><br></div><div>when BtnZerdecal clicked</div><div>{</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; SecilenIndikator = "zerdecal"</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if ( SecilenMadde == "limon suyu" or</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SecilenMadde == "sirke")</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; SonucMetni =</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "SONUÇ : " + SecilenMadde +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "\n\nZerdeçal ayıracı ASİTLERDE sarı rengini korur." +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "\n\nBu nedenle seçilen madde ASİTTİR."</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if ( SecilenMadde == "dis macunu" or</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SecilenMadde == "karbonatli su" or</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SecilenMadde == "sabunlu su")</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; SonucMetni =</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "SONUÇ : " + SecilenMadde +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "\n\nZerdeçal ayıracı BAZLARDA kırmızımsı kahverengi olur." +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "\n\nBu nedenle seçilen madde BAZDIR."</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; PnlSecim.visible = false</div><div>&nbsp; &nbsp; PnlSonuc.visible = true</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; LblSonuc.text = SonucMetni</div><div>&nbsp; &nbsp;&nbsp;</div><div>}</div><div><br></div><div><br></div><div><br></div><div>// --------------------------</div><div>// TURNUSOL KAĞIDI</div><div>// --------------------------</div><div><br></div><div>when BtnTurnusol clicked</div><div>{</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; SecilenIndikator = "turnusol"</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if ( SecilenMadde == "limon suyu" or</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SecilenMadde == "sirke")</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; SonucMetni =</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "SONUÇ : " + SecilenMadde +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "\n\nMavi turnusol kağıdı ASİTLERDE kırmızıya dönüşür." +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "\n\nBu nedenle seçilen madde ASİTTİR."</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if ( SecilenMadde == "dis macunu" or</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SecilenMadde == "karbonatli su" or</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SecilenMadde == "sabunlu su")</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; SonucMetni =</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "SONUÇ : " + SecilenMadde +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "\n\nKırmızı turnusol kağıdı BAZLARDA maviye dönüşür." +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "\n\nBu nedenle seçilen madde BAZDIR."</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; PnlSecim.visible = false</div><div>&nbsp; &nbsp; PnlSonuc.visible = true</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; LblSonuc.text = SonucMetni</div><div>&nbsp; &nbsp;&nbsp;</div><div>}</div><div><br></div><div><br></div><div><br></div><div>// ==================================================</div><div>// GERİ BUTONU</div><div>// ==================================================</div><div><br></div><div>when BtnGeri clicked</div><div>{</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; PnlGiris.visible = false</div><div>&nbsp; &nbsp; PnlSecim.visible = true</div><div>&nbsp; &nbsp; PnlSonuc.visible = false</div><div>&nbsp; &nbsp;&nbsp;</div><div>} hatayı bulamıyorum.</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v833ccba57c9e4d2798f2e76cebdd09a11778172276447" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v833ccba57c9e4d2798f2e76cebdd09a11778172276447"</a> integrity="sha512-57MDmcccJXYtNnH+ZiBwzC4jb2rvgVCEokYN+L/nLlmO8rfYT/gIpW2A569iJ/3b+0UEasghjuZH/ma3wIs/EQ==" 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, 20 May 2026 21:35:23 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1546&amp;PID=3567#3567</guid>
  </item> 
 </channel>
</rss>