<?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 : UYGULAMA</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : UYGULAMA]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 21 Aug 2026 01:10:00 +0000</pubDate>
  <lastBuildDate>Mon, 11 May 2026 09:21:58 +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=1493</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[UYGULAMA : Merhaba BeyzaA&#351;a&#287;&#305;da ki kodu inceler...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1493&amp;PID=3468#3468</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> 1493<br /><strong>Gönderim Zamanı:</strong> 11&nbsp;Mayıs&nbsp;2026 Saat 09:21<br /><br />Merhaba Beyza&nbsp;<br><br>Aşağıda ki kodu inceler misin?<br><br><div>var</div><div>&nbsp; MainForm: TclForm;</div><div>&nbsp; MainScroll: TclVertScrollBox;</div><div>&nbsp; PnlHeader, PnlStage, PnlCodeArea: TclProPanel;</div><div>&nbsp; LblTitle, LblSubTitle: TclProLabel;</div><div>&nbsp; LblCodeHead: TclProLabel;</div><div>&nbsp; PnlMoonArea: TclLayout;</div><div>&nbsp; PnlMoon: TclProPanel;</div><div>&nbsp; LblMoonName, LblMoonInfo, LblMoonDesc: TclProLabel;</div><div>&nbsp; BtnPrev, BtnNext, BtnOrderBadge: TclProButton;</div><div>&nbsp; PnlControls: TclLayout;</div><div>&nbsp; CodeScroll: TclVertScrollBox;</div><div>&nbsp; Moon_Name, Moon_Desc, Moon_Info, Moon_Color: TClArrayString;</div><div>&nbsp; Moon_Size: TClArrayInteger;</div><div>&nbsp; EvreSira: Integer;</div><div><br></div><div>const</div><div>&nbsp; C_Bg = '#020617';</div><div>&nbsp; C_PanelBg = '#0F172A';</div><div>&nbsp; C_Border = '#1E293B';</div><div>&nbsp; C_Text = '#E2E8F0';</div><div>&nbsp; C_Highlight = '#FACC15';</div><div>&nbsp; C_CodeComment = '#64748B';</div><div>&nbsp; C_Purple = '#A855F7';</div><div>&nbsp; C_Green = '#22C55E';</div><div><br></div><div>void SetupData;</div><div>{</div><div>&nbsp; Moon_Name = TClArrayString.Create;</div><div>&nbsp; Moon_Desc = TClArrayString.Create;</div><div>&nbsp; Moon_Info = TClArrayString.Create;</div><div>&nbsp; Moon_Color = TClArrayString.Create;</div><div>&nbsp; Moon_Size = TClArrayInteger.Create;</div><div><br></div><div>&nbsp; Moon_Name.Add('Yeni Ay');</div><div>&nbsp; Moon_Desc.Add('Ay gorunmez durumdadir.');</div><div>&nbsp; Moon_Info.Add('1. Evre');</div><div>&nbsp; Moon_Color.Add('#111827');</div><div>&nbsp; Moon_Size.Add(90);</div><div><br></div><div>&nbsp; Moon_Name.Add('Hilal');</div><div>&nbsp; Moon_Desc.Add('Ayin ince parlak kismi gorunur.');</div><div>&nbsp; Moon_Info.Add('2. Evre');</div><div>&nbsp; Moon_Color.Add('#D1D5DB');</div><div>&nbsp; Moon_Size.Add(90);</div><div><br></div><div>&nbsp; Moon_Name.Add('Ilk Dordun');</div><div>&nbsp; Moon_Desc.Add('Ayin yarisi gorunur.');</div><div>&nbsp; Moon_Info.Add('3. Evre');</div><div>&nbsp; Moon_Color.Add('#E5E7EB');</div><div>&nbsp; Moon_Size.Add(100);</div><div><br></div><div>&nbsp; Moon_Name.Add('Siskin Ay');</div><div>&nbsp; Moon_Desc.Add('Dolunaya yaklasan evredir.');</div><div>&nbsp; Moon_Info.Add('4. Evre');</div><div>&nbsp; Moon_Color.Add('#F3F4F6');</div><div>&nbsp; Moon_Size.Add(110);</div><div><br></div><div>&nbsp; Moon_Name.Add('Dolunay');</div><div>&nbsp; Moon_Desc.Add('Ay tamamen parlak gorunur.');</div><div>&nbsp; Moon_Info.Add('5. Evre');</div><div>&nbsp; Moon_Color.Add('#FFFFFF');</div><div>&nbsp; Moon_Size.Add(130);</div><div><br></div><div>&nbsp; Moon_Name.Add('Kuculen Siskin Ay');</div><div>&nbsp; Moon_Desc.Add('Dolunaydan sonra kuculmeye baslar.');</div><div>&nbsp; Moon_Info.Add('6. Evre');</div><div>&nbsp; Moon_Color.Add('#E5E7EB');</div><div>&nbsp; Moon_Size.Add(110);</div><div><br></div><div>&nbsp; Moon_Name.Add('Son Dordun');</div><div>&nbsp; Moon_Desc.Add('Ayin diger yarisi gorunur.');</div><div>&nbsp; Moon_Info.Add('7. Evre');</div><div>&nbsp; Moon_Color.Add('#D1D5DB');</div><div>&nbsp; Moon_Size.Add(100);</div><div><br></div><div>&nbsp; Moon_Name.Add('Kuculen Hilal');</div><div>&nbsp; Moon_Desc.Add('Yeni aya yaklasan son evredir.');</div><div>&nbsp; Moon_Info.Add('8. Evre');</div><div>&nbsp; Moon_Color.Add('#9CA3AF');</div><div>&nbsp; Moon_Size.Add(90);</div><div><br></div><div>&nbsp; EvreSira = 1;</div><div>}</div><div><br></div><div>void RenderCodePanel;</div><div>var</div><div>&nbsp; i: Integer;</div><div>&nbsp; LinePnl: TclProPanel;</div><div>&nbsp; LblLine: TclProLabel;</div><div>&nbsp; Keyword, Condition: String;</div><div>{</div><div>&nbsp; if (MainForm.clFindComponent('CodeScroll') &lt;&gt; nil)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; TclVertScrollBox(MainForm.clFindComponent('CodeScroll')).Free;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; CodeScroll = MainForm.AddNewVertScrollBox(PnlCodeArea, 'CodeScroll');</div><div>&nbsp; CodeScroll.Align = alClient;</div><div>&nbsp; CodeScroll.Margins.Top = 10;</div><div><br></div><div>&nbsp; for i = 1 to 8</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (i == 1) Keyword = 'if'; else Keyword = 'else if';</div><div><br></div><div>&nbsp; &nbsp; LinePnl = MainForm.AddNewProPanel(CodeScroll, 'Line_'+IntToStr(i));</div><div>&nbsp; &nbsp; LinePnl.Align = alTop;</div><div>&nbsp; &nbsp; LinePnl.Height = 65;</div><div>&nbsp; &nbsp; LinePnl.Margins.Bottom = 8;</div><div>&nbsp; &nbsp; LinePnl.Margins.Left = 10;</div><div>&nbsp; &nbsp; LinePnl.Margins.Right = 10;</div><div><br></div><div>&nbsp; &nbsp; if (i == EvreSira)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; LinePnl.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#172554');</div><div>&nbsp; &nbsp; &nbsp; LinePnl.clProSettings.BorderColor = clAlphaColor.clHexToColor(C_Green);</div><div>&nbsp; &nbsp; &nbsp; LinePnl.clProSettings.BorderWidth = 1;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; LinePnl.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(C_PanelBg);</div><div>&nbsp; &nbsp; &nbsp; LinePnl.clProSettings.BorderColor = clAlphaColor.clHexToColor(C_Border);</div><div>&nbsp; &nbsp; &nbsp; LinePnl.clProSettings.BorderWidth = 1;</div><div>&nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; LinePnl.clProSettings.RoundWidth = 12;</div><div>&nbsp; &nbsp; LinePnl.clProSettings.RoundHeight = 12;</div><div>&nbsp; &nbsp; LinePnl.SetclProSettings(LinePnl.clProSettings);</div><div><br></div><div>&nbsp; &nbsp; Condition = ' (Evre == ' + IntToStr(i) + ') {';</div><div><br></div><div>&nbsp; &nbsp; LblLine = MainForm.AddNewProLabel(</div><div>&nbsp; &nbsp; &nbsp; LinePnl,</div><div>&nbsp; &nbsp; &nbsp; 'LblCode_'+IntToStr(i),</div><div>&nbsp; &nbsp; &nbsp; Keyword + Condition + #13 +</div><div>&nbsp; &nbsp; &nbsp; '&nbsp; &nbsp; Goster("' + Moon_Name.GetItem(i-1) + '");' + #13 +</div><div>&nbsp; &nbsp; &nbsp; '}'</div><div>&nbsp; &nbsp; );</div><div><br></div><div>&nbsp; &nbsp; LblLine.Align = alClient;</div><div>&nbsp; &nbsp; LblLine.Margins.Left = 15;</div><div>&nbsp; &nbsp; LblLine.clProSettings.FontSize = 11;</div><div><br></div><div>&nbsp; &nbsp; if (i == EvreSira)</div><div>&nbsp; &nbsp; &nbsp; LblLine.clProSettings.FontColor = clAlphaColor.clHexToColor(C_Green);</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; LblLine.clProSettings.FontColor = clAlphaColor.clHexToColor(C_CodeComment);</div><div><br></div><div>&nbsp; &nbsp; LblLine.SetclProSettings(LblLine.clProSettings);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void UpdateVisuals;</div><div>var</div><div>&nbsp; Idx: Integer;</div><div>&nbsp; MSize: Integer;</div><div>{</div><div>&nbsp; Idx = EvreSira - 1;</div><div>&nbsp; MSize = Moon_Size.GetItem(Idx);</div><div><br></div><div>&nbsp; PnlMoon.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(Moon_Color.GetItem(Idx));</div><div>&nbsp; PnlMoon.Width = MSize;</div><div>&nbsp; PnlMoon.Height = MSize;</div><div>&nbsp; PnlMoon.clProSettings.RoundWidth = MSize / 2;</div><div>&nbsp; PnlMoon.clProSettings.RoundHeight = MSize / 2;</div><div>&nbsp; PnlMoon.SetclProSettings(PnlMoon.clProSettings);</div><div><br></div><div>&nbsp; LblMoonName.Text = Moon_Name.GetItem(Idx);</div><div>&nbsp; LblMoonInfo.Text = Moon_Info.GetItem(Idx);</div><div>&nbsp; LblMoonDesc.Text = Moon_Desc.GetItem(Idx);</div><div><br></div><div>&nbsp; BtnOrderBadge.Text = 'Evre: ' + IntToStr(EvreSira) + ' / 8';</div><div><br></div><div>&nbsp; RenderCodePanel;</div><div><br></div><div>&nbsp; BtnPrev.Enabled = (EvreSira &gt; 1);</div><div>&nbsp; BtnNext.Enabled = (EvreSira &lt; 8);</div><div>}</div><div><br></div><div>void GoNext;</div><div>{</div><div>&nbsp; if (EvreSira &lt; 8)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EvreSira = EvreSira + 1;</div><div>&nbsp; &nbsp; UpdateVisuals;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void GoPrev;</div><div>{</div><div>&nbsp; if (EvreSira &gt; 1)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EvreSira = EvreSira - 1;</div><div>&nbsp; &nbsp; UpdateVisuals;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void SetupUI;</div><div>{</div><div>&nbsp; MainForm = TclForm.Create(Self);</div><div>&nbsp; MainForm.SetFormColor(C_Bg, C_Bg, clGCross);</div><div><br></div><div>&nbsp; MainScroll = MainForm.AddNewVertScrollBox(MainForm, 'MainScroll');</div><div>&nbsp; MainScroll.Align = alClient;</div><div><br></div><div>&nbsp; PnlHeader = MainForm.AddNewProPanel(MainScroll, 'PnlHeader');</div><div>&nbsp; PnlHeader.Align = alTop;</div><div>&nbsp; PnlHeader.Height = 80;</div><div>&nbsp; PnlHeader.clProSettings.IsTransparent = True;</div><div>&nbsp; PnlHeader.SetclProSettings(PnlHeader.clProSettings);</div><div><br></div><div>&nbsp; LblTitle = MainForm.AddNewProLabel(PnlHeader, 'LblTitle', 'Ayin Evreleri');</div><div>&nbsp; LblTitle.Align = alTop;</div><div>&nbsp; LblTitle.Height = 40;</div><div>&nbsp; LblTitle.Margins.Top = 15;</div><div>&nbsp; LblTitle.clProSettings.FontSize = 26;</div><div>&nbsp; LblTitle.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblTitle.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; LblTitle.clProSettings.FontColor = clAlphaColor.clHexToColor('#60A5FA');</div><div>&nbsp; LblTitle.SetclProSettings(LblTitle.clProSettings);</div><div><br></div><div>&nbsp; LblSubTitle = MainForm.AddNewProLabel(PnlHeader, 'LblSubTitle', 'Interaktif Astronomi Rehberi');</div><div>&nbsp; LblSubTitle.Align = alTop;</div><div>&nbsp; LblSubTitle.Height = 20;</div><div>&nbsp; LblSubTitle.clProSettings.FontSize = 11;</div><div>&nbsp; LblSubTitle.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblSubTitle.clProSettings.FontColor = clAlphaColor.clHexToColor(C_CodeComment);</div><div>&nbsp; LblSubTitle.SetclProSettings(LblSubTitle.clProSettings);</div><div><br></div><div>&nbsp; PnlStage = MainForm.AddNewProPanel(MainScroll, 'PnlStage');</div><div>&nbsp; PnlStage.Align = alTop;</div><div>&nbsp; PnlStage.Height = 320;</div><div>&nbsp; PnlStage.Margins.Top = 10;</div><div>&nbsp; PnlStage.Margins.Left = 15;</div><div>&nbsp; PnlStage.Margins.Right = 15;</div><div>&nbsp; PnlStage.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(C_PanelBg);</div><div>&nbsp; PnlStage.clProSettings.BorderColor = clAlphaColor.clHexToColor(C_Border);</div><div>&nbsp; PnlStage.clProSettings.BorderWidth = 1;</div><div>&nbsp; PnlStage.clProSettings.RoundWidth = 24;</div><div>&nbsp; PnlStage.clProSettings.RoundHeight = 24;</div><div>&nbsp; PnlStage.SetclProSettings(PnlStage.clProSettings);</div><div><br></div><div>&nbsp; PnlMoonArea = MainForm.AddNewLayout(PnlStage, 'PnlMoonArea');</div><div>&nbsp; PnlMoonArea.Align = alTop;</div><div>&nbsp; PnlMoonArea.Height = 180;</div><div><br></div><div>&nbsp; PnlMoon = MainForm.AddNewProPanel(PnlMoonArea, 'PnlMoon');</div><div>&nbsp; PnlMoon.Align = alCenter;</div><div>&nbsp; PnlMoon.Width = 100;</div><div>&nbsp; PnlMoon.Height = 100;</div><div>&nbsp; PnlMoon.clProSettings.BorderColor = clAlphaColor.clHexToColor('#334155');</div><div>&nbsp; PnlMoon.clProSettings.BorderWidth = 1;</div><div>&nbsp; PnlMoon.SetclProSettings(PnlMoon.clProSettings);</div><div><br></div><div>&nbsp; LblMoonName = MainForm.AddNewProLabel(PnlStage, 'LblMoonName', '');</div><div>&nbsp; LblMoonName.Align = alTop;</div><div>&nbsp; LblMoonName.Height = 35;</div><div>&nbsp; LblMoonName.clProSettings.FontSize = 22;</div><div>&nbsp; LblMoonName.clProSettings.FontColor = clAlphaColor.clHexToColor(C_Text);</div><div>&nbsp; LblMoonName.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblMoonName.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; LblMoonName.SetclProSettings(LblMoonName.clProSettings);</div><div><br></div><div>&nbsp; LblMoonInfo = MainForm.AddNewProLabel(PnlStage, 'LblMoonInfo', '');</div><div>&nbsp; LblMoonInfo.Align = alTop;</div><div>&nbsp; LblMoonInfo.Height = 25;</div><div>&nbsp; LblMoonInfo.clProSettings.FontSize = 12;</div><div>&nbsp; LblMoonInfo.clProSettings.FontColor = clAlphaColor.clHexToColor('#60A5FA');</div><div>&nbsp; LblMoonInfo.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblMoonInfo.SetclProSettings(LblMoonInfo.clProSettings);</div><div><br></div><div>&nbsp; LblMoonDesc = MainForm.AddNewProLabel(PnlStage, 'LblMoonDesc', '');</div><div>&nbsp; LblMoonDesc.Align = alClient;</div><div>&nbsp; LblMoonDesc.Margins.Left = 25;</div><div>&nbsp; LblMoonDesc.Margins.Right = 25;</div><div>&nbsp; LblMoonDesc.clProSettings.FontSize = 13;</div><div>&nbsp; LblMoonDesc.clProSettings.FontColor = clAlphaColor.clHexToColor(C_CodeComment);</div><div>&nbsp; LblMoonDesc.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblMoonDesc.clProSettings.FontVertAlign = palCenter;</div><div>&nbsp; LblMoonDesc.clProSettings.TextSettings.WordWrap = True;</div><div>&nbsp; LblMoonDesc.SetclProSettings(LblMoonDesc.clProSettings);</div><div><br></div><div>&nbsp; PnlControls = MainForm.AddNewLayout(MainScroll, 'PnlControls');</div><div>&nbsp; PnlControls.Align = alTop;</div><div>&nbsp; PnlControls.Height = 70;</div><div>&nbsp; PnlControls.Margins.Left = 15;</div><div>&nbsp; PnlControls.Margins.Right = 15;</div><div>&nbsp; PnlControls.Margins.Top = 10;</div><div><br></div><div>&nbsp; BtnPrev = MainForm.AddNewProButton(PnlControls, 'BtnPrev', 'PREV');</div><div>&nbsp; BtnPrev.Align = alLeft;</div><div>&nbsp; BtnPrev.Width = 80;</div><div>&nbsp; BtnPrev.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#1E293B');</div><div>&nbsp; BtnPrev.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; BtnPrev.clProSettings.RoundWidth = 10;</div><div>&nbsp; BtnPrev.clProSettings.RoundHeight = 10;</div><div>&nbsp; BtnPrev.SetclProSettings(BtnPrev.clProSettings);</div><div>&nbsp; MainForm.AddNewEvent(BtnPrev, tbeOnClick, 'GoPrev');</div><div><br></div><div>&nbsp; BtnNext = MainForm.AddNewProButton(PnlControls, 'BtnNext', 'NEXT');</div><div>&nbsp; BtnNext.Align = alRight;</div><div>&nbsp; BtnNext.Width = 80;</div><div>&nbsp; BtnNext.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#1E293B');</div><div>&nbsp; BtnNext.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; BtnNext.clProSettings.RoundWidth = 10;</div><div>&nbsp; BtnNext.clProSettings.RoundHeight = 10;</div><div>&nbsp; BtnNext.SetclProSettings(BtnNext.clProSettings);</div><div>&nbsp; MainForm.AddNewEvent(BtnNext, tbeOnClick, 'GoNext');</div><div><br></div><div>&nbsp; BtnOrderBadge = MainForm.AddNewProButton(PnlControls, 'BtnOrderBadge', 'Evre: 1');</div><div>&nbsp; BtnOrderBadge.Align = alClient;</div><div>&nbsp; BtnOrderBadge.Margins.Left = 10;</div><div>&nbsp; BtnOrderBadge.Margins.Right = 10;</div><div>&nbsp; BtnOrderBadge.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#334155');</div><div>&nbsp; BtnOrderBadge.clProSettings.FontColor = clAlphaColor.clHexToColor(C_Highlight);</div><div>&nbsp; BtnOrderBadge.clProSettings.RoundWidth = 10;</div><div>&nbsp; BtnOrderBadge.clProSettings.RoundHeight = 10;</div><div>&nbsp; BtnOrderBadge.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; BtnOrderBadge.SetclProSettings(BtnOrderBadge.clProSettings);</div><div><br></div><div>&nbsp; PnlCodeArea = MainForm.AddNewProPanel(MainScroll, 'PnlCodeArea');</div><div>&nbsp; PnlCodeArea.Align = alTop;</div><div>&nbsp; PnlCodeArea.Height = 280;</div><div>&nbsp; PnlCodeArea.Margins.Top = 15;</div><div>&nbsp; PnlCodeArea.Margins.Left = 15;</div><div>&nbsp; PnlCodeArea.Margins.Right = 15;</div><div>&nbsp; PnlCodeArea.Margins.Bottom = 20;</div><div>&nbsp; PnlCodeArea.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#020617');</div><div>&nbsp; PnlCodeArea.clProSettings.BorderColor = clAlphaColor.clHexToColor(C_Border);</div><div>&nbsp; PnlCodeArea.clProSettings.BorderWidth = 1;</div><div>&nbsp; PnlCodeArea.clProSettings.RoundWidth = 20;</div><div>&nbsp; PnlCodeArea.clProSettings.RoundHeight = 20;</div><div>&nbsp; PnlCodeArea.SetclProSettings(PnlCodeArea.clProSettings);</div><div><br></div><div>&nbsp; LblCodeHead = MainForm.AddNewProLabel(PnlCodeArea, 'LblCodeHead', '&nbsp; &lt;/&gt; AyEvreleri.js');</div><div>&nbsp; LblCodeHead.Align = alTop;</div><div>&nbsp; LblCodeHead.Height = 35;</div><div>&nbsp; LblCodeHead.clProSettings.FontColor = clAlphaColor.clHexToColor(C_Purple);</div><div>&nbsp; LblCodeHead.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; LblCodeHead.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#1E293B');</div><div>&nbsp; LblCodeHead.clProSettings.FontVertAlign = palCenter;</div><div>&nbsp; LblCodeHead.SetclProSettings(LblCodeHead.clProSettings);</div><div><br></div><div>&nbsp; UpdateVisuals;</div><div>&nbsp; MainForm.Run;</div><div>}</div><div><br></div><div>{</div><div>&nbsp; SetupData;</div><div>&nbsp; SetupUI;</div><div>}</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516"</a> integrity="sha512-8DS7rgIrAmghBFwoOTujcf6D9rXvH8xm8JQ1Ja01h9QX8EzXldiszufYa4IFfKdLUKTTrnSFXLDkUEOTrZQ8Qg==" 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>Mon, 11 May 2026 09:21:58 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1493&amp;PID=3468#3468</guid>
  </item> 
  <item>
   <title><![CDATA[UYGULAMA : var MainForm: TclForm; MainScroll:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1493&amp;PID=3463#3463</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=448">beyza</a><br /><strong>Konu:</strong> 1493<br /><strong>Gönderim Zamanı:</strong> 11&nbsp;Mayıs&nbsp;2026 Saat 00:51<br /><br /><div style=": rgb251, 251, 253;">var</div><div style=": rgb251, 251, 253;">&nbsp; MainForm: TclForm;</div><div style=": rgb251, 251, 253;">&nbsp; MainScroll: TclVertScrollBox;</div><div style=": rgb251, 251, 253;">&nbsp;&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; PnlHeader, PnlStage, PnlCodeArea: TclProPanel;</div><div style=": rgb251, 251, 253;">&nbsp; LblTitle, LblSubTitle: TclProLabel;</div><div style=": rgb251, 251, 253;">&nbsp; LblCodeHead: TclProLabel;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlMoonArea: TclLayout;</div><div style=": rgb251, 251, 253;">&nbsp; PnlMoon: TclProPanel;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblMoonName, LblMoonInfo, LblMoonDesc: TclProLabel;</div><div style=": rgb251, 251, 253;">&nbsp; BtnPrev, BtnNext, BtnOrderBadge: TclProButton;</div><div style=": rgb251, 251, 253;">&nbsp; PnlControls: TclLayout;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; CodeScroll: TclVertScrollBox;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; Moon_Name, Moon_Desc, Moon_Info, Moon_Color: TClArrayString;</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Size: TClArrayInteger;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; EvreSira: Integer;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">const</div><div style=": rgb251, 251, 253;">&nbsp; C_Bg = '#020617';</div><div style=": rgb251, 251, 253;">&nbsp; C_PanelBg = '#0F172A';</div><div style=": rgb251, 251, 253;">&nbsp; C_Border = '#1E293B';</div><div style=": rgb251, 251, 253;">&nbsp; C_Text = '#E2E8F0';</div><div style=": rgb251, 251, 253;">&nbsp; C_Highlight = '#FACC15';</div><div style=": rgb251, 251, 253;">&nbsp; C_CodeComment = '#64748B';</div><div style=": rgb251, 251, 253;">&nbsp; C_Purple = '#A855F7';</div><div style=": rgb251, 251, 253;">&nbsp; C_Green = '#22C55E';</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">void SetupData;</div><div style=": rgb251, 251, 253;">{</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Name = TClArrayString.Create;</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Desc = TClArrayString.Create;</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Info = TClArrayString.Create;</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Color = TClArrayString.Create;</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Size = TClArrayInteger.Create;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; Moon_Name.Add('Yeni Ay');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Desc.Add('Ay gorunmez durumdadir.');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Info.Add('1. Evre');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Color.Add('#111827');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Size.Add(90);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; Moon_Name.Add('Hilal');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Desc.Add('Ayin ince parlak kismi gorunur.');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Info.Add('2. Evre');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Color.Add('#D1D5DB');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Size.Add(90);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; Moon_Name.Add('Ilk Dordun');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Desc.Add('Ayin yarisi gorunur.');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Info.Add('3. Evre');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Color.Add('#E5E7EB');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Size.Add(100);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; Moon_Name.Add('Siskin Ay');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Desc.Add('Dolunaya yaklasan evredir.');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Info.Add('4. Evre');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Color.Add('#F3F4F6');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Size.Add(110);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; Moon_Name.Add('Dolunay');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Desc.Add('Ay tamamen parlak gorunur.');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Info.Add('5. Evre');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Color.Add('#FFFFFF');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Size.Add(130);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; Moon_Name.Add('Kuculen Siskin Ay');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Desc.Add('Dolunaydan sonra kuculmeye baslar.');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Info.Add('6. Evre');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Color.Add('#E5E7EB');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Size.Add(110);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; Moon_Name.Add('Son Dordun');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Desc.Add('Ayin diger yarisi gorunur.');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Info.Add('7. Evre');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Color.Add('#D1D5DB');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Size.Add(100);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; Moon_Name.Add('Kuculen Hilal');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Desc.Add('Yeni aya yaklasan son evredir.');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Info.Add('8. Evre');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Color.Add('#9CA3AF');</div><div style=": rgb251, 251, 253;">&nbsp; Moon_Size.Add(90);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; EvreSira = 1;</div><div style=": rgb251, 251, 253;">}</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">void RenderCodePanel;</div><div style=": rgb251, 251, 253;">var</div><div style=": rgb251, 251, 253;">&nbsp; i: Integer;</div><div style=": rgb251, 251, 253;">&nbsp; LinePnl: TclProPanel;</div><div style=": rgb251, 251, 253;">&nbsp; LblLine: TclProLabel;</div><div style=": rgb251, 251, 253;">&nbsp; Keyword, Condition: String;</div><div style=": rgb251, 251, 253;">{</div><div style=": rgb251, 251, 253;">&nbsp; if (MainForm.clFindComponent('CodeScroll') &lt;&gt; nil)</div><div style=": rgb251, 251, 253;">&nbsp; {</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; TclVertScrollBox(MainForm.clFindComponent('CodeScroll')).Free;</div><div style=": rgb251, 251, 253;">&nbsp; }</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; CodeScroll = MainForm.AddNewVertScrollBox(PnlCodeArea, 'CodeScroll');</div><div style=": rgb251, 251, 253;">&nbsp; CodeScroll.Align = alClient;</div><div style=": rgb251, 251, 253;">&nbsp; CodeScroll.Margins.Top = 10;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; for i = 1 to 8</div><div style=": rgb251, 251, 253;">&nbsp; {</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; if (i == 1) Keyword = 'if'; else Keyword = 'else if';</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; LinePnl = MainForm.AddNewProPanel(CodeScroll, 'Line_'+IntToStr(i));</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; LinePnl.Align = alTop;</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; LinePnl.Height = 55;</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; LinePnl.Margins.Bottom = 5;</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; LinePnl.Margins.Left = 5;</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; LinePnl.Margins.Right = 5;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; if (i == EvreSira)</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; {</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; LinePnl.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#172554');</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; LinePnl.clProSettings.BorderColor = clAlphaColor.clHexToColor(C_Green);</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; LinePnl.clProSettings.BorderWidth = 1;</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; }</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; else</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; {</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; LinePnl.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(C_PanelBg);</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; LinePnl.clProSettings.BorderColor = clAlphaColor.clHexToColor(C_PanelBg);</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; }</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; LinePnl.clProSettings.RoundWidth = 10;</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; LinePnl.clProSettings.RoundHeight = 10;</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; LinePnl.SetclProSettings(LinePnl.clProSettings);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; Condition = ' (Evre == ' + IntToStr(i) + ') {';</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; LblLine = MainForm.AddNewProLabel(</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; LinePnl,</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; 'LblCode_'+IntToStr(i),</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; Keyword + Condition + #13#10 +</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; '&nbsp; &nbsp;Goster("' + Moon_Name.GetItem(i-1) + '");' + #13#10 +</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; '}'</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; );</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; LblLine.Align = alClient;</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; LblLine.Margins.Left = 10;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; LblLine.clProSettings.FontName = 'Consolas';</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; LblLine.clProSettings.FontSize = 12;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; if (i == EvreSira)</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; LblLine.clProSettings.FontColor = clAlphaColor.clHexToColor('#22C55E');</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; else</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; LblLine.clProSettings.FontColor = clAlphaColor.clHexToColor('#64748B');</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; LblLine.SetclProSettings(LblLine.clProSettings);</div><div style=": rgb251, 251, 253;">&nbsp; }</div><div style=": rgb251, 251, 253;">}</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">void UpdateVisuals;</div><div style=": rgb251, 251, 253;">var</div><div style=": rgb251, 251, 253;">&nbsp; Idx: Integer;</div><div style=": rgb251, 251, 253;">&nbsp; MSize: Integer;</div><div style=": rgb251, 251, 253;">{</div><div style=": rgb251, 251, 253;">&nbsp; Idx = EvreSira - 1;</div><div style=": rgb251, 251, 253;">&nbsp; MSize = Moon_Size.GetItem(Idx);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlMoon.clProSettings.BackgroundColor =</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; clAlphaColor.clHexToColor(Moon_Color.GetItem(Idx));</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlMoon.Width = MSize;</div><div style=": rgb251, 251, 253;">&nbsp; PnlMoon.Height = MSize;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlMoon.clProSettings.RoundWidth = MSize / 2;</div><div style=": rgb251, 251, 253;">&nbsp; PnlMoon.clProSettings.RoundHeight = MSize / 2;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlMoon.SetclProSettings(PnlMoon.clProSettings);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblMoonName.Text = Moon_Name.GetItem(Idx);</div><div style=": rgb251, 251, 253;">&nbsp; LblMoonInfo.Text = Moon_Info.GetItem(Idx);</div><div style=": rgb251, 251, 253;">&nbsp; LblMoonDesc.Text = Moon_Desc.GetItem(Idx);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; BtnOrderBadge.Text = 'Evre: ' + IntToStr(EvreSira);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; RenderCodePanel;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; if (EvreSira == 1) BtnPrev.Enabled = False;</div><div style=": rgb251, 251, 253;">&nbsp; else BtnPrev.Enabled = True;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; if (EvreSira == 8) BtnNext.Enabled = False;</div><div style=": rgb251, 251, 253;">&nbsp; else BtnNext.Enabled = True;</div><div style=": rgb251, 251, 253;">}</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">void GoNext;</div><div style=": rgb251, 251, 253;">{</div><div style=": rgb251, 251, 253;">&nbsp; if (EvreSira &lt; 8)</div><div style=": rgb251, 251, 253;">&nbsp; {</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; EvreSira = EvreSira + 1;</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; UpdateVisuals;</div><div style=": rgb251, 251, 253;">&nbsp; }</div><div style=": rgb251, 251, 253;">}</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">void GoPrev;</div><div style=": rgb251, 251, 253;">{</div><div style=": rgb251, 251, 253;">&nbsp; if (EvreSira &gt; 1)</div><div style=": rgb251, 251, 253;">&nbsp; {</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; EvreSira = EvreSira - 1;</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; UpdateVisuals;</div><div style=": rgb251, 251, 253;">&nbsp; }</div><div style=": rgb251, 251, 253;">}</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">void SetupUI;</div><div style=": rgb251, 251, 253;">{</div><div style=": rgb251, 251, 253;">&nbsp; MainForm = TclForm.Create(Self);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; MainForm.SetFormColor(C_Bg, C_Bg, clGCross);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; MainScroll = MainForm.AddNewVertScrollBox(MainForm, 'MainScroll');</div><div style=": rgb251, 251, 253;">&nbsp; MainScroll.Align = alClient;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlHeader = MainForm.AddNewProPanel(MainScroll, 'PnlHeader');</div><div style=": rgb251, 251, 253;">&nbsp; PnlHeader.Align = alTop;</div><div style=": rgb251, 251, 253;">&nbsp; PnlHeader.Height = 100;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlHeader.clProSettings.IsTransparent = True;</div><div style=": rgb251, 251, 253;">&nbsp; PnlHeader.SetclProSettings(PnlHeader.clProSettings);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblTitle = MainForm.AddNewProLabel(</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; PnlHeader,</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; 'LblTitle',</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; 'Ayin Evreleri'</div><div style=": rgb251, 251, 253;">&nbsp; );</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblTitle.Align = alTop;</div><div style=": rgb251, 251, 253;">&nbsp; LblTitle.Height = 40;</div><div style=": rgb251, 251, 253;">&nbsp; LblTitle.Margins.Top = 20;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblTitle.clProSettings.FontSize = 24;</div><div style=": rgb251, 251, 253;">&nbsp; LblTitle.clProSettings.FontHorzAlign = palCenter;</div><div style=": rgb251, 251, 253;">&nbsp; LblTitle.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div style=": rgb251, 251, 253;">&nbsp; LblTitle.clProSettings.FontColor =</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; clAlphaColor.clHexToColor('#60A5FA');</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblTitle.SetclProSettings(LblTitle.clProSettings);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblSubTitle = MainForm.AddNewProLabel(</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; PnlHeader,</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; 'LblSubTitle',</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; 'Ayin Evrelerini Kesfet'</div><div style=": rgb251, 251, 253;">&nbsp; );</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblSubTitle.Align = alTop;</div><div style=": rgb251, 251, 253;">&nbsp; LblSubTitle.Height = 20;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblSubTitle.clProSettings.FontSize = 12;</div><div style=": rgb251, 251, 253;">&nbsp; LblSubTitle.clProSettings.FontHorzAlign = palCenter;</div><div style=": rgb251, 251, 253;">&nbsp; LblSubTitle.clProSettings.FontColor =</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; clAlphaColor.clHexToColor(C_CodeComment);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblSubTitle.SetclProSettings(LblSubTitle.clProSettings);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlStage = MainForm.AddNewProPanel(MainScroll, 'PnlStage');</div><div style=": rgb251, 251, 253;">&nbsp; PnlStage.Align = alTop;</div><div style=": rgb251, 251, 253;">&nbsp; PnlStage.Height = 350;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlStage.Margins.Top = 10;</div><div style=": rgb251, 251, 253;">&nbsp; PnlStage.Margins.Left = 10;</div><div style=": rgb251, 251, 253;">&nbsp; PnlStage.Margins.Right = 10;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlStage.clProSettings.BackgroundColor =</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; clAlphaColor.clHexToColor(C_PanelBg);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlStage.clProSettings.BorderColor =</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; clAlphaColor.clHexToColor(C_Border);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlStage.clProSettings.BorderWidth = 1;</div><div style=": rgb251, 251, 253;">&nbsp; PnlStage.clProSettings.RoundWidth = 20;</div><div style=": rgb251, 251, 253;">&nbsp; PnlStage.clProSettings.RoundHeight = 20;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlStage.SetclProSettings(PnlStage.clProSettings);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlMoonArea = MainForm.AddNewLayout(PnlStage, 'PnlMoonArea');</div><div style=": rgb251, 251, 253;">&nbsp; PnlMoonArea.Align = alTop;</div><div style=": rgb251, 251, 253;">&nbsp; PnlMoonArea.Height = 200;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlMoon = MainForm.AddNewProPanel(PnlMoonArea, 'PnlMoon');</div><div style=": rgb251, 251, 253;">&nbsp; PnlMoon.Align = alCenter;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlMoon.Width = 100;</div><div style=": rgb251, 251, 253;">&nbsp; PnlMoon.Height = 100;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlMoon.SetclProSettings(PnlMoon.clProSettings);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblMoonName = MainForm.AddNewProLabel(PnlStage, 'LblMoonName', '');</div><div style=": rgb251, 251, 253;">&nbsp; LblMoonName.Align = alTop;</div><div style=": rgb251, 251, 253;">&nbsp; LblMoonName.Height = 30;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblMoonName.clProSettings.FontSize = 22;</div><div style=": rgb251, 251, 253;">&nbsp; LblMoonName.clProSettings.FontColor =</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; clAlphaColor.clHexToColor(C_Text);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblMoonName.clProSettings.FontHorzAlign = palCenter;</div><div style=": rgb251, 251, 253;">&nbsp; LblMoonName.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblMoonName.SetclProSettings(LblMoonName.clProSettings);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblMoonInfo = MainForm.AddNewProLabel(PnlStage, 'LblMoonInfo', '');</div><div style=": rgb251, 251, 253;">&nbsp; LblMoonInfo.Align = alTop;</div><div style=": rgb251, 251, 253;">&nbsp; LblMoonInfo.Height = 20;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblMoonInfo.clProSettings.FontSize = 12;</div><div style=": rgb251, 251, 253;">&nbsp; LblMoonInfo.clProSettings.FontColor =</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; clAlphaColor.clHexToColor('#60A5FA');</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblMoonInfo.clProSettings.FontHorzAlign = palCenter;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblMoonInfo.SetclProSettings(LblMoonInfo.clProSettings);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblMoonDesc = MainForm.AddNewProLabel(PnlStage, 'LblMoonDesc', '');</div><div style=": rgb251, 251, 253;">&nbsp; LblMoonDesc.Align = alClient;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblMoonDesc.Margins.Left = 20;</div><div style=": rgb251, 251, 253;">&nbsp; LblMoonDesc.Margins.Right = 20;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblMoonDesc.clProSettings.FontSize = 13;</div><div style=": rgb251, 251, 253;">&nbsp; LblMoonDesc.clProSettings.FontColor =</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; clAlphaColor.clHexToColor(C_CodeComment);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblMoonDesc.clProSettings.FontHorzAlign = palCenter;</div><div style=": rgb251, 251, 253;">&nbsp; LblMoonDesc.clProSettings.FontVertAlign = palCenter;</div><div style=": rgb251, 251, 253;">&nbsp; LblMoonDesc.clProSettings.TextSettings.WordWrap = True;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblMoonDesc.SetclProSettings(LblMoonDesc.clProSettings);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlControls = MainForm.AddNewLayout(MainScroll, 'PnlControls');</div><div style=": rgb251, 251, 253;">&nbsp; PnlControls.Align = alTop;</div><div style=": rgb251, 251, 253;">&nbsp; PnlControls.Height = 60;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; BtnPrev = MainForm.AddNewProButton(PnlControls, 'BtnPrev', '&#9664;');</div><div style=": rgb251, 251, 253;">&nbsp; BtnPrev.Align = alLeft;</div><div style=": rgb251, 251, 253;">&nbsp; BtnPrev.Width = 60;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; MainForm.AddNewEvent(BtnPrev, tbeOnClick, 'GoPrev');</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; BtnNext = MainForm.AddNewProButton(PnlControls, 'BtnNext', '&#9654;');</div><div style=": rgb251, 251, 253;">&nbsp; BtnNext.Align = alRight;</div><div style=": rgb251, 251, 253;">&nbsp; BtnNext.Width = 60;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; MainForm.AddNewEvent(BtnNext, tbeOnClick, 'GoNext');</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; BtnOrderBadge = MainForm.AddNewProButton(</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; PnlControls,</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; 'BtnOrderBadge',</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; 'Evre: 1'</div><div style=": rgb251, 251, 253;">&nbsp; );</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; BtnOrderBadge.Align = alClient;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlCodeArea = MainForm.AddNewProPanel(MainScroll, 'PnlCodeArea');</div><div style=": rgb251, 251, 253;">&nbsp; PnlCodeArea.Align = alTop;</div><div style=": rgb251, 251, 253;">&nbsp; PnlCodeArea.Height = 250;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlCodeArea.Margins.Top = 10;</div><div style=": rgb251, 251, 253;">&nbsp; PnlCodeArea.Margins.Left = 10;</div><div style=": rgb251, 251, 253;">&nbsp; PnlCodeArea.Margins.Right = 10;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlCodeArea.clProSettings.BackgroundColor =</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; clAlphaColor.clHexToColor(C_PanelBg);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlCodeArea.clProSettings.BorderColor =</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; clAlphaColor.clHexToColor(C_Border);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlCodeArea.clProSettings.BorderWidth = 1;</div><div style=": rgb251, 251, 253;">&nbsp; PnlCodeArea.clProSettings.RoundWidth = 20;</div><div style=": rgb251, 251, 253;">&nbsp; PnlCodeArea.clProSettings.RoundHeight = 20;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; PnlCodeArea.SetclProSettings(PnlCodeArea.clProSettings);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblCodeHead = MainForm.AddNewProLabel(</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; PnlCodeArea,</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; 'LblCodeHead',</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; '&lt;/&gt; AyEvreleri.js'</div><div style=": rgb251, 251, 253;">&nbsp; );</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblCodeHead.Align = alTop;</div><div style=": rgb251, 251, 253;">&nbsp; LblCodeHead.Height = 30;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblCodeHead.clProSettings.FontColor =</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; clAlphaColor.clHexToColor(C_Purple);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblCodeHead.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; LblCodeHead.SetclProSettings(LblCodeHead.clProSettings);</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; UpdateVisuals;</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">&nbsp; MainForm.Run;</div><div style=": rgb251, 251, 253;">}</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">{</div><div style=": rgb251, 251, 253;">&nbsp; SetupData;</div><div style=": rgb251, 251, 253;">&nbsp; SetupUI;</div><div style=": rgb251, 251, 253;">}</div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">Hocam kod bu şekilde.</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516"</a> integrity="sha512-8DS7rgIrAmghBFwoOTujcf6D9rXvH8xm8JQ1Ja01h9QX8EzXldiszufYa4IFfKdLUKTTrnSFXLDkUEOTrZQ8Qg==" 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>Mon, 11 May 2026 00:51:03 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1493&amp;PID=3463#3463</guid>
  </item> 
  <item>
   <title><![CDATA[UYGULAMA : var MainForm: TclForm; MainScroll:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1493&amp;PID=3438#3438</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=448">beyza</a><br /><strong>Konu:</strong> 1493<br /><strong>Gönderim Zamanı:</strong> 09&nbsp;Mayıs&nbsp;2026 Saat 12:18<br /><br /><div>var</div><div>&nbsp; MainForm: TclForm;</div><div>&nbsp; MainScroll: TclVertScrollBox;</div><div>&nbsp;&nbsp;</div><div>&nbsp; PnlHeader, PnlStage, PnlCodeArea: TclProPanel;</div><div>&nbsp; LblTitle, LblSubTitle: TclProLabel;</div><div>&nbsp; LblCodeHead: TclProLabel;</div><div><br></div><div>&nbsp; PnlMoonArea: TclLayout;</div><div>&nbsp; PnlMoon: TclProPanel;</div><div><br></div><div>&nbsp; LblMoonName, LblMoonInfo, LblMoonDesc: TclProLabel;</div><div>&nbsp; BtnPrev, BtnNext, BtnOrderBadge: TclProButton;</div><div>&nbsp; PnlControls: TclLayout;</div><div><br></div><div>&nbsp; CodeScroll: TclVertScrollBox;</div><div><br></div><div>&nbsp; Moon_Name, Moon_Desc, Moon_Info, Moon_Color: TClArrayString;</div><div>&nbsp; Moon_Size: TClArrayInteger;</div><div><br></div><div>&nbsp; EvreSira: Integer;</div><div><br></div><div>const</div><div>&nbsp; C_Bg = '#020617';</div><div>&nbsp; C_PanelBg = '#0F172A';</div><div>&nbsp; C_Border = '#1E293B';</div><div>&nbsp; C_Text = '#E2E8F0';</div><div>&nbsp; C_Highlight = '#FACC15';</div><div>&nbsp; C_CodeComment = '#64748B';</div><div>&nbsp; C_Purple = '#A855F7';</div><div>&nbsp; C_Green = '#22C55E';</div><div><br></div><div>void SetupData;</div><div>{</div><div>&nbsp; Moon_Name = TClArrayString.Create;</div><div>&nbsp; Moon_Desc = TClArrayString.Create;</div><div>&nbsp; Moon_Info = TClArrayString.Create;</div><div>&nbsp; Moon_Color = TClArrayString.Create;</div><div>&nbsp; Moon_Size = TClArrayInteger.Create;</div><div><br></div><div>&nbsp; Moon_Name.Add('Yeni Ay');</div><div>&nbsp; Moon_Desc.Add('Ay gorunmez durumdadir.');</div><div>&nbsp; Moon_Info.Add('1. Evre');</div><div>&nbsp; Moon_Color.Add('#111827');</div><div>&nbsp; Moon_Size.Add(90);</div><div><br></div><div>&nbsp; Moon_Name.Add('Hilal');</div><div>&nbsp; Moon_Desc.Add('Ayin ince parlak kismi gorunur.');</div><div>&nbsp; Moon_Info.Add('2. Evre');</div><div>&nbsp; Moon_Color.Add('#D1D5DB');</div><div>&nbsp; Moon_Size.Add(90);</div><div><br></div><div>&nbsp; Moon_Name.Add('Ilk Dordun');</div><div>&nbsp; Moon_Desc.Add('Ayin yarisi gorunur.');</div><div>&nbsp; Moon_Info.Add('3. Evre');</div><div>&nbsp; Moon_Color.Add('#E5E7EB');</div><div>&nbsp; Moon_Size.Add(100);</div><div><br></div><div>&nbsp; Moon_Name.Add('Siskin Ay');</div><div>&nbsp; Moon_Desc.Add('Dolunaya yaklasan evredir.');</div><div>&nbsp; Moon_Info.Add('4. Evre');</div><div>&nbsp; Moon_Color.Add('#F3F4F6');</div><div>&nbsp; Moon_Size.Add(110);</div><div><br></div><div>&nbsp; Moon_Name.Add('Dolunay');</div><div>&nbsp; Moon_Desc.Add('Ay tamamen parlak gorunur.');</div><div>&nbsp; Moon_Info.Add('5. Evre');</div><div>&nbsp; Moon_Color.Add('#FFFFFF');</div><div>&nbsp; Moon_Size.Add(130);</div><div><br></div><div>&nbsp; Moon_Name.Add('Kuculen Siskin Ay');</div><div>&nbsp; Moon_Desc.Add('Dolunaydan sonra kuculmeye baslar.');</div><div>&nbsp; Moon_Info.Add('6. Evre');</div><div>&nbsp; Moon_Color.Add('#E5E7EB');</div><div>&nbsp; Moon_Size.Add(110);</div><div><br></div><div>&nbsp; Moon_Name.Add('Son Dordun');</div><div>&nbsp; Moon_Desc.Add('Ayin diger yarisi gorunur.');</div><div>&nbsp; Moon_Info.Add('7. Evre');</div><div>&nbsp; Moon_Color.Add('#D1D5DB');</div><div>&nbsp; Moon_Size.Add(100);</div><div><br></div><div>&nbsp; Moon_Name.Add('Kuculen Hilal');</div><div>&nbsp; Moon_Desc.Add('Yeni aya yaklasan son evredir.');</div><div>&nbsp; Moon_Info.Add('8. Evre');</div><div>&nbsp; Moon_Color.Add('#9CA3AF');</div><div>&nbsp; Moon_Size.Add(90);</div><div><br></div><div>&nbsp; EvreSira = 1;</div><div>}</div><div><br></div><div>void RenderCodePanel;</div><div>var</div><div>&nbsp; i: Integer;</div><div>&nbsp; LinePnl: TclProPanel;</div><div>&nbsp; LblLine: TclProLabel;</div><div>&nbsp; Keyword, Condition: String;</div><div>{</div><div>&nbsp; if (MainForm.clFindComponent('CodeScroll') &lt;&gt; nil)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; TclVertScrollBox(MainForm.clFindComponent('CodeScroll')).Free;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; CodeScroll = MainForm.AddNewVertScrollBox(PnlCodeArea, 'CodeScroll');</div><div>&nbsp; CodeScroll.Align = alClient;</div><div>&nbsp; CodeScroll.Margins.Top = 10;</div><div><br></div><div>&nbsp; for i = 1 to 8</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (i == 1) Keyword = 'if'; else Keyword = 'else if';</div><div><br></div><div>&nbsp; &nbsp; LinePnl = MainForm.AddNewProPanel(CodeScroll, 'Line_'+IntToStr(i));</div><div>&nbsp; &nbsp; LinePnl.Align = alTop;</div><div>&nbsp; &nbsp; LinePnl.Height = 55;</div><div>&nbsp; &nbsp; LinePnl.Margins.Bottom = 5;</div><div>&nbsp; &nbsp; LinePnl.Margins.Left = 5;</div><div>&nbsp; &nbsp; LinePnl.Margins.Right = 5;</div><div><br></div><div>&nbsp; &nbsp; if (i == EvreSira)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; LinePnl.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#172554');</div><div>&nbsp; &nbsp; &nbsp; LinePnl.clProSettings.BorderColor = clAlphaColor.clHexToColor(C_Green);</div><div>&nbsp; &nbsp; &nbsp; LinePnl.clProSettings.BorderWidth = 1;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; LinePnl.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(C_PanelBg);</div><div>&nbsp; &nbsp; &nbsp; LinePnl.clProSettings.BorderColor = clAlphaColor.clHexToColor(C_PanelBg);</div><div>&nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; LinePnl.clProSettings.RoundWidth = 10;</div><div>&nbsp; &nbsp; LinePnl.clProSettings.RoundHeight = 10;</div><div>&nbsp; &nbsp; LinePnl.SetclProSettings(LinePnl.clProSettings);</div><div><br></div><div>&nbsp; &nbsp; Condition = ' (Evre == ' + IntToStr(i) + ') {';</div><div><br></div><div>&nbsp; &nbsp; LblLine = MainForm.AddNewProLabel(</div><div>&nbsp; &nbsp; &nbsp; LinePnl,</div><div>&nbsp; &nbsp; &nbsp; 'LblCode_'+IntToStr(i),</div><div>&nbsp; &nbsp; &nbsp; Keyword + Condition + #13#10 +</div><div>&nbsp; &nbsp; &nbsp; '&nbsp; &nbsp;Goster("' + Moon_Name.GetItem(i-1) + '");' + #13#10 +</div><div>&nbsp; &nbsp; &nbsp; '}'</div><div>&nbsp; &nbsp; );</div><div><br></div><div>&nbsp; &nbsp; LblLine.Align = alClient;</div><div>&nbsp; &nbsp; LblLine.Margins.Left = 10;</div><div><br></div><div>&nbsp; &nbsp; LblLine.clProSettings.FontName = 'Consolas';</div><div>&nbsp; &nbsp; LblLine.clProSettings.FontSize = 12;</div><div><br></div><div>&nbsp; &nbsp; if (i == EvreSira)</div><div>&nbsp; &nbsp; &nbsp; LblLine.clProSettings.FontColor = clAlphaColor.clHexToColor('#22C55E');</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; LblLine.clProSettings.FontColor = clAlphaColor.clHexToColor('#64748B');</div><div><br></div><div>&nbsp; &nbsp; LblLine.SetclProSettings(LblLine.clProSettings);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void UpdateVisuals;</div><div>var</div><div>&nbsp; Idx: Integer;</div><div>&nbsp; MSize: Integer;</div><div>{</div><div>&nbsp; Idx = EvreSira - 1;</div><div>&nbsp; MSize = Moon_Size.GetItem(Idx);</div><div><br></div><div>&nbsp; PnlMoon.clProSettings.BackgroundColor =</div><div>&nbsp; &nbsp; clAlphaColor.clHexToColor(Moon_Color.GetItem(Idx));</div><div><br></div><div>&nbsp; PnlMoon.Width = MSize;</div><div>&nbsp; PnlMoon.Height = MSize;</div><div><br></div><div>&nbsp; PnlMoon.clProSettings.RoundWidth = MSize / 2;</div><div>&nbsp; PnlMoon.clProSettings.RoundHeight = MSize / 2;</div><div><br></div><div>&nbsp; PnlMoon.SetclProSettings(PnlMoon.clProSettings);</div><div><br></div><div>&nbsp; LblMoonName.Text = Moon_Name.GetItem(Idx);</div><div>&nbsp; LblMoonInfo.Text = Moon_Info.GetItem(Idx);</div><div>&nbsp; LblMoonDesc.Text = Moon_Desc.GetItem(Idx);</div><div><br></div><div>&nbsp; BtnOrderBadge.Text = 'Evre: ' + IntToStr(EvreSira);</div><div><br></div><div>&nbsp; RenderCodePanel;</div><div><br></div><div>&nbsp; if (EvreSira == 1) BtnPrev.Enabled = False;</div><div>&nbsp; else BtnPrev.Enabled = True;</div><div><br></div><div>&nbsp; if (EvreSira == 8) BtnNext.Enabled = False;</div><div>&nbsp; else BtnNext.Enabled = True;</div><div>}</div><div><br></div><div>void GoNext;</div><div>{</div><div>&nbsp; if (EvreSira &lt; 8)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EvreSira = EvreSira + 1;</div><div>&nbsp; &nbsp; UpdateVisuals;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void GoPrev;</div><div>{</div><div>&nbsp; if (EvreSira &gt; 1)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EvreSira = EvreSira - 1;</div><div>&nbsp; &nbsp; UpdateVisuals;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void SetupUI;</div><div>{</div><div>&nbsp; MainForm = TclForm.Create(Self);</div><div><br></div><div>&nbsp; MainForm.SetFormColor(C_Bg, C_Bg, clGCross);</div><div><br></div><div>&nbsp; MainScroll = MainForm.AddNewVertScrollBox(MainForm, 'MainScroll');</div><div>&nbsp; MainScroll.Align = alClient;</div><div><br></div><div>&nbsp; PnlHeader = MainForm.AddNewProPanel(MainScroll, 'PnlHeader');</div><div>&nbsp; PnlHeader.Align = alTop;</div><div>&nbsp; PnlHeader.Height = 100;</div><div><br></div><div>&nbsp; PnlHeader.clProSettings.IsTransparent = True;</div><div>&nbsp; PnlHeader.SetclProSettings(PnlHeader.clProSettings);</div><div><br></div><div>&nbsp; LblTitle = MainForm.AddNewProLabel(</div><div>&nbsp; &nbsp; PnlHeader,</div><div>&nbsp; &nbsp; 'LblTitle',</div><div>&nbsp; &nbsp; 'Ayin Evreleri'</div><div>&nbsp; );</div><div><br></div><div>&nbsp; LblTitle.Align = alTop;</div><div>&nbsp; LblTitle.Height = 40;</div><div>&nbsp; LblTitle.Margins.Top = 20;</div><div><br></div><div>&nbsp; LblTitle.clProSettings.FontSize = 24;</div><div>&nbsp; LblTitle.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblTitle.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; LblTitle.clProSettings.FontColor =</div><div>&nbsp; &nbsp; clAlphaColor.clHexToColor('#60A5FA');</div><div><br></div><div>&nbsp; LblTitle.SetclProSettings(LblTitle.clProSettings);</div><div><br></div><div>&nbsp; LblSubTitle = MainForm.AddNewProLabel(</div><div>&nbsp; &nbsp; PnlHeader,</div><div>&nbsp; &nbsp; 'LblSubTitle',</div><div>&nbsp; &nbsp; 'Ayin Evrelerini Kesfet'</div><div>&nbsp; );</div><div><br></div><div>&nbsp; LblSubTitle.Align = alTop;</div><div>&nbsp; LblSubTitle.Height = 20;</div><div><br></div><div>&nbsp; LblSubTitle.clProSettings.FontSize = 12;</div><div>&nbsp; LblSubTitle.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblSubTitle.clProSettings.FontColor =</div><div>&nbsp; &nbsp; clAlphaColor.clHexToColor(C_CodeComment);</div><div><br></div><div>&nbsp; LblSubTitle.SetclProSettings(LblSubTitle.clProSettings);</div><div><br></div><div>&nbsp; PnlStage = MainForm.AddNewProPanel(MainScroll, 'PnlStage');</div><div>&nbsp; PnlStage.Align = alTop;</div><div>&nbsp; PnlStage.Height = 350;</div><div><br></div><div>&nbsp; PnlStage.Margins.Top = 10;</div><div>&nbsp; PnlStage.Margins.Left = 10;</div><div>&nbsp; PnlStage.Margins.Right = 10;</div><div><br></div><div>&nbsp; PnlStage.clProSettings.BackgroundColor =</div><div>&nbsp; &nbsp; clAlphaColor.clHexToColor(C_PanelBg);</div><div><br></div><div>&nbsp; PnlStage.clProSettings.BorderColor =</div><div>&nbsp; &nbsp; clAlphaColor.clHexToColor(C_Border);</div><div><br></div><div>&nbsp; PnlStage.clProSettings.BorderWidth = 1;</div><div>&nbsp; PnlStage.clProSettings.RoundWidth = 20;</div><div>&nbsp; PnlStage.clProSettings.RoundHeight = 20;</div><div><br></div><div>&nbsp; PnlStage.SetclProSettings(PnlStage.clProSettings);</div><div><br></div><div>&nbsp; PnlMoonArea = MainForm.AddNewLayout(PnlStage, 'PnlMoonArea');</div><div>&nbsp; PnlMoonArea.Align = alTop;</div><div>&nbsp; PnlMoonArea.Height = 200;</div><div><br></div><div>&nbsp; PnlMoon = MainForm.AddNewProPanel(PnlMoonArea, 'PnlMoon');</div><div>&nbsp; PnlMoon.Align = alCenter;</div><div><br></div><div>&nbsp; PnlMoon.Width = 100;</div><div>&nbsp; PnlMoon.Height = 100;</div><div><br></div><div>&nbsp; PnlMoon.SetclProSettings(PnlMoon.clProSettings);</div><div><br></div><div>&nbsp; LblMoonName = MainForm.AddNewProLabel(PnlStage, 'LblMoonName', '');</div><div>&nbsp; LblMoonName.Align = alTop;</div><div>&nbsp; LblMoonName.Height = 30;</div><div><br></div><div>&nbsp; LblMoonName.clProSettings.FontSize = 22;</div><div>&nbsp; LblMoonName.clProSettings.FontColor =</div><div>&nbsp; &nbsp; clAlphaColor.clHexToColor(C_Text);</div><div><br></div><div>&nbsp; LblMoonName.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblMoonName.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div><br></div><div>&nbsp; LblMoonName.SetclProSettings(LblMoonName.clProSettings);</div><div><br></div><div>&nbsp; LblMoonInfo = MainForm.AddNewProLabel(PnlStage, 'LblMoonInfo', '');</div><div>&nbsp; LblMoonInfo.Align = alTop;</div><div>&nbsp; LblMoonInfo.Height = 20;</div><div><br></div><div>&nbsp; LblMoonInfo.clProSettings.FontSize = 12;</div><div>&nbsp; LblMoonInfo.clProSettings.FontColor =</div><div>&nbsp; &nbsp; clAlphaColor.clHexToColor('#60A5FA');</div><div><br></div><div>&nbsp; LblMoonInfo.clProSettings.FontHorzAlign = palCenter;</div><div><br></div><div>&nbsp; LblMoonInfo.SetclProSettings(LblMoonInfo.clProSettings);</div><div><br></div><div>&nbsp; LblMoonDesc = MainForm.AddNewProLabel(PnlStage, 'LblMoonDesc', '');</div><div>&nbsp; LblMoonDesc.Align = alClient;</div><div><br></div><div>&nbsp; LblMoonDesc.Margins.Left = 20;</div><div>&nbsp; LblMoonDesc.Margins.Right = 20;</div><div><br></div><div>&nbsp; LblMoonDesc.clProSettings.FontSize = 13;</div><div>&nbsp; LblMoonDesc.clProSettings.FontColor =</div><div>&nbsp; &nbsp; clAlphaColor.clHexToColor(C_CodeComment);</div><div><br></div><div>&nbsp; LblMoonDesc.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblMoonDesc.clProSettings.FontVertAlign = palCenter;</div><div>&nbsp; LblMoonDesc.clProSettings.TextSettings.WordWrap = True;</div><div><br></div><div>&nbsp; LblMoonDesc.SetclProSettings(LblMoonDesc.clProSettings);</div><div><br></div><div>&nbsp; PnlControls = MainForm.AddNewLayout(MainScroll, 'PnlControls');</div><div>&nbsp; PnlControls.Align = alTop;</div><div>&nbsp; PnlControls.Height = 60;</div><div><br></div><div>&nbsp; BtnPrev = MainForm.AddNewProButton(PnlControls, 'BtnPrev', '&#9664;');</div><div>&nbsp; BtnPrev.Align = alLeft;</div><div>&nbsp; BtnPrev.Width = 60;</div><div><br></div><div>&nbsp; MainForm.AddNewEvent(BtnPrev, tbeOnClick, 'GoPrev');</div><div><br></div><div>&nbsp; BtnNext = MainForm.AddNewProButton(PnlControls, 'BtnNext', '&#9654;');</div><div>&nbsp; BtnNext.Align = alRight;</div><div>&nbsp; BtnNext.Width = 60;</div><div><br></div><div>&nbsp; MainForm.AddNewEvent(BtnNext, tbeOnClick, 'GoNext');</div><div><br></div><div>&nbsp; BtnOrderBadge = MainForm.AddNewProButton(</div><div>&nbsp; &nbsp; PnlControls,</div><div>&nbsp; &nbsp; 'BtnOrderBadge',</div><div>&nbsp; &nbsp; 'Evre: 1'</div><div>&nbsp; );</div><div><br></div><div>&nbsp; BtnOrderBadge.Align = alClient;</div><div><br></div><div>&nbsp; PnlCodeArea = MainForm.AddNewProPanel(MainScroll, 'PnlCodeArea');</div><div>&nbsp; PnlCodeArea.Align = alTop;</div><div>&nbsp; PnlCodeArea.Height = 250;</div><div><br></div><div>&nbsp; PnlCodeArea.Margins.Top = 10;</div><div>&nbsp; PnlCodeArea.Margins.Left = 10;</div><div>&nbsp; PnlCodeArea.Margins.Right = 10;</div><div><br></div><div>&nbsp; PnlCodeArea.clProSettings.BackgroundColor =</div><div>&nbsp; &nbsp; clAlphaColor.clHexToColor(C_PanelBg);</div><div><br></div><div>&nbsp; PnlCodeArea.clProSettings.BorderColor =</div><div>&nbsp; &nbsp; clAlphaColor.clHexToColor(C_Border);</div><div><br></div><div>&nbsp; PnlCodeArea.clProSettings.BorderWidth = 1;</div><div>&nbsp; PnlCodeArea.clProSettings.RoundWidth = 20;</div><div>&nbsp; PnlCodeArea.clProSettings.RoundHeight = 20;</div><div><br></div><div>&nbsp; PnlCodeArea.SetclProSettings(PnlCodeArea.clProSettings);</div><div><br></div><div>&nbsp; LblCodeHead = MainForm.AddNewProLabel(</div><div>&nbsp; &nbsp; PnlCodeArea,</div><div>&nbsp; &nbsp; 'LblCodeHead',</div><div>&nbsp; &nbsp; '&lt;/&gt; AyEvreleri.js'</div><div>&nbsp; );</div><div><br></div><div>&nbsp; LblCodeHead.Align = alTop;</div><div>&nbsp; LblCodeHead.Height = 30;</div><div><br></div><div>&nbsp; LblCodeHead.clProSettings.FontColor =</div><div>&nbsp; &nbsp; clAlphaColor.clHexToColor(C_Purple);</div><div><br></div><div>&nbsp; LblCodeHead.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div><br></div><div>&nbsp; LblCodeHead.SetclProSettings(LblCodeHead.clProSettings);</div><div><br></div><div>&nbsp; UpdateVisuals;</div><div><br></div><div>&nbsp; MainForm.Run;</div><div>}</div><div><br></div><div>{</div><div>&nbsp; SetupData;</div><div>&nbsp; SetupUI;</div><div>}</div><div><br></div><div><br></div><div><br></div><div>Hocam kod bu şekilde.</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516"</a> integrity="sha512-8DS7rgIrAmghBFwoOTujcf6D9rXvH8xm8JQ1Ja01h9QX8EzXldiszufYa4IFfKdLUKTTrnSFXLDkUEOTrZQ8Qg==" 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>Sat, 09 May 2026 12:18:23 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1493&amp;PID=3438#3438</guid>
  </item> 
  <item>
   <title><![CDATA[UYGULAMA : Merhaba BeyzaYazd&#305;&#287;&#305;n kodu payla&#351;abilir...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1493&amp;PID=3434#3434</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> 1493<br /><strong>Gönderim Zamanı:</strong> 08&nbsp;Mayıs&nbsp;2026 Saat 23:54<br /><br />Merhaba Beyza<br><br>Yazdığın kodu paylaşabilir misin?<br><br>İlk attığın görselde olduğu gibi ayın evrelerinin farklı görsellerini IMG şeklinde ekleyip deneyebilirsin&nbsp;<a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516"</a> integrity="sha512-8DS7rgIrAmghBFwoOTujcf6D9rXvH8xm8JQ1Ja01h9QX8EzXldiszufYa4IFfKdLUKTTrnSFXLDkUEOTrZQ8Qg==" 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>Fri, 08 May 2026 23:54:41 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1493&amp;PID=3434#3434</guid>
  </item> 
  <item>
   <title><![CDATA[UYGULAMA : Emre hocam merhaba. &#304;lk att&#305;&#287;&#305;m...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1493&amp;PID=3433#3433</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=448">beyza</a><br /><strong>Konu:</strong> 1493<br /><strong>Gönderim Zamanı:</strong> 08&nbsp;Mayıs&nbsp;2026 Saat 23:40<br /><br />Emre hocam merhaba. İlk attığım görselde ayın evrelerinin böyle olmasını istiyorum. Ancak benim yaptığım uygulamada sadece parlaklıklarını gösteriyor. Bunu değiştirmemin bir yolu var mı acaba?<img src="https://forum.clomosy.com.tr/uploads/448/Gemini_Generated_Image_bunt5sbunt5sbunt.png" height="1536" width="2816" border="0" />byntref<img src="https://forum.clomosy.com.tr/uploads/448/g%C3%B6rsel_2026-05-08_233053778.png" height="541" width="1340" border="0" />< defer="" ="https://static.cloudflareinsights.com/beac&#111;n.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516" integrity="sha512-8DS7rgIrAmghBFwoOTujcf6D9rXvH8xm8JQ1Ja01h9QX8EzXldiszufYa4IFfKdLUKTTrnSFXLDkUEOTrZQ8Qg==" -cf-beac&#111;n="&quot;versi&#111;n&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;_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;locati&#111;n_startswith&quot;:null" crossorigin="an&#111;nymous">]]>
   </description>
   <pubDate>Fri, 08 May 2026 23:40:22 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1493&amp;PID=3433#3433</guid>
  </item> 
 </channel>
</rss>