<?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 : butonda ses</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : butonda ses]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 14:41:11 +0000</pubDate>
  <lastBuildDate>Thu, 29 Aug 2024 18:17:34 +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=921</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[butonda ses : Merhaba B&#252;&#351;ra,if (clickedBtn.Hint...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=921&amp;PID=1771#1771</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=142">BilalCndn</a><br /><strong>Konu:</strong> 921<br /><strong>Gönderim Zamanı:</strong> 29&nbsp;Ağustos&nbsp;2024 Saat 18:17<br /><br />Merhaba Büşra,<div><br></div><div>if (clickedBtn.Hint == '0') bu kontrolü çıkartırsan sorunun çözülecektir. Butonlara zaten event eklediğin için bu kontrolü yapmana gerek kalmıyor.</div><div><br></div><div>İyi çalışmalar dilerim.</div>]]>
   </description>
   <pubDate>Thu, 29 Aug 2024 18:17:34 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=921&amp;PID=1771#1771</guid>
  </item> 
  <item>
   <title><![CDATA[butonda ses : var MyForm : TclStyleForm; testbutton,...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=921&amp;PID=1768#1768</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=225">busra</a><br /><strong>Konu:</strong> 921<br /><strong>Gönderim Zamanı:</strong> 29&nbsp;Ağustos&nbsp;2024 Saat 17:39<br /><br /><div>var</div><div>&nbsp; MyForm : TclStyleForm;</div><div>&nbsp; testbutton, universe, fruits:TclproButton;</div><div>&nbsp; testimage:TclImage;&nbsp;</div><div>&nbsp; MediaPlayer1 : TclMediaPlayer;</div><div>&nbsp; i: Integer;</div><div>&nbsp;&nbsp;</div><div>&nbsp; void testbuttonclick;</div><div>&nbsp; var</div><div>&nbsp; &nbsp; clickedBtn:TClButton;</div><div>&nbsp; {</div><div>&nbsp; &nbsp; clickedBtn = TClButton(MyForm.Clsender);&nbsp;</div><div>&nbsp; &nbsp; if (clickedBtn.Hint == '0')</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;MediaPlayer1.FileName = clPathCombine('beep-6-96243.mp3',Clomosy.AppFilesPath);</div><div>&nbsp; &nbsp; &nbsp; MediaPlayer1.CurrentTime = 0;</div><div>&nbsp; &nbsp; &nbsp; MediaPlayer1.Play;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp;MediaPlayer1.Volume = 0.3;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('Bu kategoride diğerlerinden farklı olarak hayvanların üzerine tıkladığın zaman çıkardıkları sesleri duyabilirsin.');</div><div>&nbsp; &nbsp; Clomosy.RunUnit('unit2');</div><div>&nbsp; }</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; void universeclick;</div><div>&nbsp; &nbsp; var</div><div>&nbsp; &nbsp; clickedBtn:TClButton;</div><div>&nbsp; {</div><div>&nbsp; &nbsp; clickedBtn = TClButton(MyForm.Clsender);&nbsp;</div><div>&nbsp; &nbsp; if (clickedBtn.Hint == '0')</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;MediaPlayer1.FileName = clPathCombine('beep-6-96243.mp3',Clomosy.AppFilesPath);</div><div>&nbsp; &nbsp; &nbsp; MediaPlayer1.CurrentTime = 0;</div><div>&nbsp; &nbsp; &nbsp; MediaPlayer1.Play;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp;MediaPlayer1.Volume = 0.3;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; Clomosy.RunUnit('unit3');</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; void fruitsclick;</div><div>&nbsp; &nbsp; var</div><div>&nbsp; &nbsp; clickedBtn:TClButton;</div><div>&nbsp; {</div><div>&nbsp; &nbsp; clickedBtn = TClButton(MyForm.Clsender);&nbsp;</div><div>&nbsp; &nbsp; if (clickedBtn.Hint == '0')</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;MediaPlayer1.FileName = clPathCombine('beep-6-96243.mp3',Clomosy.AppFilesPath);</div><div>&nbsp; &nbsp; &nbsp; MediaPlayer1.CurrentTime = 0;</div><div>&nbsp; &nbsp; &nbsp; MediaPlayer1.Play;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp;MediaPlayer1.Volume = 0.3;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; Clomosy.RunUnit('unit4');</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; {</div><div>&nbsp; &nbsp; MyForm = TclStyleForm.Create(Self);</div><div>&nbsp; &nbsp; testimage = MyForm.AddNewImage(MyForm,'testimage');</div><div>&nbsp; &nbsp; MyForm.SetFormBGImage('<a href="https://i.hizliresim.com/tdhzmrh.png" target="_blank" rel="nofollow">https://i.hizliresim.com/tdhzmrh.png</a>');</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; //animals</div><div>&nbsp; &nbsp; MyForm.AddAssetFromUrl('<a href="https://raw.githubuserc&#111;ntent.com/busra106/beraberogrenelim/main/beep-6-96243.mp3" target="_blank" rel="nofollow">https://raw.githubusercontent.com/busra106/beraberogrenelim/main/beep-6-96243.mp3</a>');</div><div>&nbsp; &nbsp; MediaPlayer1 = TclMediaPlayer.Create(MyForm);</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; testbutton = MyForm.AddNewproButton(MyForm,'testbutton','');</div><div>&nbsp; &nbsp; testbutton.Align = alCenter;</div><div>&nbsp; &nbsp; testbutton.Margins.bottom=600;</div><div>&nbsp; &nbsp; testbutton.Width = 200;</div><div>&nbsp; &nbsp; testbutton.Height = 200;</div><div>&nbsp; &nbsp; testbutton.Margins.left=20;</div><div>&nbsp; &nbsp; MyForm.setimage(testbutton, '<a href="https://i.hizliresim.com/4cn2wv3.png" target="_blank" rel="nofollow">https://i.hizliresim.com/4cn2wv3.png</a>');</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; testbutton.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; &nbsp; testbutton.SetclProSettings(testbutton.clProSettings);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; testbutton.Hint = IntToStr(i);</div><div>&nbsp; &nbsp; MyForm.AddNewEvent(testbutton,tbeOnClick,'testbuttonclick');</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; //universe</div><div>&nbsp; &nbsp; MyForm.AddAssetFromUrl('<a href="https://raw.githubuserc&#111;ntent.com/busra106/beraberogrenelim/main/beep-6-96243.mp3" target="_blank" rel="nofollow">https://raw.githubusercontent.com/busra106/beraberogrenelim/main/beep-6-96243.mp3</a>');</div><div>&nbsp; &nbsp; MediaPlayer1 = TclMediaPlayer.Create(MyForm);</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; universe=MyForm.AddNewproButton(MyForm, 'universe', '');</div><div>&nbsp; &nbsp; universe.Align = alCenter;</div><div>&nbsp; &nbsp; universe.Margins.bottom=100;</div><div>&nbsp; &nbsp; universe.Width = 200;</div><div>&nbsp; &nbsp; universe.Height = 200;</div><div>&nbsp; &nbsp; universe.Margins.left=20;</div><div>&nbsp; &nbsp; MyForm.setimage(universe, '<a href="https://i.hizliresim.com/ren42pl.png" target="_blank" rel="nofollow">https://i.hizliresim.com/ren42pl.png</a>');</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp; universe.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; &nbsp; universe.SetclProSettings(universe.clProSettings);</div><div>&nbsp; }</div><div>&nbsp; &nbsp; testbutton.Hint = IntToStr(i);</div><div>&nbsp; &nbsp; MyForm.AddNewEvent(universe,tbeOnClick,'universeclick');</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; //fruits</div><div>&nbsp; &nbsp; MyForm.AddAssetFromUrl('<a href="https://raw.githubuserc&#111;ntent.com/busra106/beraberogrenelim/main/beep-6-96243.mp3" target="_blank" rel="nofollow">https://raw.githubusercontent.com/busra106/beraberogrenelim/main/beep-6-96243.mp3</a>');</div><div>&nbsp; &nbsp; MediaPlayer1 = TclMediaPlayer.Create(MyForm);</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; fruits=MyForm.AddNewproButton(MyForm, 'fruits', '');</div><div>&nbsp; &nbsp; fruits.Align = alCenter;</div><div>&nbsp; &nbsp; fruits.Margins.top=400;</div><div>&nbsp; &nbsp; fruits.Width = 200;</div><div>&nbsp; &nbsp; fruits.Height = 200;</div><div>&nbsp; &nbsp; fruits.Margins.left=20;</div><div>&nbsp; &nbsp; MyForm.setimage(fruits, '<a href="https://i.hizliresim.com/jfdy665.png" target="_blank" rel="nofollow">https://i.hizliresim.com/jfdy665.png</a>');</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; fruits.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; &nbsp; fruits.SetclProSettings(fruits.clProSettings);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; testbutton.Hint = IntToStr(i);</div><div>&nbsp; &nbsp; &nbsp;MyForm.AddNewEvent(fruits,tbeOnClick,'fruitsclick');</div><div><br></div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; MyForm.Run;</div><div>&nbsp; }</div><div>&nbsp; ---------------------------------------------------------------------------------------------</div><div>Bu koddaki universe butonuna tıkladığım zaman bir bip sesinin çıkmasını istiyorum. Testbutton butonunda bunu sağlıyor ancak universe butonunda ses çıkmadan diğer unite atlıyor. Neden olabilir?</div>]]>
   </description>
   <pubDate>Thu, 29 Aug 2024 17:39:04 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=921&amp;PID=1768#1768</guid>
  </item> 
 </channel>
</rss>