<?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 : İç içe for ile form nesnelerinin kullanımı</title>
  <link>https://www.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : İç içe for ile form nesnelerinin kullanımı]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 14 Apr 2026 16:06:21 +0000</pubDate>
  <lastBuildDate>Mon, 24 Jul 2023 15:47: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://www.clomosy.com.tr/RSS_post_feed.asp?TID=516</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[İç içe for ile form nesnelerinin kullanımı : Merhaba,A&#351;a&#287;&#305;da ki kodda &#231;&#246;z&#252;m&#252;...]]></title>
   <link>https://www.clomosy.com.tr/forum_posts.asp?TID=516&amp;PID=544#544</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://www.clomosy.com.tr/member_profile.asp?PF=101">ztashia</a><br /><strong>Konu:</strong> 516<br /><strong>Gönderim Zamanı:</strong> 24&nbsp;Temmuz&nbsp;2023 Saat 15:47<br /><br />Merhaba,<br><br>Aşağıda ki kodda çözümü bulabilirsiniz.<div><br></div><div><b>Yapılan Değişiklikler;</b></div><div><ul><li>Butona tıklandığında hangi butona tıklandığını gösteren event eklendi.</li><li>Align hataları düzeltildi.</li></ul><div><br></div><div>********************************************************************************<br><div><div>var</div><div>&nbsp; MyForm:TclForm;</div><div>&nbsp; satirLyt,sutunLyt:TClLayout;</div><div>&nbsp; arkaPnl,p1:TCLPanel;</div><div>&nbsp; alanBtn: TCLButton;</div><div>&nbsp; i,j:Integer;</div><div>&nbsp; procedure alanBtnOnClick;</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; ShowMessage(TCLButton(MyForm.ClSender).Text);</div><div>&nbsp; end;</div><div><br></div><div>begin</div><div>&nbsp; MyForm := TclForm.Create(Self);</div><div>&nbsp;&nbsp;</div><div>&nbsp; arkaPnl:=MyForm.AddNewProPanel(MyForm,'arkaPnl');</div><div>&nbsp; clComponent.SetupComponent(arkaPnl,'{"Align" : "Client","BackgroundColor":"#EEE8AA"}');</div><div>&nbsp;&nbsp;</div><div>&nbsp; p1:=MyForm.AddNewProPanel(arkaPnl,'p1');</div><div>&nbsp; clComponent.SetupComponent(p1,'{"Align" : "Client","BackgroundColor":"#EEE8AA"}');</div><div>&nbsp;&nbsp;</div><div>&nbsp; for i:= 0 to 4 do begin&nbsp;</div><div>&nbsp; &nbsp; satirLyt:=MyForm.AddNewLayout(p1,'satirLyt'+IntToStr(i));</div><div>&nbsp; &nbsp; satirLyt.Align:=alMostTop;</div><div>&nbsp; &nbsp; for j:=0 to 4 do begin</div><div>&nbsp; &nbsp; &nbsp; sutunLyt:=MyForm.AddNewLayout(satirLyt,'sutunLyt'+IntToStr(i)+IntToStr(j));</div><div>&nbsp; &nbsp; &nbsp; sutunLyt.Align:=alMostleft;</div><div>&nbsp; &nbsp; &nbsp; sutunLyt.Width:=30;</div><div>&nbsp; &nbsp; &nbsp; sutunLyt.Height:=30;</div><div>&nbsp; &nbsp; &nbsp; alanBtn:=MyForm.AddNewProButton(sutunLyt,'alanBtn'+IntToStr(i)+IntToStr(j),IntToStr(I)+' - '+IntToStr(j));</div><div>&nbsp; &nbsp; &nbsp; clComponent.SetupComponent(alanBtn,'{"Align" : "client","Width" :50, "Height":50, "BorderColor":"#000000","BorderWidth":1, "BackgroundColor":"#ffffff"}');</div><div>&nbsp; &nbsp; &nbsp; MyForm.AddNewEvent(alanBtn,tbeOnClick,'alanBtnOnClick');</div><div>&nbsp; &nbsp; end;</div><div>&nbsp; end;</div><div>&nbsp;&nbsp;</div><div>&nbsp;MyForm.Run;</div><div>end;</div></div><div>********************************************************************************<br><br>İyi Günler.</div></div></div>]]>
   </description>
   <pubDate>Mon, 24 Jul 2023 15:47:34 +0000</pubDate>
   <guid isPermaLink="true">https://www.clomosy.com.tr/forum_posts.asp?TID=516&amp;PID=544#544</guid>
  </item> 
  <item>
   <title><![CDATA[İç içe for ile form nesnelerinin kullanımı : Merhaba,&#304;&#231; i&#231;e for d&#246;ng&#252;s&#252; kullanarak...]]></title>
   <link>https://www.clomosy.com.tr/forum_posts.asp?TID=516&amp;PID=543#543</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://www.clomosy.com.tr/member_profile.asp?PF=115">ubakgul</a><br /><strong>Konu:</strong> 516<br /><strong>Gönderim Zamanı:</strong> 24&nbsp;Temmuz&nbsp;2023 Saat 13:56<br /><br />Merhaba,<div><br></div><div>İç içe for döngüsü kullanarak matris oluşturmaya çalışıyorum. Kodlar ve karşılaştığım sorunlar aşağıdaki gibidir.&nbsp;</div><div>Matriste alt satıra geçmek için satirLyt kullandım. Sütunları oluşturmak için satirLyt içine sutunLyt ekledim. SutunLyt içine butonları ekliyorum. Resimlerde görüldüğü gibi sütunda ve satırda ilk değeri yazdıktan sonra son değerden başlayarak buton ekliyor. Bu sorun nasıl düzeltilebilir?&nbsp;</div><div>sutunLyt ve alanBtn eklerken içine eklediğim alanların isimleri (satirLyt ve sutunLyt), i ve j değerleriyle birlikte değişebilirse sorunun çözülebileceğini düşünüyorum. Bu form değişkenlerinin i ve j ile birlikte kullanımı var mı, varsa nasıl kullanabilirim?</div><div><br></div><div>&nbsp;<img src="uploads/115/sutun_bozuk.PNG" height="154" width="175" border="0" />&nbsp; &nbsp;<img src="uploads/115/satir_bozuk.PNG" height="160" width="179" border="0" />&nbsp;&nbsp;</div><div><br></div><div><div>var</div><div>&nbsp; MyForm:TclForm;</div><div>&nbsp; satirLyt,sutunLyt:TClLayout;</div><div>&nbsp; arkaPnl,p1:TCLPanel;</div><div>&nbsp; alanBtn: TCLButton;</div><div>&nbsp; i,j:Integer;</div><div><br></div><div>begin</div><div>&nbsp; MyForm := TclForm.Create(Self);</div><div>&nbsp;&nbsp;</div><div>&nbsp; arkaPnl:=MyForm.AddNewProPanel(MyForm,'arkaPnl');</div><div>&nbsp; clComponent.SetupComponent(arkaPnl,'{"Align" : "Client","BackgroundColor":"#EEE8AA"}');</div><div>&nbsp;&nbsp;</div><div>&nbsp; p1:=MyForm.AddNewProPanel(arkaPnl,'p1');</div><div>&nbsp; clComponent.SetupComponent(p1,'{"Align" : "Client","BackgroundColor":"#EEE8AA"}');</div><div>&nbsp;&nbsp;</div><div>&nbsp; for i:= 0 to 4 do begin&nbsp;</div><div>&nbsp; &nbsp; satirLyt:=MyForm.AddNewLayout(p1,'satirLyt'+IntToStr(i));</div><div>&nbsp; &nbsp; for j:=0 to 4 do begin</div><div>&nbsp; &nbsp; &nbsp; sutunLyt:=MyForm.AddNewLayout(satirLyt,'sutunLyt'+IntToStr(i)+IntToStr(j));</div><div>&nbsp; &nbsp; &nbsp; sutunLyt.Align:=alleft;</div><div>&nbsp; &nbsp; &nbsp; sutunLyt.Width:=30;</div><div>&nbsp; &nbsp; &nbsp; sutunLyt.Height:=30;</div><div>&nbsp; &nbsp; &nbsp; alanBtn:=MyForm.AddNewProButton(sutunLyt,'alanBtn'+IntToStr(i)+IntToStr(j),IntToStr(j));</div><div>&nbsp; &nbsp; &nbsp; clComponent.SetupComponent(alanBtn,'{"Align" : "left","Width" :50, "Height":50, "BorderColor":"#000000","BorderWidth":1, "BackgroundColor":"#ffffff"}');</div><div>&nbsp; &nbsp; end;</div><div>&nbsp; end;</div><div>&nbsp;&nbsp;</div><div>&nbsp;MyForm.Run;</div><div>end;</div></div>]]>
   </description>
   <pubDate>Mon, 24 Jul 2023 13:56:27 +0000</pubDate>
   <guid isPermaLink="true">https://www.clomosy.com.tr/forum_posts.asp?TID=516&amp;PID=543#543</guid>
  </item> 
 </channel>
</rss>