<?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 : For Döngüsü İçerisinde Değişken Oluşturma</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : For Döngüsü İçerisinde Değişken Oluşturma]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 08:59:09 +0000</pubDate>
  <lastBuildDate>Fri, 31 Oct 2025 14:19:12 +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=1214</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[For Döngüsü İçerisinde Değişken Oluşturma : Merhaba Eren,&#304;ki farkl&#305; &#231;&#246;z&#252;m...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1214&amp;PID=2621#2621</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> 1214<br /><strong>Gönderim Zamanı:</strong> 31&nbsp;Ekim&nbsp;2025 Saat 14:19<br /><br />Merhaba Eren,&nbsp;<br>İki farklı çözüm yolu bırakıyorum aşağıya incelemeni istiyorum.&nbsp;<br>Kullandığım bileşen;&nbsp;TclFlowLayout&nbsp;<br><br>*****************1. Örnek******************<br><div><b>var</b></div><div><b>&nbsp; MainForm: TClForm;</b></div><div><b>&nbsp; MasaHarfiEdit: TclProEdit;</b></div><div><b>&nbsp; MasaNumaraEdit: TclProEdit;</b></div><div><b>&nbsp; flowLayout: TclFlowLayout;</b></div><div><b>&nbsp; buttonCounter: Integer;</b></div><div><b>&nbsp; numaraLabel, harfLabel&nbsp; : TClProLabel;</b></div><div><b>&nbsp; TemizleBtn :TClProButton;</b></div><div><b>void MasaEkle</b></div><div><b>var</b></div><div><b>&nbsp; masaHarfi: String;</b></div><div><b>&nbsp; masaAdeti: Integer;</b></div><div><b>&nbsp; masaButton: TCLProButton;</b></div><div><b>&nbsp; masaAdi: String;</b></div><div><b>&nbsp; i: Integer;</b></div><div><b>{</b></div><div><b>&nbsp; // Edit'lerden değerleri al</b></div><div><b>&nbsp; masaHarfi = MasaHarfiEdit.Text;</b></div><div><b>&nbsp;&nbsp;</b></div><div><b>&nbsp; // Boş kontrolü</b></div><div><b>&nbsp; if ((masaHarfi == '') || (MasaNumaraEdit.Text == ''))</b></div><div><b>&nbsp; {</b></div><div><b>&nbsp; &nbsp; Exit;</b></div><div><b>&nbsp; }</b></div><div><b>&nbsp; // Masa numarasını sayıya çevir</b></div><div><b>&nbsp; Try</b></div><div><b>&nbsp; &nbsp; masaAdeti = StrToInt(MasaNumaraEdit.Text);</b></div><div><b>&nbsp; except</b></div><div><b>&nbsp; &nbsp; ShowMessage('Lütfen geçerli bir sayı giriniz!');</b></div><div><b>&nbsp; &nbsp; Exit;</b></div><div><b>&nbsp; }</b></div><div><b>&nbsp; if (masaAdeti &lt;= 0)</b></div><div><b>&nbsp; {</b></div><div><b>&nbsp; &nbsp; ShowMessage('Masa adedi 1 veya daha büyük olmalı!');</b></div><div><b>&nbsp; &nbsp; Exit;</b></div><div><b>&nbsp; }</b></div><div><b>&nbsp; // FlowLayout kontrolü</b></div><div><b>&nbsp; if (flowLayout == nil)</b></div><div><b>&nbsp; {</b></div><div><b>&nbsp; &nbsp; ShowMessage('FlowLayout bulunamadı!');</b></div><div><b>&nbsp; &nbsp; Exit;</b></div><div><b>&nbsp; }</b></div><div><b>&nbsp; // Girilen sayı kadar masa butonu oluştur</b></div><div><b>&nbsp; for (i = 1 to masaAdeti)</b></div><div><b>&nbsp; {</b></div><div><b>&nbsp; &nbsp; Try</b></div><div><b>&nbsp; &nbsp; &nbsp; // Masa adını oluştur (harf + numara: A1, A2, A3...)</b></div><div><b>&nbsp; &nbsp; &nbsp; masaAdi = masaHarfi + IntToStr(i);</b></div><div><b>&nbsp; &nbsp; &nbsp;&nbsp;</b></div><div><b>&nbsp; &nbsp; &nbsp; buttonCounter = buttonCounter + 1;</b></div><div><b>&nbsp; &nbsp; &nbsp; masaButton = MainForm.AddNewProButton(flowLayout, 'MasaButton_' + IntToStr(buttonCounter), masaAdi);</b></div><div><b>&nbsp; &nbsp; &nbsp; masaButton.Width = 150;</b></div><div><b>&nbsp; &nbsp; &nbsp; masaButton.Height = 100;</b></div><div><b>&nbsp; &nbsp; &nbsp; masaButton.clProSettings.FontSize = 16;</b></div><div><b>&nbsp; &nbsp; &nbsp; masaButton.clProSettings.FontVertAlign = palcenter;</b></div><div><b>&nbsp; &nbsp; &nbsp; masaButton.clProSettings.FontHorzAlign = palcenter;</b></div><div><b>&nbsp; &nbsp; &nbsp; masaButton.clProSettings.RoundHeight = 8;</b></div><div><b>&nbsp; &nbsp; &nbsp; masaButton.clProSettings.RoundWidth = 8;</b></div><div><b>&nbsp; &nbsp; &nbsp; masaButton.clProSettings.PictureSource = '<a href="https://resmim.net/cdn/2025/10/30/jJABcF.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/30/jJABcF.png</a>'</b></div><div><b>&nbsp; &nbsp; &nbsp; masaButton.SetclProSettings(masaButton.clProSettings)</b></div><div><b>&nbsp; &nbsp; except</b></div><div><b>&nbsp; &nbsp; &nbsp; ShowMessage('Buton oluşturulurken hata: ' + LastExceptionMessage + ' (Masa: ' + masaAdi + ')');</b></div><div><b>&nbsp; &nbsp; }</b></div><div><b>&nbsp; }</b></div><div><b>&nbsp; // Edit'leri temizle - yeni masa grubu için hazır</b></div><div><b>&nbsp; MasaHarfiEdit.Text = '';</b></div><div><b>&nbsp; MasaNumaraEdit.Text = '';</b></div><div><b>}</b></div><div><b>void MasaEkleHarfi</b></div><div><b>{</b></div><div><b>&nbsp; // Masa harfi girildiğinde tetikle</b></div><div><b>&nbsp; // Sadece numara da girilmişse buton ekle</b></div><div><b>&nbsp; if ((MasaHarfiEdit.Text &lt;&gt; '') &amp;&amp; (MasaNumaraEdit.Text &lt;&gt; ''))</b></div><div><b>&nbsp; {</b></div><div><b>&nbsp; &nbsp; MasaEkle;</b></div><div><b>&nbsp; }</b></div><div><b>}</b></div><div><b><br></b></div><div><b>void MasaEkleNumara</b></div><div><b>{</b></div><div><b>&nbsp; // Masa numarası girildiğinde tetikle</b></div><div><b>&nbsp; // Sadece harf de girilmişse buton ekle</b></div><div><b>&nbsp; if ((MasaHarfiEdit.Text &lt;&gt; '') &amp;&amp; (MasaNumaraEdit.Text &lt;&gt; ''))</b></div><div><b>&nbsp; {</b></div><div><b>&nbsp; &nbsp; MasaEkle;</b></div><div><b>&nbsp; }</b></div><div><b>}</b></div><div><b><br></b></div><div><b>void ButonlariTemizle</b></div><div><b>var</b></div><div><b>&nbsp; i: Integer;</b></div><div><b>&nbsp; existingButton: TCLButton;</b></div><div><b>{</b></div><div><b>&nbsp; // Tüm buton'ları temizle</b></div><div><b>&nbsp; for (i = 1 to buttonCounter)</b></div><div><b>&nbsp; {</b></div><div><b>&nbsp; &nbsp; existingButton = MainForm.FindComponent('MasaButton_' + IntToStr(i)) as TCLProButton;</b></div><div><b>&nbsp; &nbsp; if (existingButton &lt;&gt; nil)</b></div><div><b>&nbsp; &nbsp; {</b></div><div><b>&nbsp; &nbsp; &nbsp; Try</b></div><div><b>&nbsp; &nbsp; &nbsp;&nbsp;</b></div><div><b>&nbsp; &nbsp; &nbsp; &nbsp; existingButton = nil;</b></div><div><b>&nbsp; &nbsp; &nbsp;&nbsp;</b></div><div><b>&nbsp; &nbsp; &nbsp; except</b></div><div><b>&nbsp; &nbsp; &nbsp;&nbsp;</b></div><div><b>&nbsp; &nbsp; &nbsp; }</b></div><div><b>&nbsp; &nbsp; }</b></div><div><b>&nbsp; }</b></div><div><b>&nbsp; buttonCounter = 0;</b></div><div><b>}</b></div><div><b><br></b></div><div><b>{</b></div><div><b>&nbsp; MainForm = TClForm.Create(self);</b></div><div><b>&nbsp; MainForm.clSetWindowState(fwsMaximized);</b></div><div><b>&nbsp; MainForm.SetFormColor('#F5F5F5', '', clGNone);</b></div><div><b>&nbsp; MainForm.FormWaiting.Visible = False;</b></div><div><b>&nbsp; MainForm.BtnFormMenu.Visible = False;</b></div><div><b>&nbsp; MainForm.BtnGoBack.Visible = False;</b></div><div><b><br></b></div><div><b>&nbsp; buttonCounter = 0;</b></div><div><b><br></b></div><div><b>&nbsp; // Masa Harfi Edit oluştur</b></div><div><b>&nbsp; harfLabel = MainForm.AddNewProLabel(MainForm, 'HarfLabel', 'Masa Harfi:');</b></div><div><b>&nbsp; harfLabel.Align = alTop;</b></div><div><b>&nbsp; harfLabel.Height = 30;</b></div><div><b>&nbsp; harfLabel.Margins.Top = 20;</b></div><div><b>&nbsp; harfLabel.Margins.Left = 20;</b></div><div><b>&nbsp; harfLabel.clProSettings.FontSize = 16;</b></div><div><b>&nbsp; harfLabel.clProSettings.FontColor = clAlphaColor.clHexToColor('#333333');</b></div><div><b>&nbsp; harfLabel.SetclProSettings(harfLabel.clProSettings);</b></div><div><b><br></b></div><div><b>&nbsp; MasaHarfiEdit = MainForm.AddNewProEdit(MainForm, 'MasaHarfiEdit', '');</b></div><div><b>&nbsp; MasaHarfiEdit.Align = alTop;</b></div><div><b>&nbsp; MasaHarfiEdit.Height = 50;</b></div><div><b>&nbsp; MasaHarfiEdit.Margins.Top = 5;</b></div><div><b>&nbsp; MasaHarfiEdit.Margins.Left = 20;</b></div><div><b>&nbsp; MasaHarfiEdit.Margins.Right = 20;</b></div><div><b>&nbsp; MasaHarfiEdit.clProSettings.FontSize = 18;</b></div><div><b>&nbsp; MasaHarfiEdit.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CCCCCC');</b></div><div><b>&nbsp; MasaHarfiEdit.clProSettings.RoundHeight = 8;</b></div><div><b>&nbsp; MasaHarfiEdit.clProSettings.RoundWidth = 8;</b></div><div><b>&nbsp; MasaHarfiEdit.SetclProSettings(MasaHarfiEdit.clProSettings);</b></div><div><b>&nbsp; MainForm.AddNewEvent(MasaHarfiEdit, tbeOnChange, 'MasaEkleHarfi');</b></div><div><b><br></b></div><div><b>&nbsp; // Masa Numarası Edit oluştur</b></div><div><b>&nbsp; numaraLabel = MainForm.AddNewProLabel(MainForm, 'NumaraLabel', 'Masa Numarası:');</b></div><div><b>&nbsp; numaraLabel.Align = alTop;</b></div><div><b>&nbsp; numaraLabel.Height = 30;</b></div><div><b>&nbsp; numaraLabel.Margins.Top = 10;</b></div><div><b>&nbsp; numaraLabel.Margins.Left = 20;</b></div><div><b>&nbsp; numaraLabel.clProSettings.FontSize = 16;</b></div><div><b>&nbsp; numaraLabel.clProSettings.FontColor = clAlphaColor.clHexToColor('#333333');</b></div><div><b>&nbsp; numaraLabel.SetclProSettings(numaraLabel.clProSettings);</b></div><div><b><br></b></div><div><b>&nbsp; MasaNumaraEdit = MainForm.AddNewProEdit(MainForm, 'MasaNumaraEdit', '');</b></div><div><b>&nbsp; MasaNumaraEdit.Align = alTop;</b></div><div><b>&nbsp; MasaNumaraEdit.Height = 50;</b></div><div><b>&nbsp; MasaNumaraEdit.Margins.Top = 5;</b></div><div><b>&nbsp; MasaNumaraEdit.Margins.Left = 20;</b></div><div><b>&nbsp; MasaNumaraEdit.Margins.Right = 20;</b></div><div><b>&nbsp; MasaNumaraEdit.clProSettings.FontSize = 18;</b></div><div><b>&nbsp; MasaNumaraEdit.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CCCCCC');</b></div><div><b>&nbsp; MasaNumaraEdit.clProSettings.RoundHeight = 8;</b></div><div><b>&nbsp; MasaNumaraEdit.clProSettings.RoundWidth = 8;</b></div><div><b>&nbsp; MasaNumaraEdit.SetclProSettings(MasaNumaraEdit.clProSettings);</b></div><div><b>&nbsp; MainForm.AddNewEvent(MasaNumaraEdit, tbeOnChange, 'MasaEkleNumara');</b></div><div><b><br></b></div><div><b>&nbsp; // Temizle butonu</b></div><div><b>&nbsp; TemizleBtn = MainForm.AddNewProButton(MainForm, 'TemizleBtn', 'Tümünü Temizle');</b></div><div><b>&nbsp; TemizleBtn.Align = alTop;</b></div><div><b>&nbsp; TemizleBtn.Height = 50;</b></div><div><b>&nbsp; TemizleBtn.Margins.Top = 10;</b></div><div><b>&nbsp; TemizleBtn.Margins.Left = 20;</b></div><div><b>&nbsp; TemizleBtn.Margins.Right = 20;</b></div><div><b>&nbsp; TemizleBtn.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#E74C3C');</b></div><div><b>&nbsp; TemizleBtn.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</b></div><div><b>&nbsp; TemizleBtn.clProSettings.FontSize = 16;</b></div><div><b>&nbsp; TemizleBtn.clProSettings.FontVertAlign = palcenter;</b></div><div><b>&nbsp; TemizleBtn.clProSettings.FontHorzAlign = palcenter;</b></div><div><b>&nbsp; TemizleBtn.clProSettings.RoundHeight = 8;</b></div><div><b>&nbsp; TemizleBtn.clProSettings.RoundWidth = 8;</b></div><div><b>&nbsp; TemizleBtn.SetclProSettings(TemizleBtn.clProSettings);</b></div><div><b>&nbsp; MainForm.AddNewEvent(TemizleBtn, tbeOnClick, 'ButonlariTemizle');</b></div><div><b><br></b></div><div><b>&nbsp; // FlowLayout oluştur - Form üzerine direkt</b></div><div><b>&nbsp; flowLayout = MainForm.AddNewFlowLayout(MainForm, 'flowLayout');</b></div><div><b>&nbsp; flowLayout.Align = alClient;</b></div><div><b>&nbsp; flowLayout.JustifyText = 'Justify';&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</b></div><div><b>&nbsp; flowLayout.JustifyLastLineText = 'Center';&nbsp;&nbsp;</b></div><div><b>&nbsp; flowLayout.FlowDirectionText = 'LeftToRight';&nbsp;</b></div><div><b>&nbsp; flowLayout.HorizontalGap = 15;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</b></div><div><b>&nbsp; flowLayout.VerticalGap = 15;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</b></div><div><b>&nbsp; flowLayout.Margins.Left = 20;</b></div><div><b>&nbsp; flowLayout.Margins.Right = 20;</b></div><div><b>&nbsp; flowLayout.Margins.Top = 10;</b></div><div><b>&nbsp; flowLayout.Margins.Bottom = 20;</b></div><div><b><br></b></div><div><b>&nbsp; MainForm.Run;</b></div><div><b>}</b></div><div>********************2. örnek ************************<br><div>var</div><div>&nbsp; MainForm: TClForm;</div><div>&nbsp; TestBtn: TClProButton;</div><div>&nbsp; TestEdit, TestEdit2: TclProEdit;</div><div>&nbsp; vScroll: TCLVertScrollBox;</div><div>&nbsp; TableLayout: TclFlowLayout;&nbsp;</div><div><br></div><div>function IconSelect(IconUI):String</div><div>var</div><div>&nbsp; Output: String;</div><div>{</div><div>&nbsp; Output = '';&nbsp;</div><div>&nbsp; case IconUI of</div><div>&nbsp; {</div><div>&nbsp; &nbsp; 'ClosmosyLogo':Output = '<a href="https://resmim.net/cdn/2025/10/22/jV6v6Q.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/22/jV6v6Q.png</a>';</div><div>&nbsp; &nbsp; 'AdminManagementBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju0eoT.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju0eoT.png</a>';</div><div>&nbsp; &nbsp; 'BackArrowBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1STG.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1STG.png</a>';</div><div>&nbsp; &nbsp; 'HomePageBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1fIT.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1fIT.png</a>';</div><div>&nbsp; &nbsp; 'ItemsBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1mZL.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1mZL.png</a>';</div><div>&nbsp; &nbsp; 'ManagementBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1Tqh.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1Tqh.png</a>';</div><div>&nbsp; &nbsp; 'OrderChecklistBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1jdK.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1jdK.png</a>';</div><div>&nbsp; &nbsp; 'OrdersBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1CGQ.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1CGQ.png</a>';</div><div>&nbsp; &nbsp; 'QRBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1kI7.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1kI7.png</a>';</div><div>&nbsp; &nbsp; 'SaveBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1gBc.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1gBc.png</a>';</div><div>&nbsp; &nbsp; 'ShiftBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju18QR.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju18QR.png</a>';</div><div>&nbsp; &nbsp; 'ShiftsBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1Bzj.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1Bzj.png</a>';</div><div>&nbsp; &nbsp; 'SortBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1rXI.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1rXI.png</a>';</div><div>&nbsp; &nbsp; 'StocksBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju15f6.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju15f6.png</a>';</div><div>&nbsp; &nbsp; 'TablesBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1RK8.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1RK8.png</a>';</div><div>&nbsp; &nbsp; 'TablesIconUI':Output = '<a href="https://resmim.net/cdn/2025/10/30/jJABcF.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/30/jJABcF.png</a>';</div><div>&nbsp; &nbsp; else{</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('HATA: IconSelect fonksiyonunda bulunamayan ikon: ' + IconUI);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div>&nbsp; Result = Output;</div><div>}</div><div><br></div><div>function CreateTableCell(AParent; ACaption: String; AName: String): TclProPanel</div><div>var</div><div>&nbsp; Cell: TclProPanel;</div><div>&nbsp; Img: TClProImage;</div><div>&nbsp; Lbl: TClProLabel;</div><div>{</div><div>&nbsp; Cell = MainForm.AddNewProPanel(AParent, AName);&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; Cell.Width = 400;&nbsp;</div><div>&nbsp; Cell.Height = (MainForm.clHeight*200)/100;</div><div>&nbsp; Cell.Margins.Left = 10;</div><div>&nbsp; Cell.Margins.Right = 10;</div><div>&nbsp; Cell.Margins.Top = 5;</div><div>&nbsp; Cell.Margins.Bottom = 5;</div><div>&nbsp; Cell.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#4caf50');</div><div>&nbsp; Cell.clProSettings.BorderWidth = 3;</div><div>&nbsp; Cell.clProSettings.BorderColor = clAlphaColor.clHexToColor('#3a3a3a');</div><div>&nbsp; Cell.clProSettings.RoundHeight = 10;</div><div>&nbsp; Cell.clProSettings.RoundWidth = 10;</div><div>&nbsp; Cell.SetclProSettings(Cell.clProSettings);</div><div><br></div><div>&nbsp; Img = MainForm.AddNewProImage(Cell, 'Img_' + AName);</div><div>&nbsp; Img.Align = alTop;</div><div>&nbsp; Img.Height = (Cell.Height * 40) / 100;&nbsp;</div><div>&nbsp; Img.Margins.Top = 10;</div><div>&nbsp; Img.clProSettings.PictureSource = IconSelect('TablesIconUI');&nbsp;</div><div>&nbsp; Img.clProSettings.PictureAutoFit = True;</div><div>&nbsp; Img.SetclProSettings(Img.clProSettings);</div><div><br></div><div>&nbsp; Lbl = MainForm.AddNewProLabel(Cell, 'Lbl_' + AName, ACaption);</div><div>&nbsp; Lbl.Align = alClient;&nbsp;</div><div>&nbsp; Lbl.Margins.Top = 6;</div><div>&nbsp; Lbl.Margins.Bottom = 12;</div><div>&nbsp; Lbl.Margins.Left = 12;</div><div>&nbsp; Lbl.Margins.Right = 12;</div><div>&nbsp; Lbl.clProSettings.FontSize = 35;&nbsp;</div><div>&nbsp; Lbl.clProSettings.FontVertAlign = palcenter;</div><div>&nbsp; Lbl.clProSettings.FontHorzAlign = palcenter;</div><div>&nbsp; Lbl.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; Lbl.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; Lbl.SetclProSettings(Lbl.clProSettings);</div><div><br></div><div>&nbsp; Result = Cell;</div><div>}</div><div><br></div><div>void MainPnlV</div><div>{</div><div>&nbsp; vScroll = MainForm.AddNewVertScrollBox(MainForm,'vScroll');</div><div>&nbsp; vScroll.Align = alCenter;</div><div>&nbsp; vScroll.Height = (MainForm.clHeight*45)/100;</div><div>&nbsp;&nbsp;</div><div>&nbsp; vScroll.Width = (MainForm.clWidth*98)/100;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; vScroll.Margins.Bottom = 270;</div><div>&nbsp;&nbsp;</div><div>&nbsp; TableLayout = MainForm.AddNewFlowLayout(vScroll, 'TableLayout');</div><div>&nbsp; TableLayout.Align = alTop;&nbsp;</div><div>&nbsp; TableLayout.JustifyText = 'Justify';&nbsp;</div><div>&nbsp; TableLayout.HorizontalGap = 7;&nbsp;</div><div>&nbsp; TableLayout.VerticalGap = 5;&nbsp; &nbsp;</div><div>}</div><div><br></div><div>void TestBtnV</div><div>var</div><div>&nbsp; MasaHarfi, Topla, CellName: String;</div><div>&nbsp; MasaAdeti_Int, k, i: Integer;&nbsp;</div><div>{</div><div>&nbsp; // === GÜVENLİK KONTROLÜ ===</div><div>&nbsp; if ((not Assigned(MainForm)) ||&nbsp;</div><div>&nbsp; &nbsp; &nbsp; (not Assigned(TableLayout)) ||&nbsp;</div><div>&nbsp; &nbsp; &nbsp; (not Assigned(TestEdit)) ||&nbsp;</div><div>&nbsp; &nbsp; &nbsp; (not Assigned(TestEdit2)))&nbsp;</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Exit;&nbsp;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; for (i = TableLayout.ComponentCount - 1 downto 0)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; TableLayout.Components<em>.Free;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; MasaHarfi = TestEdit.Text;</div><div>&nbsp;&nbsp;</div><div>&nbsp; try</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; MasaAdeti_Int = StrToInt(TestEdit2.Text);</div><div>&nbsp;&nbsp;</div><div>&nbsp; except</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; ShowMessage('Lütfen geçerli bir masa adeti (sayı) girin.');</div><div>&nbsp; &nbsp; TestEdit2.SetFocus;</div><div>&nbsp; &nbsp; Exit;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (MasaHarfi == '')&nbsp;</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('Lütfen Masa Harfini girin.');</div><div>&nbsp; &nbsp; TestEdit.SetFocus;</div><div>&nbsp; &nbsp; Exit;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (MasaAdeti_Int &lt;= 0)&nbsp; Exit; // 0 veya negatif sayıysa çık</div><div>&nbsp;&nbsp;</div><div>&nbsp; //&nbsp; DÖNGÜ İLE YENİ MASALARI OLUŞTUR&nbsp;</div><div>&nbsp; for (k = 1 to MasaAdeti_Int)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; // A 1, A 2 şeklinde metin oluştur</div><div>&nbsp; &nbsp; Topla = MasaHarfi + ' ' + IntToStr(k);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; // ("Masa_A_1")</div><div>&nbsp; &nbsp; CellName = 'Masa_' + clGetStringReplace(Topla, ' ', '_');&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; // Masayı direkt olarak TableLayout'a ekle.</div><div>&nbsp; &nbsp; CreateTableCell(TableLayout, Topla, CellName);</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; TestEdit2.Text = '';&nbsp;</div><div>&nbsp; TestEdit.SetFocus;&nbsp;</div><div>}</div><div><br></div><div>{</div><div>&nbsp; MainForm = tclform.Create(self);</div><div>&nbsp; MainForm.clSetWindowState(fwsMaximized);</div><div>&nbsp;&nbsp;</div><div>&nbsp; TestEdit = MainForm.AddNewProEdit(MainForm, 'TestEdit', 'Masa Harfi');</div><div>&nbsp; TestEdit2 = MainForm.AddNewProEdit(MainForm, 'TestEdit2', 'Masa Numarası');</div><div>&nbsp; TestEdit.Align = alMostTop;</div><div>&nbsp; TestEdit2.Align = alTop;</div><div>&nbsp;&nbsp;</div><div>&nbsp; TestBtn = MainForm.AddNewProButton(MainForm,'TestBtn','Test');</div><div>&nbsp; TestBtn.Align = alBottom;</div><div>&nbsp; TestBtn.Height = 45;</div><div>&nbsp; TestBtn.Width = 180;</div><div>&nbsp; TestBtn.Margins.Top = 20;</div><div>&nbsp; TestBtn.Margins.Left = 10;</div><div>&nbsp; TestBtn.Margins.Right = 10;</div><div>&nbsp; TestBtn.clProSettings.BorderWidth = 1;</div><div>&nbsp; TestBtn.clProSettings.RoundHeight = 4;</div><div>&nbsp; TestBtn.clProSettings.RoundWidth = 4;</div><div>&nbsp; TestBtn.clProSettings.FontSize = 27;</div><div>&nbsp; TestBtn.clProSettings.FontVertAlign = palcenter;</div><div>&nbsp; TestBtn.clProSettings.FontHorzAlign = palcenter;</div><div>&nbsp; TestBtn.clProSettings.BorderColor = clAlphaColor.clHexToColor('#3a3a3a');</div><div>&nbsp; TestBtn.clProSettings.FontColor = clAlphaColor.clHexToColor('#e8e3e3');</div><div>&nbsp; TestBtn.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#4caf50');</div><div>&nbsp; TestBtn.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; TestBtn.SetclProSettings(TestBtn.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; MainPnlV;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; MainForm.AddNewEvent(TestBtn, tbeOnClick, 'TestBtnV');</div><div>&nbsp;&nbsp;</div><div>&nbsp; MainForm.SetFormColor('#121212','',clGNone);</div><div>&nbsp; MainForm.FormWaiting.Visible = False;</div><div>&nbsp; MainForm.BtnFormMenu.Visible = False;</div><div>&nbsp; MainForm.BtnGoBack.Visible = False;</div><div>&nbsp; MainForm.run;</div><div>}</div><br></div>]]>
   </description>
   <pubDate>Fri, 31 Oct 2025 14:19:12 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1214&amp;PID=2621#2621</guid>
  </item> 
  <item>
   <title><![CDATA[For Döngüsü İçerisinde Değişken Oluşturma : Mant&#305;k hatas&#305;ndan dolay&#305; d&#252;zeltemedim....]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1214&amp;PID=2620#2620</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=347">Eren Ö.</a><br /><strong>Konu:</strong> 1214<br /><strong>Gönderim Zamanı:</strong> 30&nbsp;Ekim&nbsp;2025 Saat 14:28<br /><br /><div><font face="Times New Roman, Times, serif" size="3"><b>Mantık hatasından dolayı düzeltemedim. Yapmaya çalıştığım olay:</b><br><b>Edit2'den gelen sayıyı alıp,</b><br><b>O sayı kadar VertScrollBar'a masa eklemek istiyorum. Bu masaları kapsayacak panelin sadece 3 tane masa almasını istiyorum. 3 tane masayı geçince yeni bir panel oluşturup altına getirmesini istiyorum. 2 tane olursa eğer masa sayısı, bir panel daha oluşturup 2'sini sola hızalayıp verilmeyen masanın yerini boş bırakmasını istiyorum.</b><br><br><div style="">var</div><div style="">MainForm: TClForm;</div><div style="">TestPnl: TclProPanel;</div><div style="">TestBtn: TClProButton;</div><div style="">TestEdit, TestEdit2: TclProEdit;</div><div style="">vScroll: TCLVertScrollBox;</div><div style=""><br></div><div style="">void SetObjectMargins(AObject,AValue){</div><div style="">&nbsp; AObject.Margins.Top = AValue;</div><div style="">&nbsp; AObject.Margins.Bottom = AValue;</div><div style="">&nbsp; AObject.Margins.Left = AValue;</div><div style="">&nbsp; AObject.Margins.Right = AValue;</div><div style="">}</div><div style=""><br></div><div style="">function IconSelect(IconUI):String</div><div style="">var</div><div style="">&nbsp; Output: String;</div><div style="">{</div><div style="">&nbsp; case IconUI of</div><div style="">&nbsp; {</div><div style="">&nbsp; &nbsp; 'ClosmosyLogo':Output = '<a href="https://resmim.net/cdn/2025/10/22/jV6v6Q.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/22/jV6v6Q.png</a>';</div><div style="">&nbsp; &nbsp; 'AdminManagementBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju0eoT.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju0eoT.png</a>';</div><div style="">&nbsp; &nbsp; 'BackArrowBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1STG.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1STG.png</a>';</div><div style="">&nbsp; &nbsp; 'HomePageBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1fIT.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1fIT.png</a>';</div><div style="">&nbsp; &nbsp; 'ItemsBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1mZL.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1mZL.png</a>';</div><div style="">&nbsp; &nbsp; 'ManagementBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1Tqh.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1Tqh.png</a>';</div><div style="">&nbsp; &nbsp; 'OrderChecklistBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1jdK.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1jdK.png</a>';</div><div style="">&nbsp; &nbsp; 'OrdersBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1CGQ.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1CGQ.png</a>';</div><div style="">&nbsp; &nbsp; 'QRBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1kI7.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1kI7.png</a>';</div><div style="">&nbsp; &nbsp; 'SaveBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1gBc.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1gBc.png</a>';</div><div style="">&nbsp; &nbsp; 'ShiftBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju18QR.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju18QR.png</a>';</div><div style="">&nbsp; &nbsp; 'ShiftsBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1Bzj.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1Bzj.png</a>';</div><div style="">&nbsp; &nbsp; 'SortBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1rXI.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1rXI.png</a>';</div><div style="">&nbsp; &nbsp; 'StocksBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju15f6.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju15f6.png</a>';</div><div style="">&nbsp; &nbsp; 'TablesBtnUI':Output = '<a href="https://resmim.net/cdn/2025/10/24/ju1RK8.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/24/ju1RK8.png</a>';</div><div style="">&nbsp; &nbsp; 'TablesIconUI':Output = '<a href="https://resmim.net/cdn/2025/10/30/jJABcF.png" target="_blank" rel="nofollow">https://resmim.net/cdn/2025/10/30/jJABcF.png</a>';</div><div style="">&nbsp; &nbsp; else{</div><div style="">&nbsp; &nbsp; &nbsp; ShowMessage('Tınne');</div><div style="">&nbsp; &nbsp; }</div><div style="">&nbsp; }</div><div style="">&nbsp; Result = Output;</div><div style="">}</div><div style=""><br></div><div style="">void TestBtnV</div><div style="">var</div><div style="">&nbsp; TestLbl: TClProLabel;</div><div style="">&nbsp; TestImage: TClProImage;</div><div style="">&nbsp; MasaHarfi, MasaAdeti, Topla: String;</div><div style="">&nbsp; I, k, TempMod: Integer;</div><div style="">&nbsp;&nbsp;</div><div style="">&nbsp; {</div><div style="">&nbsp; &nbsp; SetObjectMargins(TestEdit,6);</div><div style="">&nbsp; &nbsp; MasaHarfi = TestEdit.Text;</div><div style="">&nbsp; &nbsp; MasaAdeti = TestEdit2.Text;</div><div style="">&nbsp; &nbsp;&nbsp;</div><div style="">&nbsp; &nbsp; Topla = MasaHarfi + ' ' + MasaAdeti;</div><div style="">&nbsp; &nbsp; for (k = 1 to IntToStr(MasaAdeti))</div><div style="">&nbsp; &nbsp; {</div><div style="">&nbsp; &nbsp; TempMod = k Mod 3;</div><div style="">&nbsp; &nbsp; ShowMessage('TempMod :' + IntToStr(TempMod) + ' ' + 'K :' + IntToStr(k));</div><div style="">&nbsp; &nbsp; &nbsp; if (TempMod &lt; 3)</div><div style="">&nbsp; &nbsp; &nbsp; {</div><div style="">&nbsp; &nbsp; &nbsp; ShowMessage('1. if '+IntToStr(TempMod));</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; TestPnl = MainForm.AddNewProPanel(vScroll,'TestPnl'+IntToStr(k));</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; TestPnl.Align = alCenter;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; TestPnl.Height = (MainForm.clHeight*200)/100;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; TestPnl.Width = (MainForm.clWidth*200)/100;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; TestPnl.Margins.Top = -60;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; TestPnl.Margins.Left = -10;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; TestPnl.Margins.Right = -10;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; TestPnl.clProSettings.BorderWidth = 3;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; TestPnl.clProSettings.BorderColor = clAlphaColor.clHexToColor('#3a3a3a');</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; TestPnl.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#4caf50');</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; TestPnl.SetclProSettings(TestPnl.clProSettings);</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Panel Oluştu'+IntToStr(k));</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; for (I = 1 to 3)</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; {</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (k &gt; StrToInt(MasaAdeti)) Break;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TestLbl = MainForm.AddNewProLabel(TestPnl,'TestBtn'+IntToStr(k), Topla);</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TestLbl.Align = alCenter;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TestLbl.Width = 400;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TestLbl.Height = 600;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TestLbl.Margins.Bottom = 60;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TestLbl.clProSettings.FontSize = 35;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TestLbl.clProSettings.FontVertAlign = palcenter;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TestLbl.clProSettings.FontHorzAlign = palcenter;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TestLbl.clProSettings.FontColor = clAlphaColor.clHexToColor('#ffffff');</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TestLbl.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TestLbl.SetclProSettings(TestLbl.clProSettings);</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TestImage = MainForm.AddNewProImage(TestPnl,'TestImage'+IntToStr(k));</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TestImage.Align = alCenter;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TestImage.Height = (TestPnl.Height*40)/100;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TestImage.Width = (TestPnl.Width*40)/100;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TestImage.Margins.Top = 50;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TestImage.clProSettings.PictureSource = IconSelect('TablesIconUI');</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TestImage.clProSettings.PictureAutoFit = True;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TestImage.SetclProSettings(TestImage.clProSettings);</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Inc(k);</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div style="">&nbsp; &nbsp; &nbsp; &nbsp; }</div><div style="">&nbsp; &nbsp; &nbsp; }</div><div style="">&nbsp; &nbsp; }</div><div style="">&nbsp; }</div><div style=""><br></div><div style="">void MainPnlV</div><div style="">&nbsp; {</div><div style="">&nbsp; &nbsp;vScroll = MainForm.AddNewVertScrollBox(MainForm,'vScroll');</div><div style="">&nbsp; &nbsp;vScroll.Align = alCenter;</div><div style="">&nbsp; &nbsp;vScroll.Height = (MainForm.clHeight*45)/100;</div><div style="">&nbsp; &nbsp;vScroll.Width = (MainForm.clWidth*88)/100;</div><div style="">&nbsp; &nbsp;vScroll.Margins.Bottom=270;</div><div style="">&nbsp; }</div><div style=""><br></div><div style="">{</div><div style=""><br></div><div style=""><br></div><div style="">&nbsp; MainForm = tclform.Create(self);</div><div style="">&nbsp; MainForm.clSetWindowState(fwsMaximized);</div><div style="">&nbsp;&nbsp;</div><div style="">&nbsp; TestEdit = MainForm.AddNewProEdit(MainForm, 'TestEdit', '');</div><div style="">&nbsp; TestEdit2 = MainForm.AddNewProEdit(MainForm, 'TestEdit2', '');</div><div style="">&nbsp; TestEdit.Align = alMostTop;</div><div style="">&nbsp; TestEdit2.Align = alTop;</div><div style="">&nbsp;&nbsp;</div><div style="">&nbsp; TestBtn = MainForm.AddNewProButton(MainForm,'TestBtn','Test');</div><div style="">&nbsp; TestBtn.Align = alBottom;</div><div style="">&nbsp; TestBtn.Height = 45;</div><div style="">&nbsp; TestBtn.Width = 180;</div><div style="">&nbsp; TestBtn.Margins.Top=20;</div><div style="">&nbsp; TestBtn.Margins.Left=10;</div><div style="">&nbsp; TestBtn.Margins.Right=10;</div><div style="">&nbsp; TestBtn.clProSettings.BorderWidth = 1;</div><div style="">&nbsp; TestBtn.clProSettings.RoundHeight = 4;</div><div style="">&nbsp; TestBtn.clProSettings.RoundWidth = 4;</div><div style="">&nbsp; TestBtn.clProSettings.FontSize = 27;</div><div style="">&nbsp; TestBtn.clProSettings.FontVertAlign = palcenter;</div><div style="">&nbsp; TestBtn.clProSettings.FontHorzAlign = palcenter;</div><div style="">&nbsp; TestBtn.clProSettings.BorderColor = clAlphaColor.clHexToColor('#3a3a3a');</div><div style="">&nbsp; TestBtn.clProSettings.FontColor = clAlphaColor.clHexToColor('#e8e3e3');</div><div style="">&nbsp; TestBtn.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#4caf50');</div><div style="">&nbsp; TestBtn.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div style="">&nbsp; TestBtn.SetclProSettings(TestBtn.clProSettings);</div><div style="">&nbsp; MainForm.AddNewEvent(TestBtn,tbeOnClick,'TestBtnV');</div><div style="">&nbsp;&nbsp;</div><div style="">&nbsp; MainPnlV;</div><div style="">&nbsp; TestBtnV;</div><div style="">&nbsp;&nbsp;</div><div style="">&nbsp; MainForm.SetFormColor('#121212','',clGNone);</div><div style="">&nbsp; MainForm.FormWaiting.Visible = False;</div><div style="">&nbsp; MainForm.BtnFormMenu.Visible = False;</div><div style="">&nbsp; MainForm.BtnGoBack.Visible = False;</div><div style="">&nbsp; MainForm.run;</div><div style="">}</div></font></div>]]>
   </description>
   <pubDate>Thu, 30 Oct 2025 14:28:00 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1214&amp;PID=2620#2620</guid>
  </item> 
 </channel>
</rss>