<?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 : button hatası</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : button hatası]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 19:22:49 +0000</pubDate>
  <lastBuildDate>Tue, 22 Jul 2025 14:03:28 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.clomosy.com.tr/RSS_post_feed.asp?TID=1117</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[button hatası : Merhaba Hatice ,kodunu inceledim...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1117&amp;PID=2292#2292</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=310">Sudesigirci</a><br /><strong>Konu:</strong> 1117<br /><strong>Gönderim Zamanı:</strong> 22&nbsp;Temmuz&nbsp;2025 Saat 14:03<br /><br />Merhaba Hatice ,<div>kodunu inceledim hatanın tüm butonlara ayn globalvariablestring atadığından kaynaklı olduğunu düşünüyorum sorunu çözmek için her butonun ayrı ıd sini aldım&nbsp;</div><div><div>var</div><div>&nbsp; homeForm: TclForm;</div><div>&nbsp; vertScrollBox: TclVertScrollBox;</div><div>&nbsp; kartPanel, btnPanel: TclProPanel;</div><div>&nbsp; lblWord: TclProLabel;</div><div>&nbsp; btnSil, btnHatirladim, btnHatirlamadim: TclProButton;</div><div>&nbsp; id, currentId: String;</div><div>&nbsp; clickedBtn: TClProButton;</div><div><br></div><div>void SilButonuTiklandi {</div><div>&nbsp; clickedBtn = TClProButton(homeForm.ClSender);</div><div>&nbsp; id = clickedBtn.Hint;</div><div><br></div><div>&nbsp; Clomosy.DBSQLiteQuery.Close;</div><div>&nbsp; Clomosy.DBSQLiteQuery.SQL.Text = 'DELETE FROM kartlar WHERE id = ' + id;</div><div>&nbsp; Clomosy.DBSQLiteQuery.OpenOrExecute;</div><div><br></div><div>&nbsp; ShowMessage('Kelime silindi.');</div><div>&nbsp; Clomosy.RunUnit('Homebtn');</div><div>}</div><div><br></div><div>void HatirladimTiklandi {</div><div>&nbsp; clickedBtn = TClProButton(homeForm.ClSender);</div><div>&nbsp; ShowMessage('Harika, hatırladın! ID: ' + clickedBtn.Hint);</div><div>}</div><div><br></div><div>void HatirlamadimTiklandi {</div><div>&nbsp; clickedBtn = TClProButton(homeForm.ClSender);</div><div>&nbsp; ShowMessage('Tamam, tekrar çalış! ID: ' + clickedBtn.Hint);</div><div>}</div><div><br></div><div>{</div><div>&nbsp; homeForm = TclForm.Create(Self);</div><div>&nbsp; homeForm.clSetCaption('Kayıtlı Kelimeler');</div><div>&nbsp; homeForm.SetFormBGImage('<a href="https://i.imgur.com/fPwWs0H.jpeg" target="_blank" rel="nofollow">https://i.imgur.com/fPwWs0H.jpeg</a>');</div><div><br></div><div>&nbsp; vertScrollBox = homeForm.AddNewVertScrollBox(homeForm, '');</div><div>&nbsp; vertScrollBox.Align = alClient;</div><div><br></div><div>&nbsp; Clomosy.DBSQLiteQuery.Close;</div><div>&nbsp; Clomosy.DBSQLiteQuery.SQL.Text = 'SELECT id, english, turkish FROM kartlar';</div><div>&nbsp; Clomosy.DBSQLiteQuery.OpenOrExecute;</div><div><br></div><div>&nbsp; while (not Clomosy.DBSQLiteQuery.Eof) {</div><div>&nbsp; &nbsp; currentId = Clomosy.DBSQLiteQuery.FieldByName('id').AsString;</div><div><br></div><div>&nbsp; &nbsp; kartPanel = homeForm.AddNewProPanel(vertScrollBox, '');</div><div>&nbsp; &nbsp; kartPanel.Align = alTop;</div><div>&nbsp; &nbsp; kartPanel.Height = 120;</div><div>&nbsp; &nbsp; kartPanel.Margins.Bottom = 10;</div><div>&nbsp; &nbsp; kartPanel.ClProSettings.BackGroundColor = clAlphaColor.clHexToColor('#e6e6e6');</div><div>&nbsp; &nbsp; kartPanel.ClProSettings.RoundHeight = 10;</div><div>&nbsp; &nbsp; kartPanel.ClProSettings.RoundWidth = 10;</div><div>&nbsp; &nbsp; kartPanel.SetclProSettings(kartPanel.ClProSettings);</div><div><br></div><div>&nbsp; &nbsp; lblWord = homeForm.AddNewProLabel(kartPanel, '', '');</div><div>&nbsp; &nbsp; lblWord.Align = alTop;</div><div>&nbsp; &nbsp; lblWord.Caption =</div><div>&nbsp; &nbsp; &nbsp; 'EN: ' + Clomosy.DBSQLiteQuery.FieldByName('english').AsString +</div><div>&nbsp; &nbsp; &nbsp; ' | TR: ' + Clomosy.DBSQLiteQuery.FieldByName('turkish').AsString;</div><div>&nbsp; &nbsp; lblWord.ClProSettings.FontSize = 18;</div><div>&nbsp; &nbsp; lblWord.ClProSettings.FontColor = clAlphaColor.clHexToColor('#000000');</div><div>&nbsp; &nbsp; lblWord.Margins.Top = 5;</div><div>&nbsp; &nbsp; lblWord.Margins.Left = 5;</div><div>&nbsp; &nbsp; lblWord.SetclProSettings(lblWord.ClProSettings);</div><div><br></div><div>&nbsp; &nbsp; btnPanel = homeForm.AddNewProPanel(kartPanel, '');</div><div>&nbsp; &nbsp; btnPanel.Align = alBottom;</div><div>&nbsp; &nbsp; btnPanel.Height = 40;</div><div><br></div><div>&nbsp; &nbsp; // Sil Butonu</div><div>&nbsp; &nbsp; btnSil = homeForm.AddNewProButton(btnPanel, '', 'Sil');</div><div>&nbsp; &nbsp; btnSil.Align = alLeft;</div><div>&nbsp; &nbsp; btnSil.Width = 80;</div><div>&nbsp; &nbsp; btnSil.Margins.Left = 5;</div><div>&nbsp; &nbsp; btnSil.Margins.Right = 5;</div><div>&nbsp; &nbsp; btnSil.ClProSettings.BackGroundColor = clAlphaColor.clHexToColor('#f4bcbc');</div><div>&nbsp; &nbsp; btnSil.SetclProSettings(btnSil.ClProSettings);</div><div>&nbsp; &nbsp; btnSil.Hint = currentId;</div><div>&nbsp; &nbsp; homeForm.AddNewEvent(btnSil, tbeOnClick, 'SilButonuTiklandi');</div><div><br></div><div>&nbsp; &nbsp; // Hatırladım</div><div>&nbsp; &nbsp; btnHatirladim = homeForm.AddNewProButton(btnPanel, '', 'Hatırladım');</div><div>&nbsp; &nbsp; btnHatirladim.Align = alClient;</div><div>&nbsp; &nbsp; btnHatirladim.Margins.Left = 5;</div><div>&nbsp; &nbsp; btnHatirladim.Margins.Right = 5;</div><div>&nbsp; &nbsp; btnHatirladim.ClProSettings.BackGroundColor = clAlphaColor.clHexToColor('#b6e3b6');</div><div>&nbsp; &nbsp; btnHatirladim.SetclProSettings(btnHatirladim.ClProSettings);</div><div>&nbsp; &nbsp; btnHatirladim.Hint = currentId;</div><div>&nbsp; &nbsp; homeForm.AddNewEvent(btnHatirladim, tbeOnClick, 'HatirladimTiklandi');</div><div><br></div><div>&nbsp; &nbsp; // Hatırlamadım</div><div>&nbsp; &nbsp; btnHatirlamadim = homeForm.AddNewProButton(btnPanel, '', 'Hatırlamadım');</div><div>&nbsp; &nbsp; btnHatirlamadim.Align = alRight;</div><div>&nbsp; &nbsp; btnHatirlamadim.Width = 100;</div><div>&nbsp; &nbsp; btnHatirlamadim.Margins.Left = 5;</div><div>&nbsp; &nbsp; btnHatirlamadim.Margins.Right = 5;</div><div>&nbsp; &nbsp; btnHatirlamadim.ClProSettings.BackGroundColor = clAlphaColor.clHexToColor('#f7d58c');</div><div>&nbsp; &nbsp; btnHatirlamadim.SetclProSettings(btnHatirlamadim.ClProSettings);</div><div>&nbsp; &nbsp; btnHatirlamadim.Hint = currentId;</div><div>&nbsp; &nbsp; homeForm.AddNewEvent(btnHatirlamadim, tbeOnClick, 'HatirlamadimTiklandi');</div><div><br></div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.Next;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; homeForm.Run;</div><div>}</div></div><div>bu şekilde kodunu tekrar deneyebilir misin</div>]]>
   </description>
   <pubDate>Tue, 22 Jul 2025 14:03:28 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1117&amp;PID=2292#2292</guid>
  </item> 
  <item>
   <title><![CDATA[button hatası : sil butonu, hat&#305;rlad&#305;m ve hat&#305;rlamad&#305;m...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1117&amp;PID=2290#2290</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=320">dilarayaprak</a><br /><strong>Konu:</strong> 1117<br /><strong>Gönderim Zamanı:</strong> 22&nbsp;Temmuz&nbsp;2025 Saat 12:15<br /><br /><div>sil butonu, hatırladım ve hatırlamadım butonu tanımladım ama her seferinde hatırlamadım butonunun mesajını alıyorum&nbsp;</div><div><br></div><div>var</div><div>&nbsp; homeForm: TclForm;</div><div>&nbsp; vertScrollBox: TclVertScrollBox;</div><div>&nbsp; kartPanel, btnPanel: TclProPanel;</div><div>&nbsp; lblWord: TclProLabel;</div><div>&nbsp; btnSil, btnHatirladim, btnHatirlamadim: TclProButton;</div><div>&nbsp; id, currentId: String;</div><div><br></div><div><br></div><div><br></div><div>void HatirladimTiklandi {</div><div>&nbsp; ShowMessage('Harika, hatırladın!');</div><div>}</div><div><br></div><div>void HatirlamadimTiklandi {</div><div>&nbsp; ShowMessage('Tamam, tekrar çalış!');</div><div>}</div><div><br></div><div>void SilButonuTiklandi {</div><div>&nbsp; id = Clomosy.GlobalVariableString;</div><div>&nbsp; Clomosy.DBSQLiteQuery.Close;</div><div>&nbsp; Clomosy.DBSQLiteQuery.SQL.Text = 'DELETE FROM kartlar WHERE id = ' + id;</div><div>&nbsp; Clomosy.DBSQLiteQuery.OpenOrExecute;</div><div><br></div><div>&nbsp; ShowMessage('Kelime silindi.');</div><div>&nbsp; Clomosy.RunUnit('Homebtn');</div><div>}&nbsp;</div><div><br></div><div>{</div><div>&nbsp; homeForm = TclForm.Create(Self);</div><div>&nbsp; homeForm.clSetCaption('Kayıtlı Kelimeler');</div><div>&nbsp; homeForm.SetFormBGImage('<a href="https://i.imgur.com/fPwWs0H.jpeg" target="_blank" rel="nofollow">https://i.imgur.com/fPwWs0H.jpeg</a>');</div><div><br></div><div>&nbsp; vertScrollBox = homeForm.AddNewVertScrollBox(homeForm, '');</div><div>&nbsp; vertScrollBox.Align = alClient;</div><div><br></div><div>&nbsp; Clomosy.DBSQLiteQuery.Close;</div><div>&nbsp; Clomosy.DBSQLiteQuery.SQL.Text = 'SELECT id, english, turkish FROM kartlar';</div><div>&nbsp; Clomosy.DBSQLiteQuery.OpenOrExecute;</div><div><br></div><div>&nbsp; while (not Clomosy.DBSQLiteQuery.Eof) {</div><div>&nbsp; &nbsp; currentId = Clomosy.DBSQLiteQuery.FieldByName('id').AsString;</div><div><br></div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; kartPanel = homeForm.AddNewProPanel(vertScrollBox, '');</div><div>&nbsp; &nbsp; kartPanel.Align = alTop;</div><div>&nbsp; &nbsp; kartPanel.Height = 120;</div><div>&nbsp; &nbsp; kartPanel.Margins.Bottom = 10;</div><div>&nbsp; &nbsp; kartPanel.ClProSettings.BackGroundColor = clAlphaColor.clHexToColor('#e6e6e6');</div><div>&nbsp; &nbsp; kartPanel.ClProSettings.RoundHeight = 10;</div><div>&nbsp; &nbsp; kartPanel.ClProSettings.RoundWidth = 10;</div><div>&nbsp; &nbsp; kartPanel.SetclProSettings(kartPanel.ClProSettings);</div><div><br></div><div><br></div><div>&nbsp; &nbsp; lblWord = homeForm.AddNewProLabel(kartPanel, '', '');</div><div>&nbsp; &nbsp; lblWord.Align = alTop;</div><div>&nbsp; &nbsp; lblWord.Caption =</div><div>&nbsp; &nbsp; &nbsp; 'EN: ' + Clomosy.DBSQLiteQuery.FieldByName('english').AsString +</div><div>&nbsp; &nbsp; &nbsp; ' | TR: ' + Clomosy.DBSQLiteQuery.FieldByName('turkish').AsString;</div><div>&nbsp; &nbsp; lblWord.ClProSettings.FontSize = 18;</div><div>&nbsp; &nbsp; lblWord.ClProSettings.FontColor = clAlphaColor.clHexToColor('#000000');</div><div>&nbsp; &nbsp; lblWord.Margins.Top = 5;</div><div>&nbsp; &nbsp; lblWord.Margins.Left = 5;</div><div>&nbsp; &nbsp; lblWord.SetclProSettings(lblWord.ClProSettings);</div><div><br></div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; btnPanel = homeForm.AddNewProPanel(kartPanel, '');</div><div>&nbsp; &nbsp; btnPanel.Align = alBottom;</div><div>&nbsp; &nbsp; btnPanel.Height = 40;</div><div><br></div><div>&nbsp; &nbsp;&nbsp;</div><div>btnSil = homeForm.AddNewProButton(btnPanel, '', 'Sil');</div><div>btnSil.Align = alLeft;</div><div>btnSil.Width = 80;</div><div>btnSil.Margins.Left = 5;</div><div>btnSil.Margins.Right = 5;</div><div>btnSil.ClProSettings.BackGroundColor = clAlphaColor.clHexToColor('#f4bcbc');</div><div>btnSil.SetclProSettings(btnSil.ClProSettings);</div><div>btnSil.Hint = currentId;</div><div>Clomosy.GlobalVariableString = btnSil.Hint;</div><div>homeForm.AddNewEvent(btnSil, tbeOnClick, 'SilButonuTiklandi');</div><div><br></div><div><br></div><div>btnHatirladim = homeForm.AddNewProButton(btnPanel, '', 'Hatırladım');</div><div>btnHatirladim.Align = alClient;</div><div>btnHatirladim.Margins.Left = 5;</div><div>btnHatirladim.Margins.Right = 5;</div><div>btnHatirladim.ClProSettings.BackGroundColor = clAlphaColor.clHexToColor('#b6e3b6');</div><div>btnHatirladim.SetclProSettings(btnHatirladim.ClProSettings);</div><div>homeForm.AddNewEvent(btnHatirladim, tbeOnClick, 'HatirladimTiklandi');</div><div><br></div><div><br></div><div>btnHatirlamadim = homeForm.AddNewProButton(btnPanel, '', 'Hatırlamadım');</div><div>btnHatirlamadim.Align = alRight;</div><div>btnHatirlamadim.Width = 100;</div><div>btnHatirlamadim.Margins.Left = 5;</div><div>btnHatirlamadim.Margins.Right = 5;</div><div>btnHatirlamadim.ClProSettings.BackGroundColor = clAlphaColor.clHexToColor('#f7d58c');</div><div>btnHatirlamadim.SetclProSettings(btnHatirlamadim.ClProSettings);</div><div>homeForm.AddNewEvent(btnHatirlamadim, tbeOnClick, 'HatirlamadimTiklandi');</div><div><br></div><div><br></div><div><br></div><div>Clomosy.DBSQLiteQuery.Next;</div><div>&nbsp; }</div><div><br></div><div>&nbsp;homeForm.Run;</div><div>}</div><div><br></div>]]>
   </description>
   <pubDate>Tue, 22 Jul 2025 12:15:03 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1117&amp;PID=2290#2290</guid>
  </item> 
 </channel>
</rss>