<?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 : Butonlara renk atama</title>
  <link>https://www.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : Butonlara renk atama]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 14 Apr 2026 20:13:33 +0000</pubDate>
  <lastBuildDate>Mon, 07 Aug 2023 11:53:03 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://www.clomosy.com.tr/RSS_post_feed.asp?TID=543</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Clomosy | Forum]]></title>
   <url>https://www.clomosy.com.tr/forum_images/logo.png</url>
   <link>https://www.clomosy.com.tr/</link>
  </image>
  <item>
   <title><![CDATA[Butonlara renk atama : Hata &#231;&#246;z&#252;ld&#252;, ama yeni s&#252;r&#252;mler...]]></title>
   <link>https://www.clomosy.com.tr/forum_posts.asp?TID=543&amp;PID=673#673</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://www.clomosy.com.tr/member_profile.asp?PF=133">Alforce</a><br /><strong>Konu:</strong> 543<br /><strong>Gönderim Zamanı:</strong> 07&nbsp;Ağustos&nbsp;2023 Saat 11:53<br /><br />Hata çözüldü, ama yeni sürümler için hedefleniyor.<div><br></div><div>Şimdilik geçici bir çözüm olarak boş ve şeffaf bir png koyabilirsiniz.</div><div><br></div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div>Var</div><div>&nbsp; MyForm:TclForm;</div><div>&nbsp; btn1,btn2,btn3,btn4,btn5,btn6,btn7,btn8,btn9,btn10,btn11,btn12,btn13,btn14,btn15,btn16,btn17,btn18: TClProButton;</div><div>&nbsp; myDeviceManager:TclDeviceManager;</div><div>&nbsp; valueName:string;</div><div>&nbsp; tahminsayifloat:Float;</div><div>&nbsp; tahminsayi,girsayi,i,sira:Integer;</div><div>&nbsp; ButtonZar:TclButton;</div><div>&nbsp; testImg:TclImage;&nbsp;</div><div><br></div><div>Procedure Temizle;</div><div>Var</div><div>&nbsp; i: Integer;</div><div>&nbsp; But: TClProButton;</div><div>Begin</div><div>&nbsp; For i:= 1 to 18 do</div><div>&nbsp; Begin</div><div>&nbsp; &nbsp; But:= TClProButton(MyForm.clFindComponent('btn'+IntToStr(i)));</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; MyForm.SetImage(But, 'https://i.hizliresim.com/d8cmc9f.png');</div><div>&nbsp; &nbsp; But.enabled:= True;</div><div>&nbsp; End;</div><div>End;</div><div><br></div><div>procedure c1;</div><div>begin</div><div>&nbsp; Temizle;</div><div>&nbsp; MyForm.SetImage(btn1,'https://i.hizliresim.com/lgz7547.jpg');</div><div>&nbsp; btn1.enabled:= False;</div><div>end;</div><div><br></div><div>procedure c3;</div><div>begin</div><div>&nbsp; Temizle;</div><div>&nbsp; MyForm.SetImage(btn3,'https://i.hizliresim.com/o7bi7w1.png');</div><div>&nbsp; btn3.enabled:= False;</div><div>end;</div><div><br></div><div>procedure c4;</div><div>begin</div><div>&nbsp; Temizle;</div><div>&nbsp; MyForm.SetImage(btn4,'https://i.hizliresim.com/4epyq3u.jpg');</div><div>&nbsp; btn4.enabled:= False;</div><div>end;</div><div>procedure c2;</div><div>begin</div><div>&nbsp; Temizle;</div><div>&nbsp; MyForm.SetImage(btn2,'https://i.hizliresim.com/78q1glg.jpg');</div><div>&nbsp; btn2.enabled:= False;</div><div>end;</div><div><br></div><div>procedure c13;</div><div>begin</div><div>&nbsp; clComponent.SetupComponent(btn13,'{"BackgroundColor":"#ee0000"}');</div><div>&nbsp; btn13.enabled:= False;</div><div>end;</div><div><br></div><div>procedure c8;</div><div>begin</div><div>&nbsp; MyForm.SetImage(btn8,'https://i.hizliresim.com/b0idm02.jpg');</div><div>&nbsp; btn8.enabled:= False;</div><div>end;</div><div><br></div><div>Procedure ButtonZarFonk;</div><div>begin</div><div>&nbsp; tahminsayi:=clMath.generateRandom(1,6);</div><div>&nbsp;&nbsp;</div><div>&nbsp; if tahminsayi = 1 then</div><div>&nbsp; &nbsp; MyForm.SetImage(testImg,'https://i.hizliresim.com/fro63f6.png')</div><div>&nbsp; else if tahminsayi = 2 then&nbsp;</div><div>&nbsp; &nbsp; MyForm.SetImage(testImg,'https://i.hizliresim.com/egerynm.png')</div><div>&nbsp; else if tahminsayi = 3 then</div><div>&nbsp; &nbsp; MyForm.SetImage(testImg,'https://i.hizliresim.com/h73lzkk.png')</div><div>&nbsp; else if tahminsayi = 4 then</div><div>&nbsp; &nbsp; MyForm.SetImage(testImg,'https://i.hizliresim.com/lg7nxgm.png')</div><div>&nbsp; else if tahminsayi = 5 then</div><div>&nbsp; &nbsp; MyForm.SetImage(testImg,'https://i.hizliresim.com/fzz3x41.png')</div><div>&nbsp; else if tahminsayi = 6 then</div><div>&nbsp; &nbsp; MyForm.SetImage(testImg,'https://i.hizliresim.com/odqhg4l.png');</div><div>end;</div><div><br></div><div>begin&nbsp;</div><div>&nbsp; MyForm:=TclForm.Create(Self);</div><div>&nbsp; myDeviceManager:=TclDeviceManager.Create;</div><div>&nbsp; MyForm.SetFormBGImage('https://i.hizliresim.com/8lchnr7.jpeg');</div><div>&nbsp;&nbsp;</div><div>&nbsp; btn1:=MyForm.AddNewProButton(MyForm,'btn1','');</div><div>&nbsp; clComponent.SetupComponent(btn1,'{"caption":"İNGİLTERE","MarginLeft":405,"MarginRight":90,"MarginBottom":62,"MarginTop":562,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>&nbsp; btn2:=MyForm.AddNewProButton(MyForm,'btn2','');</div><div>&nbsp; clComponent.SetupComponent(btn2,'{"caption":"İTALYA","MarginLeft":630,"MarginRight":2,"MarginBottom":-80,"MarginTop":250,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>&nbsp; btn3:=MyForm.AddNewProButton(MyForm,'btn3','');</div><div>&nbsp; clComponent.SetupComponent(btn3,'{"caption":"TÜRKİYE","MarginLeft":245,"MarginRight":240,"MarginBottom":62,"MarginTop":562,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>&nbsp; btn4:=MyForm.AddNewProButton(MyForm,'btn4','');</div><div>&nbsp; clComponent.SetupComponent(btn4,'{"caption":"ALMANYA","MarginLeft":5,"MarginRight":625,"MarginBottom":62,"MarginTop":562,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');</div><div>&nbsp; btn5:=MyForm.AddNewProButton(MyForm,'btn5','');</div><div>&nbsp; clComponent.SetupComponent(btn5,'{"caption":"KORE","MarginLeft":95,"MarginRight":405,"MarginBottom":62,"MarginTop":562,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>&nbsp; btn6:=MyForm.AddNewProButton(MyForm,'btn6','');</div><div>&nbsp; clComponent.SetupComponent(btn6,'{"caption":"FRANSA","MarginLeft":405,"MarginRight":90,"MarginBottom":600,"MarginTop":10,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>&nbsp; btn7:=MyForm.AddNewProButton(MyForm,'btn7','');</div><div>&nbsp; clComponent.SetupComponent(btn7,'{"caption":"BAŞLA","MarginLeft":630,"MarginRight":2,"MarginBottom":860,"MarginTop":430,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>&nbsp; btn8:=MyForm.AddNewProButton(MyForm,'btn8','');</div><div>&nbsp; clComponent.SetupComponent(btn8,'{"caption":"NORVEÇ","MarginLeft":245,"MarginRight":240,"MarginBottom":600,"MarginTop":10,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>&nbsp; btn9:=MyForm.AddNewProButton(MyForm,'btn9','');</div><div>&nbsp; clComponent.SetupComponent(btn9,'{"caption":"ABD","MarginLeft":5,"MarginRight":625,"MarginBottom":600,"MarginTop":10,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>&nbsp; btn10:=MyForm.AddNewProButton(MyForm,'btn10','');</div><div>&nbsp; clComponent.SetupComponent(btn10,'{"caption":"VİZE AL","MarginLeft":95,"MarginRight":405,"MarginBottom":600,"MarginTop":10,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>&nbsp; btn11:=MyForm.AddNewProButton(MyForm,'btn11','');</div><div>&nbsp; clComponent.SetupComponent(btn11,'{"caption":"RUSYA","MarginLeft":-70,"MarginRight":860,"MarginBottom":325,"MarginTop":95,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>&nbsp; btn12:=MyForm.AddNewProButton(MyForm,'btn12','');</div><div>&nbsp; clComponent.SetupComponent(btn12,'{"caption":"MISIR","MarginLeft":-70,"MarginRight":860,"MarginBottom":430,"MarginTop":15,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>&nbsp; btn13:=MyForm.AddNewProButton(MyForm,'btn13','');</div><div>&nbsp; clComponent.SetupComponent(btn13,'{"caption":"GÜMRÜK KAPISI","MarginLeft":-70,"MarginRight":860,"MarginBottom":220,"MarginTop":175,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>&nbsp; btn14:=MyForm.AddNewProButton(MyForm,'btn14','');</div><div>&nbsp; clComponent.SetupComponent(btn14,'{"caption":"UKRAYNA","MarginLeft":-70,"MarginRight":860,"MarginBottom":50,"MarginTop":190,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');</div><div>&nbsp; btn15:=MyForm.AddNewProButton(MyForm,'btn15','');</div><div>&nbsp; clComponent.SetupComponent(btn15,'{"caption":"KODES","MarginLeft":-70,"MarginRight":860,"MarginBottom":-80,"MarginTop":250,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');</div><div>&nbsp; btn16:=MyForm.AddNewProButton(MyForm,'btn16','');</div><div>&nbsp; clComponent.SetupComponent(btn16,'{"caption":"ÇİN","MarginLeft":630,"MarginRight":2,"MarginBottom":325,"MarginTop":95,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');</div><div>&nbsp; btn17:=MyForm.AddNewProButton(MyForm,'btn17','');</div><div>&nbsp; clComponent.SetupComponent(btn17,'{"caption":"ŞANS","MarginLeft":630,"MarginRight":2,"MarginBottom":50,"MarginTop":190,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');</div><div>&nbsp; btn18:=MyForm.AddNewProButton(MyForm,'btn18','');</div><div>&nbsp; clComponent.SetupComponent(btn18,'{"caption":"KANADA","MarginLeft":630,"MarginRight":2,"MarginBottom":220,"MarginTop":175,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');</div><div>&nbsp; testImg:=MyForm.AddNewImage(MyForm,'testImg');</div><div>&nbsp; testImg.Margins.Left:=850;</div><div>&nbsp; testImg.Margins.Right:=-100;</div><div>&nbsp; testImg.Margins.Top:=190;</div><div>&nbsp; testImg.Margins.Bottom:=50;</div><div>&nbsp; testImg.Width:=80;</div><div>&nbsp; testImg.Height:=80;</div><div>&nbsp; MyForm.SetImage(testImg,'https://i.hizliresim.com/fro63f6.png');</div><div>&nbsp; ButtonZar:=MyForm.AddNewButton(MyForm,'ButtonZar','Zar At');</div><div>&nbsp; ButtonZar.Margins.Left:=850;</div><div>&nbsp; ButtonZar.Margins.Right:=-100;</div><div>&nbsp; ButtonZar.Margins.Top:=270;</div><div>&nbsp; ButtonZar.Margins.Bottom:=-10;</div><div>&nbsp; ButtonZar.Width:=80;</div><div>&nbsp; ButtonZar.Height:=40;</div><div>&nbsp; MyForm.AddNewEvent(ButtonZar,tbeOnClick,'ButtonZarFonk');&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; MyForm.AddNewEvent(btn13,tbeOnClick,'c13');</div><div>&nbsp; MyForm.AddNewEvent(btn1,tbeOnClick,'c1');</div><div>&nbsp; MyForm.AddNewEvent(btn3,tbeOnClick,'c3');</div><div>&nbsp; MyForm.AddNewEvent(btn4,tbeOnClick,'c4');</div><div>&nbsp; MyForm.AddNewEvent(btn8,tbeOnClick,'c8');</div><div>&nbsp;&nbsp;</div><div>&nbsp; MyForm.Run;</div><div>end;</div></div><div></pre></td></tr></table></div><div><br></div><div>Bu, umarım şimdilik işinizi görür.</div>]]>
   </description>
   <pubDate>Mon, 07 Aug 2023 11:53:03 +0000</pubDate>
   <guid isPermaLink="true">https://www.clomosy.com.tr/forum_posts.asp?TID=543&amp;PID=673#673</guid>
  </item> 
  <item>
   <title><![CDATA[Butonlara renk atama : Merhaba, hata ile ilgili bir geli&#351;me...]]></title>
   <link>https://www.clomosy.com.tr/forum_posts.asp?TID=543&amp;PID=670#670</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://www.clomosy.com.tr/member_profile.asp?PF=117">halilselvitopu</a><br /><strong>Konu:</strong> 543<br /><strong>Gönderim Zamanı:</strong> 07&nbsp;Ağustos&nbsp;2023 Saat 10:05<br /><br />Merhaba, hata ile ilgili bir gelişme var mı?]]>
   </description>
   <pubDate>Mon, 07 Aug 2023 10:05:59 +0000</pubDate>
   <guid isPermaLink="true">https://www.clomosy.com.tr/forum_posts.asp?TID=543&amp;PID=670#670</guid>
  </item> 
  <item>
   <title><![CDATA[Butonlara renk atama : Kodda kar&#351;&#305;la&#351;t&#305;&#287;&#305;n&#305;z hatay&#305; tespit...]]></title>
   <link>https://www.clomosy.com.tr/forum_posts.asp?TID=543&amp;PID=663#663</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://www.clomosy.com.tr/member_profile.asp?PF=133">Alforce</a><br /><strong>Konu:</strong> 543<br /><strong>Gönderim Zamanı:</strong> 04&nbsp;Ağustos&nbsp;2023 Saat 14:16<br /><br />Kodda karşılaştığınız hatayı tespit ettik, teşekkür ederiz.<div><br></div><div>Ar-ge ekibine ilettim kısa sürede cevap vericeklerdir.</div>]]>
   </description>
   <pubDate>Fri, 04 Aug 2023 14:16:54 +0000</pubDate>
   <guid isPermaLink="true">https://www.clomosy.com.tr/forum_posts.asp?TID=543&amp;PID=663#663</guid>
  </item> 
  <item>
   <title><![CDATA[Butonlara renk atama : Var MyForm:TclForm;btn1,btn2,b...]]></title>
   <link>https://www.clomosy.com.tr/forum_posts.asp?TID=543&amp;PID=661#661</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://www.clomosy.com.tr/member_profile.asp?PF=117">halilselvitopu</a><br /><strong>Konu:</strong> 543<br /><strong>Gönderim Zamanı:</strong> 04&nbsp;Ağustos&nbsp;2023 Saat 11:05<br /><br />Var MyForm:TclForm;btn1,btn2,btn3,btn4,btn5,btn6,btn7,btn8,btn9,btn10,btn11,btn12,btn13,btn14,btn15,btn16,btn17,btn18: TClProButton;<div>myDeviceManager:TclDeviceManager;valueName:string;tahminsayifloat:Float;tahminsayi,girsayi,i,sira:Integer;ButtonZar:TclButton;testImg:TclImage;&nbsp;</div><div><br></div><div>procedure c1;</div><div>begin</div><div>MyForm.SetImage(btn1,'https://i.hizliresim.com/lgz7547.jpg');</div><div>btn1.enabled:= False;</div><div><br></div><div>end;</div><div>procedure c3;</div><div>begin</div><div>MyForm.SetImage(btn3,'https://i.hizliresim.com/o7bi7w1.png');</div><div>btn3.enabled:= False;</div><div><br></div><div>end;</div><div>procedure c4;</div><div>begin</div><div>MyForm.SetImage(btn4,'https://i.hizliresim.com/4epyq3u.jpg');</div><div>end;</div><div>procedure c2;</div><div>begin</div><div>MyForm.SetImage(btn2,'https://i.hizliresim.com/78q1glg.jpg');</div><div>btn2.enabled:= False;</div><div>end;</div><div><br></div><div>procedure c13;</div><div>begin</div><div>clComponent.SetupComponent(btn13,'{"BackgroundColor":"#ee0000"}');</div><div>btn13.enabled:= False;</div><div>end;</div><div>procedure c8;</div><div>begin</div><div>MyForm.SetImage(btn8,'https://i.hizliresim.com/b0idm02.jpg');</div><div><br></div><div>btn8.enabled:= False;</div><div>end;</div><div><br></div><div><br></div><div><br></div><div>Procedure ZarGorsel(a:Integer)begin if a=1 then begin MyForm.SetImage(testImg,'https://i.hizliresim.com/fro63f6.png'); end;else if a = 2 then begin MyForm.SetImage(testImg,'https://i.hizliresim.com/egerynm.png');end;else if a = 3 then begin MyForm.SetImage(testImg,'https://i.hizliresim.com/h73lzkk.png');end;else if a = 4 then begin MyForm.SetImage(testImg,'https://i.hizliresim.com/lg7nxgm.png');end;else if a = 5 then begin MyForm.SetImage(testImg,'https://i.hizliresim.com/fzz3x41.png');end;else if a = 6 then begin MyForm.SetImage(testImg,'https://i.hizliresim.com/odqhg4l.png');end;end;Procedure ButtonZarFonk;begin</div><div>tahminsayi:=clMath.generateRandom(1,6);ZarGorsel(tahminsayi);end;begin MyForm:=TclForm.Create(Self);myDeviceManager:=TclDeviceManager.Create;MyForm.SetFormBGImage('https://i.hizliresim.com/8lchnr7.jpeg');</div><div>btn1:=MyForm.AddNewProButton(MyForm,'btn1','');clComponent.SetupComponent(btn1,'{"caption":"İNGİLTERE","MarginLeft":405,"MarginRight":90,"MarginBottom":62,"MarginTop":562,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>btn2:=MyForm.AddNewProButton(MyForm,'btn2','');clComponent.SetupComponent(btn2,'{"caption":"İTALYA","MarginLeft":630,"MarginRight":2,"MarginBottom":-80,"MarginTop":250,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>btn3:=MyForm.AddNewProButton(MyForm,'btn3','');clComponent.SetupComponent(btn3,'{"caption":"TÜRKİYE","MarginLeft":245,"MarginRight":240,"MarginBottom":62,"MarginTop":562,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>btn4:=MyForm.AddNewProButton(MyForm,'btn4','');clComponent.SetupComponent(btn4,'{"caption":"ALMANYA","MarginLeft":5,"MarginRight":625,"MarginBottom":62,"MarginTop":562,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');</div><div>btn5:=MyForm.AddNewProButton(MyForm,'btn5','');clComponent.SetupComponent(btn5,'{"caption":"KORE","MarginLeft":95,"MarginRight":405,"MarginBottom":62,"MarginTop":562,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>btn6:=MyForm.AddNewProButton(MyForm,'btn6','');clComponent.SetupComponent(btn6,'{"caption":"FRANSA","MarginLeft":405,"MarginRight":90,"MarginBottom":600,"MarginTop":10,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>btn7:=MyForm.AddNewProButton(MyForm,'btn7','');clComponent.SetupComponent(btn7,'{"caption":"BAŞLA","MarginLeft":630,"MarginRight":2,"MarginBottom":860,"MarginTop":430,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>btn8:=MyForm.AddNewProButton(MyForm,'btn8','');clComponent.SetupComponent(btn8,'{"caption":"NORVEÇ","MarginLeft":245,"MarginRight":240,"MarginBottom":600,"MarginTop":10,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>btn9:=MyForm.AddNewProButton(MyForm,'btn9','');clComponent.SetupComponent(btn9,'{"caption":"ABD","MarginLeft":5,"MarginRight":625,"MarginBottom":600,"MarginTop":10,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>btn10:=MyForm.AddNewProButton(MyForm,'btn10','');clComponent.SetupComponent(btn10,'{"caption":"VİZE AL","MarginLeft":95,"MarginRight":405,"MarginBottom":600,"MarginTop":10,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>btn11:=MyForm.AddNewProButton(MyForm,'btn11','');clComponent.SetupComponent(btn11,'{"caption":"RUSYA","MarginLeft":-70,"MarginRight":860,"MarginBottom":325,"MarginTop":95,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>btn12:=MyForm.AddNewProButton(MyForm,'btn12','');clComponent.SetupComponent(btn12,'{"caption":"MISIR","MarginLeft":-70,"MarginRight":860,"MarginBottom":430,"MarginTop":15,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>btn13:=MyForm.AddNewProButton(MyForm,'btn13','');clComponent.SetupComponent(btn13,'{"caption":"GÜMRÜK KAPISI","MarginLeft":-70,"MarginRight":860,"MarginBottom":220,"MarginTop":175,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');&nbsp;</div><div>btn14:=MyForm.AddNewProButton(MyForm,'btn14','');clComponent.SetupComponent(btn14,'{"caption":"UKRAYNA","MarginLeft":-70,"MarginRight":860,"MarginBottom":50,"MarginTop":190,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');</div><div>btn15:=MyForm.AddNewProButton(MyForm,'btn15','');clComponent.SetupComponent(btn15,'{"caption":"KODES","MarginLeft":-70,"MarginRight":860,"MarginBottom":-80,"MarginTop":250,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');</div><div>btn16:=MyForm.AddNewProButton(MyForm,'btn16','');clComponent.SetupComponent(btn16,'{"caption":"ÇİN","MarginLeft":630,"MarginRight":2,"MarginBottom":325,"MarginTop":95,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');</div><div>btn17:=MyForm.AddNewProButton(MyForm,'btn17','');clComponent.SetupComponent(btn17,'{"caption":"ŞANS","MarginLeft":630,"MarginRight":2,"MarginBottom":50,"MarginTop":190,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');</div><div>btn18:=MyForm.AddNewProButton(MyForm,'btn18','');clComponent.SetupComponent(btn18,'{"caption":"KANADA","MarginLeft":630,"MarginRight":2,"MarginBottom":220,"MarginTop":175,"Width":148,"Height":85,"RoundHeight":2,"RoundWidth":2,"BorderColor":"#ee0000","BorderWidth":2}');</div><div>testImg:=MyForm.AddNewImage(MyForm,'testImg');testImg.Margins.Left:=850;testImg.Margins.Right:=-100;testImg.Margins.Top:=190;testImg.Margins.Bottom:=50;testImg.Width:=80;testImg.Height:=80;MyForm.SetImage(testImg,'https://i.hizliresim.com/fro63f6.png');</div><div>ButtonZar:=MyForm.AddNewButton(MyForm,'ButtonZar','Zar At');ButtonZar.Margins.Left:=850;ButtonZar.Margins.Right:=-100;ButtonZar.Margins.Top:=270;ButtonZar.Margins.Bottom:=-10;ButtonZar.Width:=80;ButtonZar.Height:=40;MyForm.AddNewEvent(ButtonZar,tbeOnClick,'ButtonZarFonk');&nbsp;</div><div><br></div><div>MyForm.AddNewEvent(btn13,tbeOnClick,'c13');</div><div>MyForm.AddNewEvent(btn1,tbeOnClick,'c1');</div><div>MyForm.AddNewEvent(btn3,tbeOnClick,'c3');</div><div>MyForm.AddNewEvent(btn4,tbeOnClick,'c4');</div><div>MyForm.AddNewEvent(btn8,tbeOnClick,'c8');</div><div><br></div><div><br></div><div>MyForm.Run;</div><div>end;&nbsp;<br><br><br><br>Koddaki tüm butonları prosedüre eklemedim henüz, butonlar btn1 btn2 şeklinde tanımlı for döngüsünü kullandığımda bileşen bulunamadı hatasını alıyorum döngüyü nerede kullanmalıyım?</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Fri, 04 Aug 2023 11:05:53 +0000</pubDate>
   <guid isPermaLink="true">https://www.clomosy.com.tr/forum_posts.asp?TID=543&amp;PID=661#661</guid>
  </item> 
  <item>
   <title><![CDATA[Butonlara renk atama : B&#252;t&#252;n butonlar&#305; Btn1, Btn2, Btn3,...]]></title>
   <link>https://www.clomosy.com.tr/forum_posts.asp?TID=543&amp;PID=658#658</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://www.clomosy.com.tr/member_profile.asp?PF=133">Alforce</a><br /><strong>Konu:</strong> 543<br /><strong>Gönderim Zamanı:</strong> 04&nbsp;Ağustos&nbsp;2023 Saat 10:36<br /><br /><div>Bütün butonları Btn1, Btn2, Btn3, Btn4, Btn5 şekilinde adlandırmalısınız.</div><div><br></div><div>Bu adlandırma değişken ismi veya text değil,&nbsp;</div><div>MyForm.AddNewProButton(MyForm, (burası), '');</div><div>burdaki adlandırmadır.</div><div><br></div><div><br></div><div>Mümkün ise kaynak kodunu paylaşabilir misiniz?</div>]]>
   </description>
   <pubDate>Fri, 04 Aug 2023 10:36:04 +0000</pubDate>
   <guid isPermaLink="true">https://www.clomosy.com.tr/forum_posts.asp?TID=543&amp;PID=658#658</guid>
  </item> 
  <item>
   <title><![CDATA[Butonlara renk atama : Bu kodu kullan&#305;rken NCompu ProButton...]]></title>
   <link>https://www.clomosy.com.tr/forum_posts.asp?TID=543&amp;PID=657#657</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://www.clomosy.com.tr/member_profile.asp?PF=117">halilselvitopu</a><br /><strong>Konu:</strong> 543<br /><strong>Gönderim Zamanı:</strong> 04&nbsp;Ağustos&nbsp;2023 Saat 10:17<br /><br />Bu kodu kullanırken NCompu ProButton olarak tanımlamama rağmen SetupComponent kısmında bileşen bulunamadı şeklinde bir hata veriyor sebebini bulamadım. Diğer butonlarda da aynı bileşeni kullanmıştım fakat buradaki hata sebebini anlayamadım.<div><br></div>]]>
   </description>
   <pubDate>Fri, 04 Aug 2023 10:17:53 +0000</pubDate>
   <guid isPermaLink="true">https://www.clomosy.com.tr/forum_posts.asp?TID=543&amp;PID=657#657</guid>
  </item> 
  <item>
   <title><![CDATA[Butonlara renk atama : Bu konuda anlat&#305;ld&#305;.Bu kod ise...]]></title>
   <link>https://www.clomosy.com.tr/forum_posts.asp?TID=543&amp;PID=651#651</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://www.clomosy.com.tr/member_profile.asp?PF=133">Alforce</a><br /><strong>Konu:</strong> 543<br /><strong>Gönderim Zamanı:</strong> 03&nbsp;Ağustos&nbsp;2023 Saat 18:17<br /><br /><a href="https://forum.clomosy.com.tr/but&#111;nlara-renk-atama_topic547_post649.html#649" target="_blank" rel="nofollow">Bu</a> konuda anlatıldı.<div><br></div><div>Bu kod ise istediğiniz modifiye edilmiş hali:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><pre ="BBcode" style="width: 1648.83px; : rgb251, 251, 253;"><div>Var</div><div>&nbsp; i: Integer;</div><div>  NComp: TclProButton;</div><div>Begin</div><div>&nbsp; For i:= 1 to 5 do</div><div>  Begin</div><div>    NComp:= TclProButton(MyForm.clFindComponent('Btn'+IntToStr(i)));</div><div>    </div><div>    clComponent.SetupComponent(NComp,'{"BackgroundColor":"#<span style="font-family: Verdana, Arial, Helvetica, sans-serif; white-space: normal;">ee0000</span>"}');</div><div>    NComp.Enabled:= False;</div><div>  End;</div></pre></div><div></pre></td></tr></table></div><div>Sanırım istediğiniz şey bu.</div>]]>
   </description>
   <pubDate>Thu, 03 Aug 2023 18:17:52 +0000</pubDate>
   <guid isPermaLink="true">https://www.clomosy.com.tr/forum_posts.asp?TID=543&amp;PID=651#651</guid>
  </item> 
  <item>
   <title><![CDATA[Butonlara renk atama : butona bast&#305;&#287;&#305;mda renk olsun di&#287;er...]]></title>
   <link>https://www.clomosy.com.tr/forum_posts.asp?TID=543&amp;PID=634#634</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://www.clomosy.com.tr/member_profile.asp?PF=107">Zeren</a><br /><strong>Konu:</strong> 543<br /><strong>Gönderim Zamanı:</strong> 03&nbsp;Ağustos&nbsp;2023 Saat 10:25<br /><br />butona bastığımda renk olsun diğer butona bastığımda diğerinden renk kalksın sonradan bastığıma geçsin istiyorum ama 18 tane buton var tek tek yazmak yerine daha kolay bir yolu var mı aşağıdaki kod çalışıyor sadece karakter yetmiyor hepsine yazarsam<div><div><br></div><div>procedure chnc;</div><div>begin</div><div>clComponent.SetupComponent(btnchn,'{"BackgroundColor":"#ee0000"}');</div><div>clComponent.SetupComponent(btnen,'{"BackgroundColor":"#ffffff"}');</div><div>btnchn.enabled:= False;</div><div>btnen.enabled := True;</div><div><br></div><div>end;</div><div>procedure enc;</div><div>begin</div><div>clComponent.SetupComponent(btnen,'{"BackgroundColor":"#ee0000"}');</div><div>clComponent.SetupComponent(btnchn,'{"BackgroundColor":"#ffffff"}');</div><div>btnen.enabled:= False;</div><div>btnchn.enabled:= True;</div><div>end;</div></div>]]>
   </description>
   <pubDate>Thu, 03 Aug 2023 10:25:45 +0000</pubDate>
   <guid isPermaLink="true">https://www.clomosy.com.tr/forum_posts.asp?TID=543&amp;PID=634#634</guid>
  </item> 
 </channel>
</rss>