<?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 : satir 127 Width 100 verdim ama goruntuden gelmiyor</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : satir 127 Width 100 verdim ama goruntuden gelmiyor]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 07 Jul 2026 21:05:47 +0000</pubDate>
  <lastBuildDate>Tue, 07 Jul 2026 17:58:27 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>30</ttl>
  <WebWizForums:feedURL>https://forum.clomosy.com.tr/RSS_post_feed.asp?TID=1601</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[satir 127 Width 100 verdim ama goruntuden gelmiyor : varhesapForm : TclForm;titleLabel:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1601&amp;PID=3698#3698</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=476">Barthe_dev</a><br /><strong>Konu:</strong> 1601<br /><strong>Gönderim Zamanı:</strong> 07&nbsp;Temmuz&nbsp;2026 Saat 17:58<br /><br /><div>var</div><div>hesapForm : TclForm;</div><div>titleLabel: TClProLabel;</div><div>hesapPanel : TclProPanel;</div><div>hesapSonuc: TClProLabel;</div><div>btn : TClProButton;</div><div>buttons: array&#091;0..19&#093; of string;</div><div>i, col, row: Integer;</div><div>ilkSayi: Double;</div><div>islem: String;</div><div>yeniSayiMi: Boolean;</div><div>//FONCTION POUR EFFECTUER DES CALCULS</div><div><br></div><div>void ButtonClick;</div><div>var</div><div>&nbsp; tiklananTus: String;</div><div>&nbsp; ikinciSayi, sonuc: Double;</div><div>{</div><div>&nbsp; // Hangi tuşa basıldığını alıyoruz</div><div>&nbsp; tiklananTus = TClProButton(hesapForm.ClSender).Caption; //Recupere l'elemnet present sur le boutton qu'on a appuyer</div><div>&nbsp; if (tiklananTus == '') Exit; // Boş tuşa basıldıysa hiçbir şey yapma</div><div><br></div><div>&nbsp; // 1. Temizleme Tuşu (C)</div><div>&nbsp; if (tiklananTus == 'C')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; hesapSonuc.Text = '0';</div><div>&nbsp; &nbsp; ilkSayi = 0;</div><div>&nbsp; &nbsp; islem = '';</div><div>&nbsp; &nbsp; yeniSayiMi = True;</div><div>&nbsp; }</div><div>&nbsp; // 2. Geri Silme Tuşu (&#9003;)</div><div>&nbsp; else if (tiklananTus == '&#9003;')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (Length(hesapSonuc.Text) &gt; 1)</div><div>&nbsp; &nbsp; &nbsp; hesapSonuc.Text = Copy(hesapSonuc.Text, 1, Length(hesapSonuc.Text) - 1);</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; hesapSonuc.Text = '0';</div><div>&nbsp; }</div><div>&nbsp; // 3. Eşittir Tuşu (=) - Sonucu Hesapla</div><div>&nbsp; else if (tiklananTus == '=')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (islem &lt;&gt; '')</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ikinciSayi = StrToFloat(hesapSonuc.Text);</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; if (islem == '+') sonuc = ilkSayi + ikinciSayi;</div><div>&nbsp; &nbsp; &nbsp; else if (islem == '-') sonuc = ilkSayi - ikinciSayi;</div><div>&nbsp; &nbsp; &nbsp; else if (islem == '*') sonuc = ilkSayi * ikinciSayi;</div><div>&nbsp; &nbsp; &nbsp; else if (islem == '/')</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (ikinciSayi == 0) sonuc = 0; // Sıfıra bölme hatasını engellemek için</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else sonuc = ilkSayi / ikinciSayi;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; hesapSonuc.Text = FloatToStr(sonuc);</div><div>&nbsp; &nbsp; &nbsp; islem = '';</div><div>&nbsp; &nbsp; &nbsp; yeniSayiMi = True; // İşlem bitti, yeni rakam girildiğinde ekranı temizle</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div>&nbsp; // 4. Dört İşlem Tuşları (+, -, *, /)</div><div>&nbsp; else if ((tiklananTus == '+') || (tiklananTus == '-') || (tiklananTus == '*') || (tiklananTus == '/'))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ilkSayi = StrToFloat(hesapSonuc.Text);</div><div>&nbsp; &nbsp; islem = tiklananTus;</div><div>&nbsp; &nbsp; yeniSayiMi = True;</div><div>&nbsp; }</div><div>&nbsp; // 5. Yüzde Alma İşlemi (%)</div><div>&nbsp; else if (tiklananTus == '%')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ilkSayi = StrToFloat(hesapSonuc.Text);</div><div>&nbsp; &nbsp; sonuc = ilkSayi / 100;</div><div>&nbsp; &nbsp; hesapSonuc.Text = FloatToStr(sonuc);</div><div>&nbsp; &nbsp; yeniSayiMi = True;</div><div>&nbsp; }</div><div>&nbsp; // 6. Rakamlar ve Nokta</div><div>&nbsp; else</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (yeniSayiMi || (hesapSonuc.Text == '0'))</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; hesapSonuc.Text = tiklananTus;</div><div>&nbsp; &nbsp; &nbsp; yeniSayiMi = False;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; hesapSonuc.Text = hesapSonuc.Text + tiklananTus;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div>}</div><div><br></div><div><br></div><div><br></div><div>void setLabel;</div><div>{</div><div>&nbsp; titleLabel = hesapForm.AddNewProLabel(hesapForm,'titleLabel','My First Hesap Makinesi');</div><div>&nbsp; titleLabel.Align = alTop;</div><div>&nbsp; titleLabel.Width = 150;</div><div>&nbsp; titleLabel.Height = 70;</div><div>&nbsp; titleLabel.Margins.Left=120;</div><div><br></div><div>&nbsp; titleLabel.clProSettings.FontColor = clAlphaColor.clHexToColor('#bdf4e2');</div><div>&nbsp; titleLabel.clProSettings.FontSize = 40;</div><div>&nbsp; titleLabel.clProSettings.FontVertAlign = palcenter;</div><div>&nbsp; titleLabel.clProSettings.FontHorzAlign = palLeading;</div><div>&nbsp; titleLabel.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; titleLabel.clProSettings.IsFill = True;&nbsp;</div><div>&nbsp; titleLabel.clProSettings.IsRound = True;</div><div>&nbsp; titleLabel.SetclProSettings(titleLabel.clProSettings);</div><div>}</div><div>void setPanel{</div><div>&nbsp; hesapPanel=hesapForm.AddNewProPanel(hesapForm,'hesapPanel');</div><div>&nbsp; hesapPanel.Width = 500;</div><div>&nbsp; hesapPanel.Height = 420;</div><div>&nbsp; hesapPanel.clProSettings.BorderColor = clAlphaColor.clHexToColor('#46484e');</div><div>&nbsp; hesapPanel.clProSettings.BorderWidth = 2;</div><div>&nbsp; hesapPanel.clProSettings.IsFill = True;&nbsp;</div><div>&nbsp; hesapPanel.clProSettings.IsRound = True;</div><div>&nbsp; hesapPanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#080c16')</div><div>&nbsp; hesapPanel.SetclProSettings(hesapPanel.clProSettings);</div><div>&nbsp; hesapPanel.Align = alCenter;</div><div>}</div><div><br></div><div>void setEdit</div><div>&nbsp; {</div><div>&nbsp; &nbsp; hesapSonuc = hesapForm.AddNewProLabel(hesapPanel,'hesapSonuc','0.0');</div><div>&nbsp; &nbsp; hesapSonuc.Align = alTop;</div><div>&nbsp; &nbsp; hesapSonuc.Height = 70;</div><div>&nbsp; &nbsp; hesapSonuc.Width=100;</div><div>&nbsp; &nbsp; hesapSonuc.Margins.Top = 15;</div><div>&nbsp; &nbsp; hesapSonuc.Margins.Left = 15;</div><div>&nbsp; &nbsp; hesapSonuc.Margins.Right = 15;</div><div>&nbsp; &nbsp; hesapSonuc.clProSettings.BorderColor = clAlphaColor.clHexToColor('#bdf4e2');</div><div>&nbsp; &nbsp; hesapSonuc.clProSettings.BorderWidth = 2;</div><div>&nbsp; &nbsp; hesapSonuc.clProSettings.FontColor = clAlphaColor.clHexToColor('#ffffff');</div><div>&nbsp; &nbsp; hesapSonuc.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#101d2d');</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; hesapSonuc.clProSettings.FontSize = 40;</div><div>&nbsp; &nbsp; hesapSonuc.clProSettings.FontVertAlign = palcenter;//palLeading , palCenter , palTrailing</div><div>&nbsp; &nbsp; hesapSonuc.clProSettings.FontHorzAlign = palTrailing;</div><div>&nbsp; &nbsp; hesapSonuc.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; hesapSonuc.clProSettings.IsFill = True;&nbsp;</div><div>&nbsp; &nbsp; hesapSonuc.clProSettings.IsRound = True;</div><div>&nbsp; &nbsp; hesapSonuc.SetclProSettings(hesapSonuc.clProSettings);</div><div>&nbsp;}</div><div>&nbsp;</div><div>&nbsp;void setButtons;</div><div>{</div><div>&nbsp; buttons&#091;0&#093; = 'C';&nbsp; buttons&#091;1&#093; = '%';&nbsp; buttons&#091;2&#093; = '&#9003;'; buttons&#091;3&#093; = '/';</div><div>&nbsp; buttons&#091;4&#093; = '7';&nbsp; buttons&#091;5&#093; = '8';&nbsp; buttons&#091;6&#093; = '9';&nbsp; buttons&#091;7&#093; = '*';</div><div>&nbsp; buttons&#091;8&#093; = '4';&nbsp; buttons&#091;9&#093; = '5';&nbsp; buttons&#091;10&#093; = '6'; buttons&#091;11&#093; = '-';</div><div>&nbsp; buttons&#091;12&#093; = '1'; buttons&#091;13&#093; = '2'; buttons&#091;14&#093; = '3'; buttons&#091;15&#093; = '+';</div><div>&nbsp; buttons&#091;16&#093; = '0'; buttons&#091;17&#093; = '.'; buttons&#091;18&#093; = '='; buttons&#091;19&#093; = '';</div><div>}</div><div><br></div><div>void createButtonUI;</div><div>{</div><div>&nbsp; for (i = 0 to 19)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; col = i mod 4;&nbsp;</div><div>&nbsp; &nbsp; row = i div 4;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; btn = hesapForm.AddNewProButton(hesapPanel, 'btn'+IntToStr(i), buttons<em>);</div><div>&nbsp; &nbsp; btn.Align = alNone;&nbsp;</div><div>&nbsp; &nbsp; btn.Width = 100;</div><div>&nbsp; &nbsp; btn.Height = 55;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; btn.Position.X = (col * 110) + 40;&nbsp;</div><div>&nbsp; &nbsp; btn.Position.Y = (row * 60) + 105;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; btn.clProSettings.IsRound = True;</div><div>&nbsp; &nbsp; btn.clProSettings.IsFill = True;&nbsp;</div><div>&nbsp; &nbsp; btn.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#101d2d');&nbsp;</div><div>&nbsp; &nbsp; btn.clProSettings.BorderColor = clAlphaColor.clHexToColor('#bdf4e2');</div><div>&nbsp; &nbsp; btn.clProSettings.BorderWidth = 2;</div><div>&nbsp; &nbsp; btn.clProSettings.FontColor = clAlphaColor.clHexToColor('#ffffff');&nbsp;</div><div>&nbsp; &nbsp; btn.clProSettings.FontSize = 22;</div><div>&nbsp; &nbsp; btn.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; &nbsp; btn.SetclProSettings(btn.clProSettings);</div><div><br></div><div>&nbsp; &nbsp; // YENİ EKLENEN KISIM: Tuşları ButtonClick fonksiyonuna bağlıyoruz</div><div>&nbsp; &nbsp; hesapForm.AddNewEvent(btn, tbeOnClick, 'ButtonClick');</div><div>&nbsp; }</div><div>}</div><div><br></div><div><br></div><div><br></div><div>{</div><div>&nbsp; hesapForm = TCLForm.Create(Self);</div><div>&nbsp; hesapForm.SetFormColor('#101d2d','',clGNone);</div><div>&nbsp; yeniSayiMi = True;&nbsp;</div><div>&nbsp; ilkSayi = 0;</div><div>&nbsp; islem = '';</div><div>&nbsp; setLabel;</div><div>&nbsp; setPanel;</div><div>&nbsp; setEdit;</div><div>&nbsp; setButtons;&nbsp;</div><div>&nbsp; createButtonUI;&nbsp;</div><div>&nbsp; hesapForm.Run;</div><div>}</div><div><br></div><div><br></div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496"</a> integrity="sha512-ZE9pZaUXND66v380QUtch/5sE9tPFh2zg45pR2PB0CVkCtOREv2AJKkSidISWkysEuQ0EH8faUU5du78bx87UQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Tue, 07 Jul 2026 17:58:27 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1601&amp;PID=3698#3698</guid>
  </item> 
 </channel>
</rss>