<?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 : resim değişmiyor</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : resim değişmiyor]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 14:55:49 +0000</pubDate>
  <lastBuildDate>Wed, 02 Jul 2025 14:27:10 +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=1046</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[resim değişmiyor : Merhaba Sude,Projendeki ba&#351;l&#305;ca...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1046&amp;PID=2089#2089</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=257">Emr.Erkmn</a><br /><strong>Konu:</strong> 1046<br /><strong>Gönderim Zamanı:</strong> 02&nbsp;Temmuz&nbsp;2025 Saat 14:27<br /><br /><div>Merhaba Sude,</div><div><br></div><div>Projendeki başlıca eksik ve hatalar aşağıdaki şekilde:</div><div><br></div><div>plantimg.Align = alCenter kullanılmış. Bu ayar, görseli merkeze sabitlediği için Margins değerleri düzgün çalışmaz. Bunun yerine alClient tercih edilmelidir.</div><div><br></div><div>wateringcount değişkeni tanımlanmış ancak başlangıç değeri verilmemiş. Form açıldığında wateringcount = 0; olarak başlatılması gerekiyor.</div><div><br></div><div>Bazı görsel değişimlerinde PictureAutoFit ayarı eksik. Bu ayarın yapılmaması, görsellerin doğru şekilde görünmesini engelleyebilir. Her görsel değişiminde PictureAutoFit = True; eklenmeli.</div>]]>
   </description>
   <pubDate>Wed, 02 Jul 2025 14:27:10 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1046&amp;PID=2089#2089</guid>
  </item> 
  <item>
   <title><![CDATA[resim değişmiyor : a&#351;a&#287;&#305;daki kodda sula butonuna...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1046&amp;PID=2088#2088</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=310">Sudesigirci</a><br /><strong>Konu:</strong> 1046<br /><strong>Gönderim Zamanı:</strong> 02&nbsp;Temmuz&nbsp;2025 Saat 13:12<br /><br /><div>aşağıdaki kodda sula butonuna bastıktan sonra filizlenmiş bitki görselini ekranda göremiyorum</div><div><br></div><div>var</div><div>wateringform:TclStyleForm;</div><div>waterbtn:TClProButton;</div><div>lblwateringtitle:TClProLabel;</div><div>waterimg,plantimg,dropimg:TClProImage;</div><div>actiontimer,downtimer:TCLTimer;</div><div>direction:Integer;</div><div>canwater:Boolean;</div><div>watersound:TclMediaPlayer;</div><div><br></div><div>var</div><div>bouncecount:Integer;</div><div>wateringcount:Integer;</div><div><br></div><div>void actionwater;</div><div>{</div><div>&nbsp; waterimg.Margins.Top=waterimg.Margins.Top+direction;</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (waterimg.Margins.Top &gt;=100) {</div><div>&nbsp; direction=-1;</div><div>&nbsp; &nbsp; bouncecount=bouncecount+1;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; }</div><div>&nbsp; if (waterimg.Margins.Top &lt;=90 ) {</div><div>&nbsp; &nbsp; direction=1;</div><div>&nbsp; &nbsp; bouncecount=bouncecount+1;</div><div>&nbsp; }</div><div>&nbsp; &nbsp;if (bouncecount &gt;= 4) {</div><div>&nbsp; &nbsp; actiontimer.Enabled = False;</div><div>&nbsp; &nbsp; bouncecount = 0;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div><br></div><div>}</div><div><br></div><div><br></div><div>void downwater;</div><div>{</div><div>&nbsp; direction = -1;</div><div>&nbsp; actiontimer.Enabled = True;</div><div>&nbsp; downtimer.Enabled = False;</div><div><br></div><div>&nbsp; canwater = True;&nbsp;</div><div>}</div><div><br></div><div><br></div><div><br></div><div>void watering;</div><div>{</div><div>&nbsp; if (canwater==False) {</div><div>&nbsp; &nbsp; ShowMessage('Bitki zaten sulandı, lütfen biraz bekleyin');</div><div>&nbsp; }</div><div><br></div><div>&nbsp; direction = 1;</div><div>&nbsp; bouncecount=0;</div><div>&nbsp; actiontimer.Enabled = True;</div><div>&nbsp; ShowMessage('Bitki Sulandı!');</div><div>&nbsp; //watersound.CurrentTime = 0;</div><div>&nbsp;//watersound.Play;</div><div>&nbsp; canwater = False;&nbsp;</div><div>&nbsp; downtimer.Enabled = True;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; wateringcount = wateringcount + 1;</div><div>&nbsp; &nbsp;try</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.SQL.Text =&nbsp;</div><div>&nbsp; &nbsp; &nbsp; 'UPDATE bitki SET sulama = ' + IntToStr(wateringcount) + ' WHERE id = 1';</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.OpenOrExecute;</div><div>&nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Exception class: ' + LastExceptionClassName + ' Exception Message: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (wateringcount == 1) {</div><div>&nbsp; &nbsp;plantimg.Height = 800;</div><div>&nbsp; &nbsp;plantimg.Width = 1000;</div><div>&nbsp; &nbsp;plantimg.Margins.Top = 0;</div><div>&nbsp; &nbsp;plantimg.Margins.Bottom = 0</div><div>&nbsp; &nbsp;plantimg.clProSettings.PictureSource = '<a href="https://raw.githubuserc&#111;ntent.com/sudesgrc/assets/refs/heads/main/kucukbitki.png" target="_blank" rel="nofollow">https://raw.githubusercontent.com/sudesgrc/assets/refs/heads/main/kucukbitki.png</a>'; //filizlenme</div><div>&nbsp; &nbsp;plantimg.clProSettings.PictureAutoFit = True;</div><div>&nbsp; &nbsp;plantimg.SetclProSettings(plantimg.clProSettings);</div><div>&nbsp; &nbsp;plantimg.BringToFront;</div><div>&nbsp; } else if (wateringcount == 2) {</div><div>&nbsp; &nbsp; plantimg.clProSettings.PictureSource = '<a href="https://i.imgur.com/cCPZQKi.png" target="_blank" rel="nofollow">https://i.imgur.com/cCPZQKi.png</a>'; //çiçek açmış hali</div><div>&nbsp; &nbsp; plantimg.SetclProSettings(plantimg.clProSettings);</div><div>&nbsp; &nbsp; &nbsp; plantimg.BringToFront;</div><div>&nbsp; } else if(wateringcount==3) {</div><div>&nbsp; &nbsp; plantimg.clProSettings.PictureSource = '<a href="https://i.imgur.com/TV3flTB.png" target="_blank" rel="nofollow">https://i.imgur.com/TV3flTB.png</a>'; //olgunlaşmış bitki</div><div>&nbsp; &nbsp; plantimg.SetclProSettings(plantimg.clProSettings);</div><div>&nbsp; &nbsp; &nbsp; plantimg.BringToFront;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>{</div><div>&nbsp; wateringform = TclStyleForm.Create(Self);</div><div>&nbsp; wateringform.SetFormColor('#bef28a', ' ', clGNone);</div><div>&nbsp; canwater=True;</div><div>&nbsp;&nbsp;</div><div>&nbsp;/* watersound = TclMediaPlayer.Create(wateringform);</div><div>&nbsp; wateringform.AddAssetFromUrl('<a href="https://www.soundjay.com/drinks/sounds/pouring-liquid-2.mp3" target="_blank" rel="nofollow">https://www.soundjay.com/drinks/sounds/pouring-liquid-2.mp3</a>');</div><div>&nbsp; watersound.FileName = clPathCombine('pouring-liquid-2.mp3', Clomosy.AppFilesPath);</div><div>&nbsp; watersound.Volume = 0.8;*/</div><div><br></div><div><br></div><div>&nbsp; lblwateringtitle = wateringform.AddNewProLabel(wateringform, 'lblwateringtitle', 'SULAMA');</div><div>&nbsp; lblwateringtitle.Align = alTop;</div><div>&nbsp; lblwateringtitle.Margins.Top = 20;</div><div>&nbsp; lblwateringtitle.Height = 40;</div><div>&nbsp; lblwateringtitle.Width = 300;</div><div>&nbsp; lblwateringtitle.clProSettings.FontSize = 26;</div><div>&nbsp; lblwateringtitle.clProSettings.TextSettings.FontColor = clAlphaColor.clHexToColor('#2e6417');</div><div>&nbsp; lblwateringtitle.clProSettings.FontColor=clAlphaColor.clHexToColor('#2e6417');</div><div>&nbsp; lblwateringtitle.clProSettings.FontVertAlign = palCenter;</div><div>&nbsp; lblwateringtitle.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; lblwateringtitle.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; lblwateringtitle.SetclProSettings(lblwateringtitle.clProSettings);</div><div><br></div><div>&nbsp; waterimg = wateringform.AddNewProImage(wateringform, 'waterimg');</div><div>&nbsp; waterimg.Align = alTop;</div><div>&nbsp; waterimg.Margins.Top =100;</div><div>&nbsp; waterimg.Margins.Left =20;</div><div>&nbsp; waterimg.Margins.Right=100;</div><div>&nbsp; waterimg.Height =90;</div><div>&nbsp; waterimg.Width =90;</div><div>&nbsp; waterimg.clProSettings.PictureSource = '<a href="https://i.imgur.com/uZQCAk5.png" target="_blank" rel="nofollow">https://i.imgur.com/uZQCAk5.png</a>';</div><div>&nbsp; waterimg.clProSettings.PictureAutoFit = True;</div><div>&nbsp; waterimg.SetclProSettings(waterimg.clProSettings);&nbsp;</div><div>&nbsp; waterimg.SendToBack;</div><div><br></div><div>&nbsp; plantimg = wateringform.AddNewProImage(wateringform, 'plantimg');</div><div>&nbsp; plantimg.Align=alCenter;</div><div>&nbsp; plantimg.Margins.Bottom=240;</div><div>&nbsp; plantimg.Margins.Left = 30;</div><div>&nbsp; plantimg.Margins.Right=30;</div><div>&nbsp; plantimg.Height =800;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; plantimg.Width =1000;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; plantimg.clProSettings.PictureSource = '<a href="https://i.imgur.com/L0f54ex.png" target="_blank" rel="nofollow">https://i.imgur.com/L0f54ex.png</a>';</div><div>&nbsp; plantimg.clProSettings.PictureAutoFit = True;</div><div>&nbsp; plantimg.SetclProSettings(plantimg.clProSettings);</div><div>&nbsp; plantimg.BringToFront;</div><div><br></div><div>&nbsp; waterbtn = wateringform.AddNewProButton(wateringform, 'waterbtn', 'SULA');</div><div>&nbsp; waterbtn.clProSettings.TextSettings.FontColor = clAlphaColor.clHexToColor('#bef28a');</div><div>&nbsp; waterbtn.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#2e6417');</div><div>&nbsp; waterbtn.clProSettings.FontSize = 18;</div><div>&nbsp; waterbtn.clProSettings.RoundHeight = 20;</div><div>&nbsp; waterbtn.clProSettings.RoundWidth = 20;</div><div>&nbsp; waterbtn.Height = 40;</div><div>&nbsp; waterbtn.Width = 150;</div><div>&nbsp; waterbtn.Margins.Top = 100;&nbsp; &nbsp; &nbsp;</div><div>&nbsp; waterbtn.SetclProSettings(waterbtn.clProSettings);</div><div>&nbsp; wateringform.AddNewEvent(waterbtn,tbeOnClick,'watering');</div><div>&nbsp;&nbsp;</div><div>&nbsp; actiontimer = wateringform.AddNewTimer(wateringform,'actiontimer', 30);</div><div>&nbsp; wateringform.AddNewEvent(actiontimer, tbeOnTimer, 'actionwater');</div><div>&nbsp;&nbsp;</div><div>&nbsp; downtimer = wateringform.AddNewTimer(wateringform,'downtimer', 2000); // 12 saat = 43200000 ms</div><div>&nbsp; wateringform.AddNewEvent(downtimer, tbeOnTimer, 'downwater');</div><div><br></div><div>&nbsp; wateringform.Run;</div><div>}</div><div><br></div>]]>
   </description>
   <pubDate>Wed, 02 Jul 2025 13:12:56 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1046&amp;PID=2088#2088</guid>
  </item> 
 </channel>
</rss>