<?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 : operatör hatası</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : operatör hatası]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 06 Aug 2026 13:18:27 +0000</pubDate>
  <lastBuildDate>Thu, 06 Aug 2026 11:05:18 +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=1646</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[operatör hatası : Kayra,listview de bile&#351;enin de...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1646&amp;PID=3816#3816</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> 1646<br /><strong>Gönderim Zamanı:</strong> 06&nbsp;Ağustos&nbsp;2026 Saat 11:05<br /><br />Kayra,&nbsp;<br>listview de bileşenin de designerpanel olmadan çalışmadığı için rehber ekranında liste boş kalıyor olay tetiklenmiyor.<br>ayrıca clSelectedItemData metodu main_text ve sub_text alanları ile eşitlenmeli<br>clCaption yerine main_text olmalı<br><br><br><div>var</div><div>FormFiltre, FormGelismis, FormRehber: TclGameForm;</div><div>PnlNavBar, PnlMainCard, PnlFilterButtons, PnlListHost, PnlTabs: TclProPanel;</div><div>GrpTur, GrpPeriyot, GrpAy, GrpYil: TclProPanel;</div><div>BtnBack, BtnUygula, BtnTemizle, BtnGelismisOpen: TclProButton;</div><div>BtnTabYaklasan, BtnTabBekleyen, BtnTabTamamlanan: TclProButton;</div><div>LblTitle, LblTitleFilter, LblTitleList, LblTur, LblPeriyot, LblAy, LblYil, LblEmpty: TclProLabel;</div><div>CmbTur, CmbPeriyot, CmbAy, CmbYil: TclComboBox;</div><div>ScrollForm: TclVertScrollBox;</div><div>CardPanel: array &#091;0..100&#093; of TclProPanel;</div><div>CardTitle: array &#091;0..100&#093; of TclProLabel;</div><div>CardDetail: array &#091;0..100&#093; of TclProLabel;</div><div><br></div><div>KayitTur, KayitBelgeNo, KayitMakine, KayitTip, KayitPlanlanan: array &#091;0..100&#093; of String;</div><div>KayitDurum, KayitAy, KayitYil, KayitPeriyot: array &#091;0..100&#093; of String;</div><div>KayitOperator, KayitBaslangic, KayitBitisTur: array &#091;0..100&#093; of String;</div><div>KayitKisi, KayitAciklama, KayitNeden: array &#091;0..100&#093; of String;</div><div><br></div><div>KayitCount, TmpIndex, TmpVisibleCount, TmpYear: Integer;</div><div>UiFontSize: Integer;</div><div>ThemeKoyuRenk, ThemeAcikRenk, ThemeBorderColor, ThemeBgColor, ThemeTextColor: String;</div><div>OkunanUyariRengi, OkunanYaziRengi, OkunanKartRengi, OkunanZeminRengi, OkunanFontAdi: String;</div><div>OkunanTemaIndex, OkunanBoyutIndex, OkunanStilIndex, OkunanHizaIndex, GlobalAktifDilIndex: Integer;</div><div><br></div><div>PnlGelismisCard, GrpOperator: TclProPanel;</div><div>LblOperatorTitle, LblOperator: TclProLabel;</div><div>EdtOperator: TclEdit;</div><div>BtnOperatorRehber, BtnGelismisKapat, BtnGelismisUygula: TclProButton;</div><div>SecilenOperatorFiltresi: String;</div><div><br></div><div>PnlRehberCard: TclProPanel;</div><div>LblRehberTitle: TclProLabel;</div><div>EdtRehberArama: TclProEdit;</div><div>LsvBelgeRehber: TclListView;</div><div>RehberJsonData: TclJsonQuery;</div><div>GlobalLookupType: String;</div><div><br></div><div>PnlDetailOverlay, PnlDetailHeader, PnlDetailButtons: TclProPanel;</div><div>DetailScroll: TclVertScrollBox;</div><div>LblDetailTitle: TclProLabel;</div><div>BtnDetailSave, BtnDetailCancel, BtnTamamlandi, BtnErtele: TclProButton;</div><div><br></div><div>DetPnl: array&#091;0..11&#093; of TclProPanel;</div><div>DetLbl: array&#091;0..11&#093; of TclProLabel;</div><div>DetEdt: array&#091;0..11&#093; of TclEdit;</div><div>DetMemoNeden: TclMemo;</div><div>ActiveEditIndex: Integer;</div><div>gAktifDilIndex: Integer;</div><div>AktifSekme: String;</div><div>IsDBConnected: Boolean;</div><div><br></div><div>void ConnectToDatabase;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; Clomosy.DBSQLServerConnect('SQL Server','192.168.1.20','sa','1','ATIKER2026',50000);</div><div>&nbsp; &nbsp; IsDBConnected = True;</div><div>&nbsp; except</div><div>&nbsp; &nbsp; IsDBConnected = False;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>function GetText(Key: String): String;</div><div>var TKey: String;</div><div>{</div><div>&nbsp; TKey = Trim(Key);</div><div>&nbsp; Result = TKey;</div><div>&nbsp; if (TKey == 'FORM_TITLE') { Result = 'Filtre ve Kayitlar'; }</div><div>&nbsp; else if (TKey == 'SEC_FILTER') { Result = 'FILTRELEME KRITERLERI'; }</div><div>&nbsp; else if (TKey == 'SEC_RESULTS') { Result = 'BAKIM VE ARIZA SONUCLARI'; }</div><div>&nbsp; else if (TKey == 'LBL_TUR') { Result = 'Kayit Turu:'; }</div><div>&nbsp; else if (TKey == 'LBL_PERIYOT') { Result = 'Periyot:'; }</div><div>&nbsp; else if (TKey == 'LBL_AY') { Result = 'Ay:'; }</div><div>&nbsp; else if (TKey == 'LBL_YIL') { Result = 'Yil:'; }</div><div>&nbsp; else if (TKey == 'BTN_APPLY') { Result = 'Filtrele'; }</div><div>&nbsp; else if (TKey == 'BTN_CLEAR') { Result = 'Sifirla'; }</div><div>&nbsp; else if (TKey == 'MSG_EMPTY') { Result = 'Secilen kriterlere uygun kayit bulunamadi.'; }</div><div>&nbsp; else if (TKey == 'ALL') { Result = 'Tumu'; }</div><div>&nbsp; else if (Key == 'ARA_OPERATOR') { Result = 'Operator Ara...'; }</div><div>&nbsp; else if (Key == 'LST_BOS') { Result = 'Listede operator yok'; }</div><div>}</div><div><br></div><div>function GuvenliRenkAl(HamDeger: String): String;</div><div>var Temiz: String;</div><div>{</div><div>&nbsp; Temiz = Trim(HamDeger);</div><div>&nbsp; if (Length(Temiz) &gt;= 4)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (Length(Temiz) &gt; 7) { Result = Copy(Temiz, 1, 7); }</div><div>&nbsp; &nbsp; else { Result = Temiz; }</div><div>&nbsp; }</div><div>&nbsp; else { Result = ''; }</div><div>}</div><div><br></div><div>function TemizleMetin(HamMetin: String): String;</div><div>var</div><div>&nbsp; i: Integer;</div><div>&nbsp; Karakter: String;</div><div>{</div><div>&nbsp; Result = '';</div><div>&nbsp; for (i = 1 to Length(HamMetin))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Karakter = Copy(HamMetin, i, 1);</div><div>&nbsp; &nbsp; if ((Karakter == #13) || (Karakter == #10) || (Karakter == '|')) { Result = Result + ' '; }</div><div>&nbsp; &nbsp; else { Result = Result + Karakter; }</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void AyarDosyasindanTemayiYukle(TemaIndex: Integer);</div><div>{</div><div>&nbsp; ThemeBorderColor = '#CBD5E1';</div><div>&nbsp; ThemeBgColor = '#EEF0F2';</div><div>&nbsp; ThemeTextColor = '#3A3F47';</div><div>&nbsp; ThemeKoyuRenk = '#1E293B';&nbsp;</div><div>&nbsp; ThemeAcikRenk = '#3B82F6';</div><div>&nbsp; FormFiltre.SetFormColor(ThemeKoyuRenk, ThemeAcikRenk, clGVertical);</div><div>}</div><div><br></div><div>void StyleHeaderBar(APanel: TclProPanel);</div><div>{</div><div>&nbsp; APanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(ThemeKoyuRenk);</div><div>&nbsp; APanel.clProSettings.BorderWidth = 0;</div><div>&nbsp; APanel.clProSettings.IsFill = True;</div><div>&nbsp; APanel.SetclProSettings(APanel.clProSettings);</div><div>}</div><div><br></div><div>void StyleMainCard(APanel: TclProPanel);</div><div>{</div><div>&nbsp; APanel.clProSettings.BackgroundColor = clAlphaColor.clWhite;</div><div>&nbsp; APanel.clProSettings.BorderColor = clAlphaColor.clHexToColor('#E2E8F0');</div><div>&nbsp; APanel.clProSettings.BorderWidth = 1;</div><div>&nbsp; APanel.clProSettings.IsFill = True;</div><div>&nbsp; APanel.clProSettings.IsRound = True;</div><div>&nbsp; APanel.clProSettings.RoundHeight = 12;</div><div>&nbsp; APanel.clProSettings.RoundWidth = 12;</div><div>&nbsp; APanel.SetclProSettings(APanel.clProSettings);</div><div>}</div><div><br></div><div>void StyleSectionTitle(ALabel: TclProLabel);</div><div>{</div><div>&nbsp; ALabel.clProSettings.FontColor = clAlphaColor.clHexToColor('#0F172A');</div><div>&nbsp; ALabel.clProSettings.FontSize = UiFontSize + 1;</div><div>&nbsp; ALabel.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; ALabel.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; ALabel.SetclProSettings(ALabel.clProSettings);</div><div>}</div><div><br></div><div>void StyleInputPanel(APanel: TclProPanel);</div><div>{</div><div>&nbsp; APanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F8FAFC');</div><div>&nbsp; APanel.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1');</div><div>&nbsp; APanel.clProSettings.BorderWidth = 1;</div><div>&nbsp; APanel.clProSettings.IsFill = True;</div><div>&nbsp; APanel.clProSettings.IsRound = True;</div><div>&nbsp; APanel.clProSettings.RoundHeight = 8;</div><div>&nbsp; APanel.clProSettings.RoundWidth = 8;</div><div>&nbsp; APanel.SetclProSettings(APanel.clProSettings);</div><div>}</div><div><br></div><div>void StyleInputLabel(ALabel: TclProLabel);</div><div>{</div><div>&nbsp; ALabel.clProSettings.FontColor = clAlphaColor.clHexToColor('#475569');</div><div>&nbsp; ALabel.clProSettings.FontSize = UiFontSize - 1;</div><div>&nbsp; ALabel.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; ALabel.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; ALabel.SetclProSettings(ALabel.clProSettings);</div><div>}</div><div><br></div><div>void StylePrimaryButton(AButton: TclProButton);</div><div>{</div><div>&nbsp; AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#0284C7');</div><div>&nbsp; AButton.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; AButton.clProSettings.BorderWidth = 0;</div><div>&nbsp; AButton.clProSettings.IsFill = True;</div><div>&nbsp; AButton.clProSettings.IsRound = True;</div><div>&nbsp; AButton.clProSettings.RoundHeight = 8;</div><div>&nbsp; AButton.clProSettings.RoundWidth = 8;</div><div>&nbsp; AButton.clProSettings.FontSize = UiFontSize;</div><div>&nbsp; AButton.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; AButton.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; AButton.SetclProSettings(AButton.clProSettings);</div><div>}</div><div><br></div><div>void StyleSecondaryButton(AButton: TclProButton);</div><div>{</div><div>&nbsp; AButton.clProSettings.BackgroundColor = clAlphaColor.clWhite;</div><div>&nbsp; AButton.clProSettings.FontColor = clAlphaColor.clHexToColor('#334155');</div><div>&nbsp; AButton.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1');</div><div>&nbsp; AButton.clProSettings.BorderWidth = 1;</div><div>&nbsp; AButton.clProSettings.IsFill = True;</div><div>&nbsp; AButton.clProSettings.IsRound = True;</div><div>&nbsp; AButton.clProSettings.RoundHeight = 8;</div><div>&nbsp; AButton.clProSettings.RoundWidth = 8;</div><div>&nbsp; AButton.clProSettings.FontSize = UiFontSize;</div><div>&nbsp; AButton.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; AButton.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; AButton.SetclProSettings(AButton.clProSettings);</div><div>}</div><div><br></div><div>void StyleTabButton(AButton: TclProButton; IsActive: Boolean);</div><div>{</div><div>&nbsp; if (IsActive)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#0F172A');</div><div>&nbsp; &nbsp; AButton.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; }</div><div>&nbsp; else</div><div>&nbsp; {</div><div>&nbsp; &nbsp; AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F1F5F9');</div><div>&nbsp; &nbsp; AButton.clProSettings.FontColor = clAlphaColor.clHexToColor('#64748B');</div><div>&nbsp; }</div><div>&nbsp; AButton.clProSettings.BorderWidth = 0;</div><div>&nbsp; AButton.clProSettings.IsFill = True;</div><div>&nbsp; AButton.clProSettings.IsRound = True;</div><div>&nbsp; AButton.clProSettings.RoundHeight = 6;</div><div>&nbsp; AButton.clProSettings.RoundWidth = 6;</div><div>&nbsp; AButton.clProSettings.FontSize = UiFontSize - 1;</div><div>&nbsp; AButton.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; AButton.SetclProSettings(AButton.clProSettings);</div><div>}</div><div><br></div><div>void ApplyUiSettings;</div><div>var TmpY: Integer;</div><div>{</div><div>&nbsp; LblTitle.Text = GetText('FORM_TITLE');</div><div>&nbsp; LblTitleFilter.Text = GetText('SEC_FILTER');</div><div>&nbsp; LblTitleList.Text = GetText('SEC_RESULTS');</div><div>&nbsp; LblTur.Text = GetText('LBL_TUR');</div><div>&nbsp; LblPeriyot.Text = GetText('LBL_PERIYOT');</div><div>&nbsp; LblAy.Text = GetText('LBL_AY');</div><div>&nbsp; LblYil.Text = GetText('LBL_YIL');</div><div>&nbsp; BtnUygula.Text = GetText('BTN_APPLY');</div><div>&nbsp; BtnTemizle.Text = GetText('BTN_CLEAR');</div><div>&nbsp; LblEmpty.Text = GetText('MSG_EMPTY');</div><div><br></div><div>&nbsp; CmbTur.Items.Clear;</div><div>&nbsp; CmbTur.AddItem(GetText('ALL'), 'Tumu');</div><div>&nbsp; CmbTur.AddItem('Bakim', 'Bakim');</div><div>&nbsp; CmbTur.AddItem('Ariza', 'Ariza');</div><div>&nbsp; CmbTur.ItemIndex = 0;</div><div><br></div><div>&nbsp; CmbPeriyot.Items.Clear;</div><div>&nbsp; CmbPeriyot.AddItem(GetText('ALL'), 'Tumu');</div><div>&nbsp; CmbPeriyot.AddItem('Gunluk', 'Gunluk');</div><div>&nbsp; CmbPeriyot.AddItem('Haftalik', 'Haftalik');</div><div>&nbsp; CmbPeriyot.AddItem('Aylik', 'Aylik');</div><div>&nbsp; CmbPeriyot.ItemIndex = 0;</div><div><br></div><div>&nbsp; CmbAy.Items.Clear;</div><div>&nbsp; CmbAy.AddItem(GetText('ALL'), 'Tumu');</div><div>&nbsp; CmbAy.AddItem('01', '01'); CmbAy.AddItem('02', '02'); CmbAy.AddItem('03', '03');</div><div>&nbsp; CmbAy.AddItem('04', '04'); CmbAy.AddItem('05', '05'); CmbAy.AddItem('06', '06');</div><div>&nbsp; CmbAy.AddItem('07', '07'); CmbAy.AddItem('08', '08'); CmbAy.AddItem('09', '09');</div><div>&nbsp; CmbAy.AddItem('10', '10'); CmbAy.AddItem('11', '11'); CmbAy.AddItem('12', '12');</div><div>&nbsp; CmbAy.ItemIndex = 0;</div><div><br></div><div>&nbsp; CmbYil.Items.Clear;</div><div>&nbsp; CmbYil.AddItem(GetText('ALL'), 'Tumu');</div><div>&nbsp; for (TmpY = 2020 to 2035) { CmbYil.AddItem(IntToStr(TmpY), IntToStr(TmpY)); }</div><div>&nbsp; CmbYil.ItemIndex = 0;</div><div><br></div><div>&nbsp; StyleSectionTitle(LblTitleFilter);</div><div>&nbsp; StyleSectionTitle(LblTitleList);</div><div>&nbsp; StylePrimaryButton(BtnUygula);</div><div>&nbsp; StyleSecondaryButton(BtnTemizle);</div><div>}</div><div><br></div><div>void VerileriDosyadanYukle;</div><div>var</div><div>&nbsp; KayitListesi: TclStringList;</div><div>&nbsp; DosyaYolu, KalanVeri, SatirVerisi, IlkKelime: String;</div><div>&nbsp; i, LPos: Integer;</div><div>{</div><div>&nbsp; KayitCount = 0;</div><div>&nbsp; DosyaYolu = clPathCombine('BakimVerileri.txt', Clomosy.AppFilesPath);</div><div>&nbsp; if (clFileExists(DosyaYolu, ''))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; KayitListesi = Clomosy.StringListNew;</div><div>&nbsp; &nbsp; KayitListesi.LoadFromFile(DosyaYolu, 0);</div><div><br></div><div>&nbsp; &nbsp; i = KayitListesi.Count - 1;</div><div>&nbsp; &nbsp; while (i &gt;= 0)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; SatirVerisi = Trim(Clomosy.StringListItemString(KayitListesi, i));</div><div>&nbsp; &nbsp; &nbsp; if (SatirVerisi &lt;&gt; '')</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (KayitCount &lt; 100)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; KalanVeri = SatirVerisi;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LPos = Pos('|', KalanVeri);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (LPos &gt; 0) { IlkKelime = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else { IlkKelime = 'Bakim'; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ((IlkKelime == 'Periyodik') || (IlkKelime == 'Bakim') || (IlkKelime == 'Bakım') || (Pos('Periyodik', IlkKelime) &gt; 0))</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { KayitTur&#091;KayitCount&#093; = 'Bakim'; } else { KayitTur&#091;KayitCount&#093; = IlkKelime; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitBelgeNo&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitBelgeNo&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitMakine&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitMakine&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitTip&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitTip&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitPlanlanan&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitPlanlanan&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitDurum&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitDurum&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitAy&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitAy&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitYil&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitYil&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitPeriyot&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitPeriyot&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitOperator&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitOperator&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitBaslangic&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitBaslangic&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitBitisTur&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitBitisTur&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitKisi&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitKisi&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitAciklama&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitAciklama&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; KayitNeden&#091;KayitCount&#093; = KalanVeri;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; KayitCount = KayitCount + 1;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; i = i - 1;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; KayitListesi.Free;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>function KayitUygunMu(AIndex: Integer): Boolean;</div><div>var</div><div>&nbsp; STurCombo, SPeriyotCombo, SAyCombo, SYilCombo, SDurumHam: String;</div><div>{</div><div>&nbsp; Result = True;</div><div><br></div><div>&nbsp; if (CmbTur.ItemIndex &lt;= 0) { STurCombo = 'Tumu'; } else { STurCombo = CmbTur.GetValueIndex(CmbTur.ItemIndex); }</div><div>&nbsp; if (CmbAy.ItemIndex &lt;= 0) { SAyCombo = 'Tumu'; } else { SAyCombo = CmbAy.GetValueIndex(CmbAy.ItemIndex); }</div><div>&nbsp; if (CmbYil.ItemIndex &lt;= 0) { SYilCombo = 'Tumu'; } else { SYilCombo = CmbYil.GetValueIndex(CmbYil.ItemIndex); }</div><div>&nbsp; if (CmbPeriyot.ItemIndex &lt;= 0) { SPeriyotCombo = 'Tumu'; } else { SPeriyotCombo = CmbPeriyot.GetValueIndex(CmbPeriyot.ItemIndex); }</div><div><br></div><div>&nbsp; SDurumHam = Trim(KayitDurum&#091;AIndex&#093;);</div><div><br></div><div>&nbsp; if (AktifSekme == 'BEKLEYEN')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if ((Pos('Yapildi', SDurumHam) &gt; 0) || (Pos('Yapıldı', SDurumHam) &gt; 0) || (Pos('Tamamlandi', SDurumHam) &gt; 0) || (Pos('Tamamlandı', SDurumHam) &gt; 0)) { Result = False; }</div><div>&nbsp; }</div><div>&nbsp; else if (AktifSekme == 'TAMAMLANAN')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if ((Pos('Yapildi', SDurumHam) == 0) &amp;&amp; (Pos('Yapıldı', SDurumHam) == 0) &amp;&amp; (Pos('Tamamlandi', SDurumHam) == 0) &amp;&amp; (Pos('Tamamlandı', SDurumHam) == 0)) { Result = False; }</div><div>&nbsp; }</div><div>&nbsp; else if (AktifSekme == 'YAKLASAN')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if ((Pos('Yapildi', SDurumHam) &gt; 0) || (Pos('Yapıldı', SDurumHam) &gt; 0) || (Pos('Tamamlandi', SDurumHam) &gt; 0) || (Pos('Tamamlandı', SDurumHam) &gt; 0)) { Result = False; }</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (STurCombo &lt;&gt; 'Tumu')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (STurCombo &lt;&gt; Trim(KayitTur&#091;AIndex&#093;)) { Result = False; }</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (SAyCombo &lt;&gt; 'Tumu') { if (SAyCombo &lt;&gt; Trim(KayitAy&#091;AIndex&#093;)) { Result = False; } }</div><div>&nbsp; if (SYilCombo &lt;&gt; 'Tumu') { if (SYilCombo &lt;&gt; Trim(KayitYil&#091;AIndex&#093;)) { Result = False; } }</div><div>&nbsp; if (SPeriyotCombo &lt;&gt; 'Tumu') { if ((SPeriyotCombo &lt;&gt; Trim(KayitPeriyot&#091;AIndex&#093;)) &amp;&amp; (SPeriyotCombo &lt;&gt; Trim(KayitDurum&#091;AIndex&#093;))) { Result = False; } }</div><div><br></div><div>&nbsp; if ((SecilenOperatorFiltresi &lt;&gt; '') &amp;&amp; (SecilenOperatorFiltresi &lt;&gt; 'Tumu'))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (Pos(SecilenOperatorFiltresi, KayitOperator&#091;AIndex&#093;) == 0) { Result = False; }</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void RefreshListe;</div><div>var</div><div>&nbsp; TarihMetni, KartUyariRenk, OzetMetin: String;</div><div>{</div><div>&nbsp; TmpVisibleCount = 0;</div><div><br></div><div>&nbsp; if (AktifSekme == 'YAKLASAN') { StyleTabButton(BtnTabYaklasan, True); } else { StyleTabButton(BtnTabYaklasan, False); }</div><div>&nbsp; if (AktifSekme == 'BEKLEYEN') { StyleTabButton(BtnTabBekleyen, True); } else { StyleTabButton(BtnTabBekleyen, False); }</div><div>&nbsp; if (AktifSekme == 'TAMAMLANAN') { StyleTabButton(BtnTabTamamlanan, True); } else { StyleTabButton(BtnTabTamamlanan, False); }</div><div><br></div><div>&nbsp; for (TmpIndex = 0 to KayitCount - 1)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (KayitUygunMu(TmpIndex))</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; TmpVisibleCount = TmpVisibleCount + 1;</div><div>&nbsp; &nbsp; &nbsp; if (TmpVisibleCount &gt; 100) Break;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; CardPanel&#091;TmpVisibleCount&#093;.Visible = True;</div><div>&nbsp; &nbsp; &nbsp; CardPanel&#091;TmpVisibleCount&#093;.clTagInt = TmpIndex;</div><div>&nbsp; &nbsp; &nbsp; CardTitle&#091;TmpVisibleCount&#093;.clTagInt = TmpIndex;</div><div>&nbsp; &nbsp; &nbsp; CardDetail&#091;TmpVisibleCount&#093;.clTagInt = TmpIndex;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; CardTitle&#091;TmpVisibleCount&#093;.Caption = ' &#091;' + Trim(KayitTur&#091;TmpIndex&#093;) + '&#093; ' + Trim(KayitMakine&#091;TmpIndex&#093;);</div><div>&nbsp; &nbsp; &nbsp; TarihMetni = Trim(KayitPlanlanan&#091;TmpIndex&#093;);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; OzetMetin = 'Tarih: ' + TarihMetni + #13#10 + 'Tip: ' + Trim(KayitTip&#091;TmpIndex&#093;) + #13#10 + 'Durum: ' + Trim(KayitDurum&#091;TmpIndex&#093;);</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; if (Trim(KayitOperator&#091;TmpIndex&#093;) &lt;&gt; '') { OzetMetin = OzetMetin + #13#10 + 'Operatör: ' + Trim(KayitOperator&#091;TmpIndex&#093;); }</div><div>&nbsp; &nbsp; &nbsp; if (Trim(KayitBaslangic&#091;TmpIndex&#093;) &lt;&gt; '') { OzetMetin = OzetMetin + #13#10 + 'Başlangıç: ' + Trim(KayitBaslangic&#091;TmpIndex&#093;); }</div><div>&nbsp; &nbsp; &nbsp; if (Trim(KayitBitisTur&#091;TmpIndex&#093;) &lt;&gt; '') { OzetMetin = OzetMetin + #13#10 + 'Süre/Bitiş: ' + Trim(KayitBitisTur&#091;TmpIndex&#093;); }</div><div>&nbsp; &nbsp; &nbsp; if (Trim(KayitAciklama&#091;TmpIndex&#093;) &lt;&gt; '') { OzetMetin = OzetMetin + #13#10 + 'Aciklama: ' + Trim(KayitAciklama&#091;TmpIndex&#093;); }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; CardDetail&#091;TmpVisibleCount&#093;.Caption = OzetMetin;</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; CardPanel&#091;TmpVisibleCount&#093;.clProSettings.BackgroundColor = clAlphaColor.clWhite;</div><div>&nbsp; &nbsp; &nbsp; CardDetail&#091;TmpVisibleCount&#093;.clProSettings.FontColor = clAlphaColor.clHexToColor('#1E293B');</div><div>&nbsp; &nbsp; &nbsp; CardDetail&#091;TmpVisibleCount&#093;.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; &nbsp; &nbsp; CardDetail&#091;TmpVisibleCount&#093;.clProSettings.FontSize = UiFontSize;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; CardTitle&#091;TmpVisibleCount&#093;.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; &nbsp; &nbsp; CardTitle&#091;TmpVisibleCount&#093;.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; &nbsp; &nbsp; CardTitle&#091;TmpVisibleCount&#093;.clProSettings.FontSize = UiFontSize + 1;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; KartUyariRenk = '#1E293B';</div><div>&nbsp; &nbsp; &nbsp; if ((Pos('Bekliyor', KayitDurum&#091;TmpIndex&#093;) &gt; 0) || (Pos('Yapilmadi', KayitDurum&#091;TmpIndex&#093;) &gt; 0) || (AktifSekme == 'YAKLASAN'))</div><div>&nbsp; &nbsp; &nbsp; { KartUyariRenk = '#EF4444'; }</div><div>&nbsp; &nbsp; &nbsp; if (AktifSekme == 'TAMAMLANAN') { KartUyariRenk = '#10B981'; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; CardTitle&#091;TmpVisibleCount&#093;.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(KartUyariRenk);</div><div>&nbsp; &nbsp; &nbsp; CardPanel&#091;TmpVisibleCount&#093;.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1');</div><div><br></div><div>&nbsp; &nbsp; &nbsp; CardTitle&#091;TmpVisibleCount&#093;.SetclProSettings(CardTitle&#091;TmpVisibleCount&#093;.clProSettings);</div><div>&nbsp; &nbsp; &nbsp; CardDetail&#091;TmpVisibleCount&#093;.SetclProSettings(CardDetail&#091;TmpVisibleCount&#093;.clProSettings);</div><div>&nbsp; &nbsp; &nbsp; CardPanel&#091;TmpVisibleCount&#093;.SetclProSettings(CardPanel&#091;TmpVisibleCount&#093;.clProSettings);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div><br></div><div>&nbsp; for (TmpIndex = TmpVisibleCount + 1 to 100)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; CardPanel&#091;TmpIndex&#093;.Visible = False;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (TmpVisibleCount == 0)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; LblEmpty.Visible = True;</div><div>&nbsp; &nbsp; PnlListHost.Height = 40;</div><div>&nbsp; &nbsp; PnlMainCard.Height = 1000;</div><div>&nbsp; }</div><div>&nbsp; else</div><div>&nbsp; {</div><div>&nbsp; &nbsp; LblEmpty.Visible = False;</div><div>&nbsp; &nbsp; PnlListHost.Height = (TmpVisibleCount * 170) + 20;</div><div>&nbsp; &nbsp; PnlMainCard.Height = 650 + PnlListHost.Height;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void OnSearchRehber;</div><div>var RehberHazir: Boolean;</div><div>{</div><div>&nbsp; RehberHazir = False;</div><div>&nbsp; try</div><div>&nbsp; &nbsp; if (RehberJsonData.RecordCount &gt;= 0) { RehberHazir = True; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; RehberHazir = False;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (RehberHazir == False) { Exit; }</div><div><br></div><div>&nbsp; if (EdtRehberArama.Text == '')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; RehberJsonData.Filtered = False;</div><div>&nbsp; &nbsp; RehberJsonData.Filter = '';</div><div>&nbsp; }</div><div>&nbsp; else</div><div>&nbsp; {</div><div>&nbsp; &nbsp; RehberJsonData.Filter = 'MAIN_TEXT Like ' + Chr(39) + '%' + EdtRehberArama.Text + '%' + Chr(39);</div><div>&nbsp; &nbsp; RehberJsonData.Filtered = True;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void OnListItemClick;</div><div>var</div><div>&nbsp; SecilenAnaMetin, SecilenAltMetin: String;</div><div>{</div><div>&nbsp; SecilenAnaMetin = LsvBelgeRehber.clSelectedItemData('MAIN_TEXT');</div><div>&nbsp; SecilenAltMetin = LsvBelgeRehber.clSelectedItemData('SUB_TEXT');</div><div><br></div><div>&nbsp; if (SecilenAnaMetin &lt;&gt; GetText('LST_BOS'))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (GlobalLookupType == 'OPERATOR')</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; EdtOperator.Text = SecilenAnaMetin;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div><br></div><div>&nbsp; FormRehber.Close;</div><div>}</div><div><br></div><div>void OpenRehber;</div><div>var</div><div>&nbsp; q: TClSqlQuery;</div><div>&nbsp; MyJsonStr: String;</div><div>&nbsp; CleanMain: String;</div><div>&nbsp; CleanSub: String;</div><div>{</div><div>&nbsp; if (IsDBConnected &lt;&gt; True)</div><div>&nbsp; {&nbsp;</div><div>&nbsp; &nbsp; ConnectToDatabase;&nbsp;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (IsDBConnected &lt;&gt; True)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('Veritabani baglantisi kurulamadi!');</div><div>&nbsp; &nbsp; Exit;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; MyJsonStr = '&#091;';</div><div><br></div><div>&nbsp; FormRehber = TclGameForm.Create(Self);</div><div>&nbsp; FormRehber.LytTopBar.Visible = False;</div><div>&nbsp; FormRehber.BtnGoBack.Visible = False;</div><div>&nbsp; FormRehber.BtnFormMenu.Visible = False;</div><div>&nbsp; FormRehber.SetFormColor('#0F172A', '#334155', clGVertical);</div><div><br></div><div>&nbsp; LsvBelgeRehber = FormRehber.AddNewListView(FormRehber, 'LsvBelgeRehber');</div><div>&nbsp; LsvBelgeRehber.Align = alClient;</div><div>&nbsp; LsvBelgeRehber.Margins.Top = 65;</div><div>&nbsp; LsvBelgeRehber.Margins.Left = 15;</div><div>&nbsp; LsvBelgeRehber.Margins.Right = 15;</div><div>&nbsp; LsvBelgeRehber.Margins.Bottom = 15;</div><div>&nbsp; FormRehber.AddNewEvent(LsvBelgeRehber, tbeOnItemClick, 'OnListItemClick');</div><div><br></div><div>&nbsp; EdtRehberArama = FormRehber.AddNewProEdit(FormRehber, '', GetText('ARA_OPERATOR'));</div><div>&nbsp; EdtRehberArama.Align = alTop;</div><div>&nbsp; EdtRehberArama.Margins.Top = 15;</div><div>&nbsp; EdtRehberArama.Margins.Left = 15;</div><div>&nbsp; EdtRehberArama.Margins.Right = 15;</div><div>&nbsp; EdtRehberArama.Height = 42;</div><div>&nbsp; EdtRehberArama.clProSettings.FontSize = 14;</div><div><br></div><div>&nbsp; q = TClSqlQuery.Create(nil);</div><div>&nbsp; try</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; if (GlobalLookupType == 'OPERATOR')</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.SQL.Text = 'SELECT OPERATOR_KODU AS MAIN_TEXT, ISNULL(OPERATOR_ADI, '''') AS SUB_TEXT FROM &#091;TBLURTOPERATORSB&#093; WITH (NOLOCK) WHERE ISNULL(PASIF, 0) = 0 ORDER BY OPERATOR_KODU';</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; q.Open;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; while (not q.Eof)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (MyJsonStr &lt;&gt; '&#091;') { MyJsonStr = MyJsonStr + ','; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; CleanMain = q.FieldByName('MAIN_TEXT').AsString;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CleanMain = clGetStringReplace(CleanMain, '"', '');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CleanMain = clGetStringReplace(CleanMain, Chr(13), '');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CleanMain = clGetStringReplace(CleanMain, Chr(10), '');</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; CleanSub = q.FieldByName('SUB_TEXT').AsString;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CleanSub = clGetStringReplace(CleanSub, '"', '');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CleanSub = clGetStringReplace(CleanSub, Chr(13), '');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CleanSub = clGetStringReplace(CleanSub, Chr(10), '');</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; MyJsonStr = MyJsonStr + '{"MAIN_TEXT":"' + CleanMain + '", "SUB_TEXT":"' + CleanSub + '"}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; except</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Sorgu hatasi: ' + LastExceptionMessage);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; finally</div><div>&nbsp; &nbsp; q.Close;</div><div>&nbsp; &nbsp; q.Free;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (MyJsonStr == '&#091;') { MyJsonStr = '&#091;{"MAIN_TEXT":"' + GetText('LST_BOS') + '", "SUB_TEXT":""}&#093;'; }</div><div>&nbsp; else { MyJsonStr = MyJsonStr + '&#093;'; }</div><div><br></div><div>&nbsp; RehberJsonData = Clomosy.clDataSetFromJSON(MyJsonStr);</div><div>&nbsp; LsvBelgeRehber.clLoadListViewDataFromDataset(RehberJsonData);</div><div><br></div><div>&nbsp; FormRehber.AddNewEvent(EdtRehberArama, tbeOnChange, 'OnSearchRehber');</div><div>&nbsp; FormRehber.Run;</div><div>}</div><div><br></div><div>void BtnRehberOperatorClick;</div><div>{</div><div>&nbsp; GlobalLookupType = 'OPERATOR';</div><div>&nbsp; OpenRehber;</div><div>}</div><div><br></div><div>void GelismisFormuKapatClick;</div><div>{</div><div>&nbsp; FormGelismis.Close;</div><div>}</div><div><br></div><div>void GelismisFormuUygulaClick;</div><div>{</div><div>&nbsp; SecilenOperatorFiltresi = Trim(EdtOperator.Text);</div><div>&nbsp; if (SecilenOperatorFiltresi == '') { SecilenOperatorFiltresi = 'Tumu'; }</div><div>&nbsp; RefreshListe;</div><div>&nbsp; FormGelismis.Close;</div><div>}</div><div><br></div><div>void OpenGelismisForm;</div><div>{</div><div>&nbsp; FormGelismis = TclGameForm.Create(Self);</div><div>&nbsp; FormGelismis.LytTopBar.Visible = False;</div><div>&nbsp; FormGelismis.BtnGoBack.Visible = False;</div><div>&nbsp; FormGelismis.BtnFormMenu.Visible = False;</div><div>&nbsp; FormGelismis.SetFormColor('#1E293B', '#3B82F6', clGVertical);</div><div><br></div><div>&nbsp; PnlGelismisCard = FormGelismis.AddNewProPanel(FormGelismis, 'PnlGelismisCard');</div><div>&nbsp; PnlGelismisCard.Align = alClient;</div><div>&nbsp; PnlGelismisCard.Margins.Top = 15; PnlGelismisCard.Margins.Bottom = 15; PnlGelismisCard.Margins.Left = 15; PnlGelismisCard.Margins.Right = 15;</div><div>&nbsp; PnlGelismisCard.clProSettings.BackgroundColor = clAlphaColor.clWhite;</div><div>&nbsp; PnlGelismisCard.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1');</div><div>&nbsp; PnlGelismisCard.clProSettings.BorderWidth = 1; PnlGelismisCard.clProSettings.IsFill = True;</div><div>&nbsp; PnlGelismisCard.clProSettings.IsRound = True; PnlGelismisCard.clProSettings.RoundHeight = 12; PnlGelismisCard.clProSettings.RoundWidth = 12;</div><div>&nbsp; PnlGelismisCard.SetclProSettings(PnlGelismisCard.clProSettings);</div><div><br></div><div>&nbsp; LblOperatorTitle = FormGelismis.AddNewProLabel(PnlGelismisCard, 'LblOperatorTitle', 'Gelişmiş Operatör Filtresi');</div><div>&nbsp; LblOperatorTitle.Align = alTop; LblOperatorTitle.Height = 35; LblOperatorTitle.Margins.Left = 15; LblOperatorTitle.Margins.Top = 15;</div><div>&nbsp; LblOperatorTitle.clProSettings.FontColor = clAlphaColor.clHexToColor('#0F172A');</div><div>&nbsp; LblOperatorTitle.clProSettings.FontSize = 16; LblOperatorTitle.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; LblOperatorTitle.SetclProSettings(LblOperatorTitle.clProSettings);</div><div><br></div><div>&nbsp; GrpOperator = FormGelismis.AddNewProPanel(PnlGelismisCard, 'GrpOperator');</div><div>&nbsp; GrpOperator.Align = alTop; GrpOperator.Height = 58; GrpOperator.Margins.Top = 10; GrpOperator.Margins.Left = 15; GrpOperator.Margins.Right = 15;</div><div>&nbsp; GrpOperator.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F8FAFC');</div><div>&nbsp; GrpOperator.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1'); GrpOperator.clProSettings.BorderWidth = 1;</div><div>&nbsp; GrpOperator.clProSettings.IsFill = True; GrpOperator.clProSettings.IsRound = True;</div><div>&nbsp; GrpOperator.clProSettings.RoundHeight = 8; GrpOperator.clProSettings.RoundWidth = 8;</div><div>&nbsp; GrpOperator.SetclProSettings(GrpOperator.clProSettings);</div><div><br></div><div>&nbsp; LblOperator = FormGelismis.AddNewProLabel(GrpOperator, 'LblOperator', 'Operatör Kodu:');</div><div>&nbsp; LblOperator.Align = alTop; LblOperator.Height = 18; LblOperator.Margins.Left = 10; LblOperator.Margins.Top = 6;</div><div>&nbsp; LblOperator.clProSettings.FontColor = clAlphaColor.clHexToColor('#475569'); LblOperator.clProSettings.FontSize = 12; LblOperator.SetclProSettings(LblOperator.clProSettings);</div><div><br></div><div>&nbsp; EdtOperator = FormGelismis.AddNewEdit(GrpOperator, 'EdtOperator', '');</div><div>&nbsp; EdtOperator.Align = alClient; EdtOperator.Margins.Left = 10; EdtOperator.Margins.Right = 50; EdtOperator.Margins.Bottom = 7; EdtOperator.Margins.Top = 2;</div><div>&nbsp; EdtOperator.ReadOnly = True;</div><div><br></div><div>&nbsp; BtnOperatorRehber = FormGelismis.AddNewProButton(GrpOperator, 'BtnOperatorRehber', '&#128269;');</div><div>&nbsp; BtnOperatorRehber.Align = alRight; BtnOperatorRehber.Width = 40; BtnOperatorRehber.Margins.Right = 6; BtnOperatorRehber.Margins.Top = 2; BtnOperatorRehber.Margins.Bottom = 6;</div><div>&nbsp; BtnOperatorRehber.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#E2E8F0');</div><div>&nbsp; BtnOperatorRehber.clProSettings.FontColor = clAlphaColor.clHexToColor('#1E293B');</div><div>&nbsp; BtnOperatorRehber.clProSettings.IsFill = True; BtnOperatorRehber.clProSettings.IsRound = True;</div><div>&nbsp; BtnOperatorRehber.clProSettings.RoundHeight = 6; BtnOperatorRehber.clProSettings.RoundWidth = 6;</div><div>&nbsp; BtnOperatorRehber.clProSettings.FontSize = 14;</div><div>&nbsp; BtnOperatorRehber.SetclProSettings(BtnOperatorRehber.clProSettings);</div><div>&nbsp; FormGelismis.AddNewEvent(BtnOperatorRehber, tbeOnClick, 'BtnRehberOperatorClick');</div><div><br></div><div>&nbsp; BtnGelismisUygula = FormGelismis.AddNewProButton(PnlGelismisCard, 'BtnGelismisUygula', 'Filtreyi Uygula');</div><div>&nbsp; BtnGelismisUygula.Align = alTop; BtnGelismisUygula.Height = 40; BtnGelismisUygula.Margins.Top = 20; BtnGelismisUygula.Margins.Left = 15; BtnGelismisUygula.Margins.Right = 15;</div><div>&nbsp; BtnGelismisUygula.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#0284C7');</div><div>&nbsp; BtnGelismisUygula.clProSettings.FontColor = clAlphaColor.clWhite; BtnGelismisUygula.clProSettings.IsFill = True;</div><div>&nbsp; BtnGelismisUygula.clProSettings.IsRound = True; BtnGelismisUygula.clProSettings.RoundHeight = 8; BtnGelismisUygula.clProSettings.RoundWidth = 8;</div><div>&nbsp; BtnGelismisUygula.SetclProSettings(BtnGelismisUygula.clProSettings);</div><div>&nbsp; FormGelismis.AddNewEvent(BtnGelismisUygula, tbeOnClick, 'GelismisFormuUygulaClick');</div><div><br></div><div>&nbsp; BtnGelismisKapat = FormGelismis.AddNewProButton(PnlGelismisCard, 'BtnGelismisKapat', 'Kapat');</div><div>&nbsp; BtnGelismisKapat.Align = alTop; BtnGelismisKapat.Height = 35; BtnGelismisKapat.Margins.Top = 8; BtnGelismisKapat.Margins.Left = 15; BtnGelismisKapat.Margins.Right = 15;</div><div>&nbsp; BtnGelismisKapat.clProSettings.BackgroundColor = clAlphaColor.clWhite;</div><div>&nbsp; BtnGelismisKapat.clProSettings.FontColor = clAlphaColor.clHexToColor('#334155');</div><div>&nbsp; BtnGelismisKapat.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1'); BtnGelismisKapat.clProSettings.BorderWidth = 1;</div><div>&nbsp; BtnGelismisKapat.clProSettings.IsFill = True; BtnGelismisKapat.clProSettings.IsRound = True;</div><div>&nbsp; BtnGelismisKapat.clProSettings.RoundHeight = 8; BtnGelismisKapat.clProSettings.RoundWidth = 8;</div><div>&nbsp; BtnGelismisKapat.SetclProSettings(BtnGelismisKapat.clProSettings);</div><div>&nbsp; FormGelismis.AddNewEvent(BtnGelismisKapat, tbeOnClick, 'GelismisFormuKapatClick');</div><div><br></div><div>&nbsp; FormGelismis.Run;</div><div>}</div><div><br></div><div>void ToggleDetailPanel(Goster: Boolean);</div><div>var i: Integer;</div><div>{</div><div>&nbsp; PnlDetailOverlay.Visible = Goster;</div><div><br></div><div>&nbsp; if (Goster == True) { ScrollForm.Visible = False; }</div><div>&nbsp; else { ScrollForm.Visible = True; }</div><div><br></div><div>&nbsp; for (i = 0 to 11)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (i == 5) { DetPnl&#091;5&#093;.Visible = False; DetPnl&#091;5&#093;.Height = 0; }</div><div>&nbsp; &nbsp; else if (i == 10)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; if (Goster == True)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (Trim(KayitTur&#091;ActiveEditIndex&#093;) == 'Ariza')</div><div>&nbsp; &nbsp; &nbsp; &nbsp; { DetPnl&#091;10&#093;.Visible = True; DetPnl&#091;10&#093;.Height = 120; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; &nbsp; { DetPnl&#091;10&#093;.Visible = False; DetPnl&#091;10&#093;.Height = 0; }</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; { DetPnl&#091;10&#093;.Visible = False; DetPnl&#091;10&#093;.Height = 0; }</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void ShowDetailPanel;</div><div>var TurMetni: String;</div><div>{</div><div>&nbsp; TurMetni = Trim(KayitTur&#091;ActiveEditIndex&#093;);</div><div>&nbsp; if ((TurMetni == 'Bakim') || (TurMetni == 'Bakım') || (Pos('Bakim', TurMetni) &gt; 0) || (Pos('Periyodik', TurMetni) &gt; 0))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; LblDetailTitle.Text = 'Bakim Hareketleri Detayi';</div><div>&nbsp; &nbsp; if (DetLbl&#091;4&#093; &lt;&gt; nil) { DetLbl&#091;4&#093;.Text = 'Bakim Kodu:'; }</div><div>&nbsp; }</div><div>&nbsp; else</div><div>&nbsp; {</div><div>&nbsp; &nbsp; LblDetailTitle.Text = 'Ariza Hareketleri Detayi';</div><div>&nbsp; &nbsp; if (DetLbl&#091;4&#093; &lt;&gt; nil) { DetLbl&#091;4&#093;.Text = 'Ariza Kodu:'; }</div><div>&nbsp; }</div><div><br></div><div>&nbsp; DetEdt&#091;0&#093;.Text = KayitBelgeNo&#091;ActiveEditIndex&#093;;</div><div>&nbsp; DetEdt&#091;1&#093;.Text = KayitPlanlanan&#091;ActiveEditIndex&#093;;</div><div>&nbsp; DetEdt&#091;2&#093;.Text = KayitMakine&#091;ActiveEditIndex&#093;;</div><div>&nbsp; DetEdt&#091;3&#093;.Text = KayitOperator&#091;ActiveEditIndex&#093;;</div><div>&nbsp; DetEdt&#091;4&#093;.Text = KayitTip&#091;ActiveEditIndex&#093;;</div><div>&nbsp; DetEdt&#091;6&#093;.Text = KayitBaslangic&#091;ActiveEditIndex&#093;;</div><div>&nbsp; DetEdt&#091;7&#093;.Text = KayitBitisTur&#091;ActiveEditIndex&#093;;</div><div>&nbsp; DetEdt&#091;8&#093;.Text = KayitKisi&#091;ActiveEditIndex&#093;;</div><div>&nbsp; DetEdt&#091;9&#093;.Text = KayitAciklama&#091;ActiveEditIndex&#093;;</div><div>&nbsp; DetMemoNeden.Text = KayitNeden&#091;ActiveEditIndex&#093;;</div><div>&nbsp; DetEdt&#091;11&#093;.Text = KayitDurum&#091;ActiveEditIndex&#093;;</div><div><br></div><div>&nbsp; ToggleDetailPanel(True);</div><div>}</div><div><br></div><div>void OnCardLabelClicked;</div><div>var ClickedLabel: TclProLabel;</div><div>{</div><div>&nbsp; ClickedLabel = TclProLabel(FormFiltre.clSender);</div><div>&nbsp; ActiveEditIndex = ClickedLabel.clTagInt;</div><div>&nbsp; ShowDetailPanel;</div><div>}</div><div><br></div><div>void OnCardPanelClicked;</div><div>var ClickedPanel: TclProPanel;</div><div>{</div><div>&nbsp; ClickedPanel = TclProPanel(FormFiltre.clSender);</div><div>&nbsp; ActiveEditIndex = ClickedPanel.clTagInt;</div><div>&nbsp; ShowDetailPanel;</div><div>}</div><div><br></div><div>void TabClick;</div><div>var ClickedBtn: TclProButton;</div><div>{</div><div>&nbsp; ClickedBtn = TclProButton(FormFiltre.clSender);</div><div>&nbsp; if (ClickedBtn.clTagInt == 1) { AktifSekme = 'YAKLASAN'; }</div><div>&nbsp; else if (ClickedBtn.clTagInt == 2) { AktifSekme = 'BEKLEYEN'; }</div><div>&nbsp; else if (ClickedBtn.clTagInt == 3) { AktifSekme = 'TAMAMLANAN'; }</div><div>&nbsp; RefreshListe;</div><div>}</div><div><br></div><div>void SaveEditClick;</div><div>var</div><div>&nbsp; DosyaYolu, Satir: String;</div><div>&nbsp; YeniListe: TclStringList;</div><div>&nbsp; i: Integer;</div><div>{</div><div>&nbsp; KayitBelgeNo&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;0&#093;.Text);</div><div>&nbsp; KayitPlanlanan&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;1&#093;.Text);</div><div>&nbsp; KayitMakine&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;2&#093;.Text);</div><div>&nbsp; KayitOperator&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;3&#093;.Text);</div><div>&nbsp; KayitTip&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;4&#093;.Text);</div><div>&nbsp; KayitBaslangic&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;6&#093;.Text);</div><div>&nbsp; KayitBitisTur&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;7&#093;.Text);</div><div>&nbsp; KayitKisi&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;8&#093;.Text);</div><div>&nbsp; KayitAciklama&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;9&#093;.Text);</div><div>&nbsp; KayitNeden&#091;ActiveEditIndex&#093; = TemizleMetin(DetMemoNeden.Text);</div><div>&nbsp; KayitDurum&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;11&#093;.Text);</div><div><br></div><div>&nbsp; YeniListe = Clomosy.StringListNew;</div><div>&nbsp; i = KayitCount - 1;</div><div>&nbsp; while (i &gt;= 0)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Satir = KayitTur<em> + '|' + KayitBelgeNo<em> + '|' + KayitMakine<em> + '|' + KayitTip<em> + '|' +</div><div>&nbsp; &nbsp; &nbsp; KayitPlanlanan<em> + '|' + KayitDurum<em> + '|' + KayitAy<em> + '|' + KayitYil<em> + '|' + KayitPeriyot<em> + '|' +</div><div>&nbsp; &nbsp; &nbsp; KayitOperator<em> + '|KALDIRILDI|' + KayitBaslangic<em> + '|' + KayitBitisTur<em> + '|' +</div><div>&nbsp; &nbsp; &nbsp; KayitKisi<em> + '|' + KayitAciklama<em> + '|' + KayitNeden<em>;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; YeniListe.Add(Satir);</div><div>&nbsp; &nbsp; i = i - 1;</div><div>&nbsp; }</div><div>&nbsp; DosyaYolu = clPathCombine('BakimVerileri.txt', Clomosy.AppFilesPath);</div><div>&nbsp; YeniListe.SaveToFile(DosyaYolu, 0);</div><div>&nbsp; YeniListe.Free;</div><div><br></div><div>&nbsp; ToggleDetailPanel(False);</div><div>&nbsp; RefreshListe;</div><div>}</div><div><br></div><div>void MarkAsCompletedClick;</div><div>{</div><div>&nbsp; DetEdt&#091;11&#093;.Text = 'Tamamlandi';</div><div>&nbsp; SaveEditClick;</div><div>}</div><div><br></div><div>void PostponeClick;</div><div>{</div><div>&nbsp; DetEdt&#091;11&#093;.Text = '10 Gun Ertelendi';</div><div>&nbsp; SaveEditClick;</div><div>}</div><div><br></div><div>void CancelEditClick;</div><div>{</div><div>&nbsp; ToggleDetailPanel(False);</div><div>}</div><div><br></div><div>void ApplyFilter;</div><div>{</div><div>&nbsp; RefreshListe;</div><div>}</div><div><br></div><div>void ClearFilter;</div><div>{</div><div>&nbsp; CmbTur.ItemIndex = 0;</div><div>&nbsp; CmbAy.ItemIndex = 0;</div><div>&nbsp; CmbYil.ItemIndex = 0;</div><div>&nbsp; CmbPeriyot.ItemIndex = 0;</div><div>&nbsp; SecilenOperatorFiltresi = 'Tumu';</div><div>&nbsp; RefreshListe;</div><div>}</div><div><br></div><div>void GoBack;</div><div>{</div><div>&nbsp; FormFiltre.Close;</div><div>}</div><div><br></div><div>void AyarlariYenile;</div><div>var</div><div>&nbsp; YuklenenAyarlar: TclStringList;</div><div>&nbsp; OkunanDosyaYolu, TmpDeger: String;</div><div>{</div><div>&nbsp; VerileriDosyadanYukle;</div><div>&nbsp; OkunanDosyaYolu = clPathCombine('UygulamaAyarlari_V3.txt', Clomosy.AppFilesPath);</div><div>&nbsp; if (clFileExists(OkunanDosyaYolu, ''))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; YuklenenAyarlar = Clomosy.StringListNew;</div><div>&nbsp; &nbsp; YuklenenAyarlar.LoadFromFile(OkunanDosyaYolu, 0);</div><div>&nbsp; &nbsp; if (YuklenenAyarlar.Count &gt; 0) { TmpDeger = Trim(Clomosy.StringListItemString(YuklenenAyarlar, 0)); if (TmpDeger &lt;&gt; '') { OkunanTemaIndex = StrToInt(TmpDeger); } }</div><div>&nbsp; &nbsp; if (YuklenenAyarlar.Count &gt; 1) { TmpDeger = Trim(Clomosy.StringListItemString(YuklenenAyarlar, 1)); if (TmpDeger &lt;&gt; '') { OkunanBoyutIndex = StrToInt(TmpDeger); } }</div><div>&nbsp; &nbsp; if (YuklenenAyarlar.Count &gt; 2) { TmpDeger = Trim(Clomosy.StringListItemString(YuklenenAyarlar, 2)); if (TmpDeger &lt;&gt; '') { gAktifDilIndex = StrToInt(TmpDeger); } }</div><div>&nbsp; &nbsp; if (YuklenenAyarlar.Count &gt; 5) { TmpDeger = Trim(Clomosy.StringListItemString(YuklenenAyarlar, 5)); if (TmpDeger &lt;&gt; '') { OkunanFontAdi = TmpDeger; } }</div><div>&nbsp; &nbsp; if (OkunanBoyutIndex == 0) { UiFontSize = 12; }</div><div>&nbsp; &nbsp; else if (OkunanBoyutIndex == 2) { UiFontSize = 16; }</div><div>&nbsp; &nbsp; else { UiFontSize = 14; }</div><div>&nbsp; &nbsp; YuklenenAyarlar.Free;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; AyarDosyasindanTemayiYukle(OkunanTemaIndex);</div><div>&nbsp; ApplyUiSettings;</div><div>&nbsp; RefreshListe;</div><div>}</div><div><br></div><div>{</div><div>&nbsp; FormFiltre = TclGameForm.Create(Self);</div><div>&nbsp; FormFiltre.LytTopBar.Visible = False;</div><div>&nbsp; FormFiltre.BtnGoBack.Visible = False;</div><div>&nbsp; FormFiltre.BtnFormMenu.Visible = False;</div><div><br></div><div>&nbsp; OkunanTemaIndex = 0; UiFontSize = 13;</div><div>&nbsp; OkunanUyariRengi = '#EF4444'; OkunanYaziRengi = '#1E293B';</div><div>&nbsp; OkunanKartRengi = '#FFFFFF'; OkunanZeminRengi = '#F8FAFC';</div><div>&nbsp; OkunanFontAdi = 'Arial'; OkunanStilIndex = 0; OkunanHizaIndex = 1; GlobalAktifDilIndex = 0;</div><div>&nbsp; AktifSekme = 'BEKLEYEN';</div><div>&nbsp; SecilenOperatorFiltresi = 'Tumu';</div><div><br></div><div>&nbsp; AyarDosyasindanTemayiYukle(OkunanTemaIndex);</div><div><br></div><div>&nbsp; PnlNavBar = FormFiltre.AddNewProPanel(FormFiltre, 'PnlNavBar');</div><div>&nbsp; PnlNavBar.Align = alTop; PnlNavBar.Height = 75; StyleHeaderBar(PnlNavBar);</div><div><br></div><div>&nbsp; BtnBack = FormFiltre.AddNewProButton(PnlNavBar, 'BtnBack', '&lt;');</div><div>&nbsp; BtnBack.Align = alLeft; BtnBack.Width = 45; BtnBack.Margins.Top = 20; BtnBack.Margins.Left = 5;</div><div>&nbsp; BtnBack.clProSettings.FontColor = clAlphaColor.clWhite; BtnBack.clProSettings.BorderWidth = 0; BtnBack.clProSettings.IsFill = False;</div><div>&nbsp; BtnBack.clProSettings.FontSize = 20; BtnBack.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; BtnBack.SetclProSettings(BtnBack.clProSettings); FormFiltre.AddNewEvent(BtnBack, tbeOnClick, 'GoBack');</div><div><br></div><div>&nbsp; LblTitle = FormFiltre.AddNewProLabel(PnlNavBar, 'LblTitle', ''); LblTitle.Align = alClient; LblTitle.Margins.Left = 8; LblTitle.Margins.Top = 20;</div><div>&nbsp; LblTitle.clProSettings.FontColor = clAlphaColor.clWhite; LblTitle.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; LblTitle.clProSettings.FontVertAlign = palcenter; LblTitle.SetclProSettings(LblTitle.clProSettings);</div><div><br></div><div>&nbsp; BtnGelismisOpen = FormFiltre.AddNewProButton(PnlNavBar, 'BtnGelismisOpen', 'Gelişmiş Form');</div><div>&nbsp; BtnGelismisOpen.Align = alRight; BtnGelismisOpen.Width = 110; BtnGelismisOpen.Margins.Top = 18; BtnGelismisOpen.Margins.Bottom = 18; BtnGelismisOpen.Margins.Right = 10;</div><div>&nbsp; BtnGelismisOpen.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#0284C7');</div><div>&nbsp; BtnGelismisOpen.clProSettings.FontColor = clAlphaColor.clWhite; BtnGelismisOpen.clProSettings.IsFill = True;</div><div>&nbsp; BtnGelismisOpen.clProSettings.IsRound = True; BtnGelismisOpen.clProSettings.RoundHeight = 6; BtnGelismisOpen.clProSettings.RoundWidth = 6;</div><div>&nbsp; BtnGelismisOpen.clProSettings.FontSize = 12; BtnGelismisOpen.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; BtnGelismisOpen.SetclProSettings(BtnGelismisOpen.clProSettings);</div><div>&nbsp; FormFiltre.AddNewEvent(BtnGelismisOpen, tbeOnClick, 'OpenGelismisForm');</div><div><br></div><div>&nbsp; ScrollForm = FormFiltre.AddNewVertScrollBox(FormFiltre, 'ScrollForm'); ScrollForm.Align = alClient;</div><div><br></div><div>&nbsp; PnlMainCard = FormFiltre.AddNewProPanel(ScrollForm, 'PnlMainCard'); PnlMainCard.Align = alTop; PnlMainCard.Height = 1050; PnlMainCard.Margins.Top = 12; PnlMainCard.Margins.Left = 10; PnlMainCard.Margins.Right = 10; PnlMainCard.Margins.Bottom = 15;</div><div>&nbsp; StyleMainCard(PnlMainCard);</div><div><br></div><div>&nbsp; LblTitleFilter = FormFiltre.AddNewProLabel(PnlMainCard, 'LblTitleFilter', ''); LblTitleFilter.Align = alTop; LblTitleFilter.Height = 28; LblTitleFilter.Margins.Left = 12; LblTitleFilter.Margins.Top = 15; StyleSectionTitle(LblTitleFilter);</div><div><br></div><div>&nbsp; GrpTur = FormFiltre.AddNewProPanel(PnlMainCard, 'GrpTur'); GrpTur.Align = alTop; GrpTur.Height = 54; GrpTur.Margins.Top = 8; GrpTur.Margins.Left = 12; GrpTur.Margins.Right = 12; StyleInputPanel(GrpTur);</div><div>&nbsp; LblTur = FormFiltre.AddNewProLabel(GrpTur, 'LblTur', ''); LblTur.Align = alTop; LblTur.Height = 16; LblTur.Margins.Left = 10; LblTur.Margins.Top = 5; StyleInputLabel(LblTur);</div><div>&nbsp; CmbTur = FormFiltre.AddNewComboBox(GrpTur, 'CmbTur'); CmbTur.Align = alClient; CmbTur.Margins.Left = 10; CmbTur.Margins.Right = 10; CmbTur.Margins.Bottom = 6;</div><div><br></div><div>&nbsp; GrpPeriyot = FormFiltre.AddNewProPanel(PnlMainCard, 'GrpPeriyot'); GrpPeriyot.Align = alTop; GrpPeriyot.Height = 54; GrpPeriyot.Margins.Top = 6; GrpPeriyot.Margins.Left = 12; GrpPeriyot.Margins.Right = 12; StyleInputPanel(GrpPeriyot);</div><div>&nbsp; LblPeriyot = FormFiltre.AddNewProLabel(GrpPeriyot, 'LblPeriyot', ''); LblPeriyot.Align = alTop; LblPeriyot.Height = 16; LblPeriyot.Margins.Left = 10; LblPeriyot.Margins.Top = 5; StyleInputLabel(LblPeriyot);</div><div>&nbsp; CmbPeriyot = FormFiltre.AddNewComboBox(GrpPeriyot, 'CmbPeriyot'); CmbPeriyot.Align = alClient; CmbPeriyot.Margins.Left = 10; CmbPeriyot.Margins.Right = 10; CmbPeriyot.Margins.Bottom = 6;</div><div><br></div><div>&nbsp; GrpAy = FormFiltre.AddNewProPanel(PnlMainCard, 'GrpAy'); GrpAy.Align = alTop; GrpAy.Height = 54; GrpAy.Margins.Top = 6; GrpAy.Margins.Left = 12; GrpAy.Margins.Right = 12; StyleInputPanel(GrpAy);</div><div>&nbsp; LblAy = FormFiltre.AddNewProLabel(GrpAy, 'LblAy', ''); LblAy.Align = alTop; LblAy.Height = 16; LblAy.Margins.Left = 10; LblAy.Margins.Top = 5; StyleInputLabel(LblAy);</div><div>&nbsp; CmbAy = FormFiltre.AddNewComboBox(GrpAy, 'CmbAy'); CmbAy.Align = alClient; CmbAy.Margins.Left = 10; CmbAy.Margins.Right = 10; CmbAy.Margins.Bottom = 6;</div><div><br></div><div>&nbsp; GrpYil = FormFiltre.AddNewProPanel(PnlMainCard, 'GrpYil'); GrpYil.Align = alTop; GrpYil.Height = 54; GrpYil.Margins.Top = 6; GrpYil.Margins.Left = 12; GrpYil.Margins.Right = 12; StyleInputPanel(GrpYil);</div><div>&nbsp; LblYil = FormFiltre.AddNewProLabel(GrpYil, 'LblYil', ''); LblYil.Align = alTop; LblYil.Height = 16; LblYil.Margins.Left = 10; LblYil.Margins.Top = 5; StyleInputLabel(LblYil);</div><div>&nbsp; CmbYil = FormFiltre.AddNewComboBox(GrpYil, 'CmbYil'); CmbYil.Align = alClient; CmbYil.Margins.Left = 10; CmbYil.Margins.Right = 10; CmbYil.Margins.Bottom = 6;</div><div><br></div><div>&nbsp; PnlFilterButtons = FormFiltre.AddNewProPanel(PnlMainCard, 'PnlFilterButtons'); PnlFilterButtons.Align = alTop; PnlFilterButtons.Height = 46; PnlFilterButtons.Margins.Top = 14; PnlFilterButtons.Margins.Left = 12; PnlFilterButtons.Margins.Right = 12; PnlFilterButtons.clProSettings.BorderWidth = 0; PnlFilterButtons.SetclProSettings(PnlFilterButtons.clProSettings);</div><div>&nbsp; BtnUygula = FormFiltre.AddNewProButton(PnlFilterButtons, 'BtnUygula', ''); BtnUygula.Align = alLeft; BtnUygula.Width = 100; BtnUygula.Margins.Right = 10; StylePrimaryButton(BtnUygula); FormFiltre.AddNewEvent(BtnUygula, tbeOnClick, 'ApplyFilter');</div><div>&nbsp; BtnTemizle = FormFiltre.AddNewProButton(PnlFilterButtons, 'BtnTemizle', ''); BtnTemizle.Align = alLeft; BtnTemizle.Width = 90; StyleSecondaryButton(BtnTemizle); FormFiltre.AddNewEvent(BtnTemizle, tbeOnClick, 'ClearFilter');</div><div><br></div><div>&nbsp; LblTitleList = FormFiltre.AddNewProLabel(PnlMainCard, 'LblTitleList', ''); LblTitleList.Align = alTop; LblTitleList.Height = 28; LblTitleList.Margins.Left = 12; LblTitleList.Margins.Top = 18; StyleSectionTitle(LblTitleList);</div><div><br></div><div>&nbsp; PnlTabs = FormFiltre.AddNewProPanel(PnlMainCard, 'PnlTabs'); PnlTabs.Align = alTop; PnlTabs.Height = 42; PnlTabs.Margins.Left = 12; PnlTabs.Margins.Right = 12; PnlTabs.Margins.Top = 4; PnlTabs.clProSettings.BorderWidth = 0; PnlTabs.SetclProSettings(PnlTabs.clProSettings);</div><div><br></div><div>&nbsp; BtnTabYaklasan = FormFiltre.AddNewProButton(PnlTabs, 'BtnTabYaklasan', 'Yaklasan (5 Gun)'); BtnTabYaklasan.Align = alLeft; BtnTabYaklasan.Width = 115; BtnTabYaklasan.Margins.Right = 6; BtnTabYaklasan.clTagInt = 1; FormFiltre.AddNewEvent(BtnTabYaklasan, tbeOnClick, 'TabClick');</div><div>&nbsp; BtnTabBekleyen = FormFiltre.AddNewProButton(PnlTabs, 'BtnTabBekleyen', 'Bekleyenler'); BtnTabBekleyen.Align = alLeft; BtnTabBekleyen.Width = 105; BtnTabBekleyen.Margins.Right = 6; BtnTabBekleyen.clTagInt = 2; FormFiltre.AddNewEvent(BtnTabBekleyen, tbeOnClick, 'TabClick');</div><div>&nbsp; BtnTabTamamlanan = FormFiltre.AddNewProButton(PnlTabs, 'BtnTabTamamlanan', 'Tamamlananlar'); BtnTabTamamlanan.Align = alLeft; BtnTabTamamlanan.Width = 115; BtnTabTamamlanan.clTagInt = 3; FormFiltre.AddNewEvent(BtnTabTamamlanan, tbeOnClick, 'TabClick');</div><div><br></div><div>&nbsp; LblEmpty = FormFiltre.AddNewProLabel(PnlMainCard, 'LblEmpty', ''); LblEmpty.Align = alTop; LblEmpty.Height = 28; LblEmpty.Margins.Left = 15; LblEmpty.Margins.Top = 10; LblEmpty.clProSettings.FontColor = clAlphaColor.clHexToColor('#475569'); LblEmpty.SetclProSettings(LblEmpty.clProSettings);</div><div><br></div><div>&nbsp; PnlListHost = FormFiltre.AddNewProPanel(PnlMainCard, 'PnlListHost'); PnlListHost.Align = alTop; PnlListHost.clProSettings.BorderWidth = 0; PnlListHost.SetclProSettings(PnlListHost.clProSettings);</div><div><br></div><div>&nbsp; for (TmpIndex = 1 to 100)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; CardPanel&#091;TmpIndex&#093; = FormFiltre.AddNewProPanel(PnlListHost, 'CardPanel' + IntToStr(TmpIndex));</div><div>&nbsp; &nbsp; CardPanel&#091;TmpIndex&#093;.Align = alTop; CardPanel&#091;TmpIndex&#093;.Margins.Top = 10; CardPanel&#091;TmpIndex&#093;.Margins.Left = 12; CardPanel&#091;TmpIndex&#093;.Margins.Right = 12; CardPanel&#091;TmpIndex&#093;.Height = 170;</div><div>&nbsp; &nbsp; CardPanel&#091;TmpIndex&#093;.clProSettings.BorderWidth = 1; CardPanel&#091;TmpIndex&#093;.clProSettings.IsFill = True; CardPanel&#091;TmpIndex&#093;.clProSettings.IsRound = True; CardPanel&#091;TmpIndex&#093;.clProSettings.RoundHeight = 8; CardPanel&#091;TmpIndex&#093;.clProSettings.RoundWidth = 8; CardPanel&#091;TmpIndex&#093;.SetclProSettings(CardPanel&#091;TmpIndex&#093;.clProSettings);</div><div>&nbsp; &nbsp; FormFiltre.AddNewEvent(CardPanel&#091;TmpIndex&#093;, tbeOnClick, 'OnCardPanelClicked');</div><div><br></div><div>&nbsp; &nbsp; CardTitle&#091;TmpIndex&#093; = FormFiltre.AddNewProLabel(CardPanel&#091;TmpIndex&#093;, 'CardTitle' + IntToStr(TmpIndex), '');</div><div>&nbsp; &nbsp; CardTitle&#091;TmpIndex&#093;.Align = alTop; CardTitle&#091;TmpIndex&#093;.Height = 32;</div><div>&nbsp; &nbsp; CardTitle&#091;TmpIndex&#093;.clProSettings.FontColor = clAlphaColor.clWhite; CardTitle&#091;TmpIndex&#093;.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; CardTitle&#091;TmpIndex&#093;.clProSettings.IsFill = True; CardTitle&#091;TmpIndex&#093;.clProSettings.IsRound = True; CardTitle&#091;TmpIndex&#093;.clProSettings.RoundHeight = 8; CardTitle&#091;TmpIndex&#093;.clProSettings.RoundWidth = 8; CardTitle&#091;TmpIndex&#093;.SetclProSettings(CardTitle&#091;TmpIndex&#093;.clProSettings);</div><div>&nbsp; &nbsp; FormFiltre.AddNewEvent(CardTitle&#091;TmpIndex&#093;, tbeOnClick, 'OnCardLabelClicked');</div><div><br></div><div>&nbsp; &nbsp; CardDetail&#091;TmpIndex&#093; = FormFiltre.AddNewProLabel(CardPanel&#091;TmpIndex&#093;, 'CardDetail' + IntToStr(TmpIndex), '');</div><div>&nbsp; &nbsp; CardDetail&#091;TmpIndex&#093;.Align = alClient; CardDetail&#091;TmpIndex&#093;.Margins.Left = 10; CardDetail&#091;TmpIndex&#093;.Margins.Right = 10; CardDetail&#091;TmpIndex&#093;.Margins.Top = 6; CardDetail&#091;TmpIndex&#093;.Margins.Bottom = 6; CardDetail&#091;TmpIndex&#093;.clProSettings.WordWrap = True; CardDetail&#091;TmpIndex&#093;.SetclProSettings(CardDetail&#091;TmpIndex&#093;.clProSettings);</div><div>&nbsp; &nbsp; FormFiltre.AddNewEvent(CardDetail&#091;TmpIndex&#093;, tbeOnClick, 'OnCardLabelClicked');</div><div>&nbsp; }</div><div><br></div><div>&nbsp; PnlDetailOverlay = FormFiltre.AddNewProPanel(FormFiltre, 'PnlDetailOverlay');</div><div>&nbsp; PnlDetailOverlay.Align = alClient; PnlDetailOverlay.clProSettings.BackgroundColor = clAlphaColor.clWhite; PnlDetailOverlay.clProSettings.IsFill = True; PnlDetailOverlay.SetclProSettings(PnlDetailOverlay.clProSettings);</div><div><br></div><div>&nbsp; PnlDetailHeader = FormFiltre.AddNewProPanel(PnlDetailOverlay, 'PnlDetailHeader');</div><div>&nbsp; PnlDetailHeader.Align = alTop; PnlDetailHeader.Height = 50;</div><div>&nbsp; PnlDetailHeader.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; PnlDetailHeader.clProSettings.IsFill = True;</div><div>&nbsp; PnlDetailHeader.SetclProSettings(PnlDetailHeader.clProSettings);</div><div><br></div><div>&nbsp; LblDetailTitle = FormFiltre.AddNewProLabel(PnlDetailHeader, 'LblDetailTitle', 'Hareket Detayi');</div><div>&nbsp; LblDetailTitle.Align = alClient; LblDetailTitle.Margins.Left = 15;</div><div>&nbsp; LblDetailTitle.clProSettings.FontColor = clAlphaColor.clHexToColor('#1E293B');</div><div>&nbsp; LblDetailTitle.clProSettings.FontSize = 16;</div><div>&nbsp; LblDetailTitle.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; LblDetailTitle.SetclProSettings(LblDetailTitle.clProSettings);</div><div><br></div><div>&nbsp; DetailScroll = FormFiltre.AddNewVertScrollBox(PnlDetailOverlay, 'DetailScroll');</div><div>&nbsp; DetailScroll.Align = alClient; DetailScroll.Margins.Left = 12; DetailScroll.Margins.Right = 12;</div><div><br></div><div>&nbsp; for (TmpIndex = 0 to 11)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; DetPnl&#091;TmpIndex&#093; = FormFiltre.AddNewProPanel(DetailScroll, 'DetPnl'+IntToStr(TmpIndex));</div><div>&nbsp; &nbsp; DetPnl&#091;TmpIndex&#093;.Align = alTop; DetPnl&#091;TmpIndex&#093;.Margins.Top = 10;</div><div>&nbsp; &nbsp; DetPnl&#091;TmpIndex&#093;.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1'); DetPnl&#091;TmpIndex&#093;.clProSettings.BorderWidth = 1;</div><div>&nbsp; &nbsp; DetPnl&#091;TmpIndex&#093;.clProSettings.IsRound = True; DetPnl&#091;TmpIndex&#093;.clProSettings.RoundHeight = 8; DetPnl&#091;TmpIndex&#093;.clProSettings.RoundWidth = 8;</div><div>&nbsp; &nbsp; DetPnl&#091;TmpIndex&#093;.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F8FAFC');</div><div>&nbsp; &nbsp; DetPnl&#091;TmpIndex&#093;.SetclProSettings(DetPnl&#091;TmpIndex&#093;.clProSettings);</div><div><br></div><div>&nbsp; &nbsp; DetLbl&#091;TmpIndex&#093; = FormFiltre.AddNewProLabel(DetPnl&#091;TmpIndex&#093;, 'DetLbl'+IntToStr(TmpIndex), '');</div><div>&nbsp; &nbsp; DetLbl&#091;TmpIndex&#093;.clProSettings.FontColor = clAlphaColor.clHexToColor('#1E293B'); DetLbl&#091;TmpIndex&#093;.clProSettings.FontSize = 12; DetLbl&#091;TmpIndex&#093;.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; DetLbl&#091;TmpIndex&#093;.SetclProSettings(DetLbl&#091;TmpIndex&#093;.clProSettings);</div><div><br></div><div>&nbsp; &nbsp; if (TmpIndex == 10)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; DetPnl&#091;TmpIndex&#093;.Height = 120;</div><div>&nbsp; &nbsp; &nbsp; DetLbl&#091;TmpIndex&#093;.Align = alTop; DetLbl&#091;TmpIndex&#093;.Height = 25; DetLbl&#091;TmpIndex&#093;.Margins.Left = 10; DetLbl&#091;TmpIndex&#093;.Margins.Top = 5;</div><div>&nbsp; &nbsp; &nbsp; DetMemoNeden = FormFiltre.AddNewMemo(DetPnl&#091;TmpIndex&#093;, 'DetMemoNeden', '');</div><div>&nbsp; &nbsp; &nbsp; DetMemoNeden.Align = alClient; DetMemoNeden.Margins.Left = 10; DetMemoNeden.Margins.Right = 10; DetMemoNeden.Margins.Bottom = 10;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; DetPnl&#091;TmpIndex&#093;.Height = 50;</div><div>&nbsp; &nbsp; &nbsp; DetLbl&#091;TmpIndex&#093;.Align = alLeft; DetLbl&#091;TmpIndex&#093;.Width = 140; DetLbl&#091;TmpIndex&#093;.Margins.Left = 10;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; DetEdt&#091;TmpIndex&#093; = FormFiltre.AddNewEdit(DetPnl&#091;TmpIndex&#093;, 'DetEdt'+IntToStr(TmpIndex), '');</div><div>&nbsp; &nbsp; &nbsp; DetEdt&#091;TmpIndex&#093;.Align = alClient;</div><div>&nbsp; &nbsp; &nbsp; DetEdt&#091;TmpIndex&#093;.Margins.Left = 5;</div><div>&nbsp; &nbsp; &nbsp; DetEdt&#091;TmpIndex&#093;.Margins.Right = 10;</div><div>&nbsp; &nbsp; &nbsp; DetEdt&#091;TmpIndex&#093;.Margins.Top = 5;</div><div>&nbsp; &nbsp; &nbsp; DetEdt&#091;TmpIndex&#093;.Margins.Bottom = 5;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div><br></div><div>&nbsp; PnlDetailButtons = FormFiltre.AddNewProPanel(DetailScroll, 'PnlDetailButtons');</div><div>&nbsp; PnlDetailButtons.Align = alTop; PnlDetailButtons.Height = 65; PnlDetailButtons.Margins.Top = 15; PnlDetailButtons.Margins.Bottom = 20; PnlDetailButtons.clProSettings.BorderWidth = 0; PnlDetailButtons.SetclProSettings(PnlDetailButtons.clProSettings);</div><div><br></div><div>&nbsp; BtnDetailSave = FormFiltre.AddNewProButton(PnlDetailButtons, 'BtnDetailSave', 'Kaydet');</div><div>&nbsp; BtnDetailSave.Align = alLeft; BtnDetailSave.Width = 85; StylePrimaryButton(BtnDetailSave); FormFiltre.AddNewEvent(BtnDetailSave, tbeOnClick, 'SaveEditClick');</div><div><br></div><div>&nbsp; BtnTamamlandi = FormFiltre.AddNewProButton(PnlDetailButtons, 'BtnTamamlandi', 'Tamamlandi');</div><div>&nbsp; BtnTamamlandi.Align = alLeft; BtnTamamlandi.Width = 105; BtnTamamlandi.Margins.Left = 6; StylePrimaryButton(BtnTamamlandi); FormFiltre.AddNewEvent(BtnTamamlandi, tbeOnClick, 'MarkAsCompletedClick');</div><div><br></div><div>&nbsp; BtnErtele = FormFiltre.AddNewProButton(PnlDetailButtons, 'BtnErtele', '10 G. Ertele');</div><div>&nbsp; BtnErtele.Align = alLeft; BtnErtele.Width = 95; BtnErtele.Margins.Left = 6; StyleSecondaryButton(BtnErtele); FormFiltre.AddNewEvent(BtnErtele, tbeOnClick, 'PostponeClick');</div><div><br></div><div>&nbsp; BtnDetailCancel = FormFiltre.AddNewProButton(PnlDetailButtons, 'BtnDetailCancel', 'Kapat');</div><div>&nbsp; BtnDetailCancel.Align = alRight; BtnDetailCancel.Width = 85; StyleSecondaryButton(BtnDetailCancel); FormFiltre.AddNewEvent(BtnDetailCancel, tbeOnClick, 'CancelEditClick');</div><div><br></div><div>&nbsp; ToggleDetailPanel(False);</div><div><br></div><div>&nbsp; FormFiltre.AddNewEvent(FormFiltre, tbeOnFormActivate, 'AyarlariYenile');</div><div>&nbsp; AyarlariYenile;</div><div>&nbsp; FormFiltre.Run;</div><div>}</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}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Thu, 06 Aug 2026 11:05:18 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1646&amp;PID=3816#3816</guid>
  </item> 
  <item>
   <title><![CDATA[operatör hatası : varFormFiltre, FormGelismis, FormRehber:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1646&amp;PID=3815#3815</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=480">kayra22</a><br /><strong>Konu:</strong> 1646<br /><strong>Gönderim Zamanı:</strong> 06&nbsp;Ağustos&nbsp;2026 Saat 10:45<br /><br /><div>var</div><div>FormFiltre, FormGelismis, FormRehber: TclGameForm;</div><div>PnlNavBar, PnlMainCard, PnlFilterButtons, PnlListHost, PnlTabs: TclProPanel;</div><div>GrpTur, GrpPeriyot, GrpAy, GrpYil: TclProPanel;</div><div>BtnBack, BtnUygula, BtnTemizle, BtnGelismisOpen: TclProButton;</div><div>BtnTabYaklasan, BtnTabBekleyen, BtnTabTamamlanan: TclProButton;</div><div>LblTitle, LblTitleFilter, LblTitleList, LblTur, LblPeriyot, LblAy, LblYil, LblEmpty: TclProLabel;</div><div>CmbTur, CmbPeriyot, CmbAy, CmbYil: TclComboBox;</div><div>ScrollForm: TclVertScrollBox;</div><div>CardPanel: array &#091;0..100&#093; of TclProPanel;</div><div>CardTitle: array &#091;0..100&#093; of TclProLabel;</div><div>CardDetail: array &#091;0..100&#093; of TclProLabel;</div><div><br></div><div>KayitTur, KayitBelgeNo, KayitMakine, KayitTip, KayitPlanlanan: array &#091;0..100&#093; of String;</div><div>KayitDurum, KayitAy, KayitYil, KayitPeriyot: array &#091;0..100&#093; of String;</div><div>KayitOperator, KayitBaslangic, KayitBitisTur: array &#091;0..100&#093; of String;</div><div>KayitKisi, KayitAciklama, KayitNeden: array &#091;0..100&#093; of String;</div><div><br></div><div>KayitCount, TmpIndex, TmpVisibleCount, TmpYear: Integer;</div><div>UiFontSize: Integer;</div><div>ThemeKoyuRenk, ThemeAcikRenk, ThemeBorderColor, ThemeBgColor, ThemeTextColor: String;</div><div>OkunanUyariRengi, OkunanYaziRengi, OkunanKartRengi, OkunanZeminRengi, OkunanFontAdi: String;</div><div>OkunanTemaIndex, OkunanBoyutIndex, OkunanStilIndex, OkunanHizaIndex, GlobalAktifDilIndex: Integer;</div><div><br></div><div>// Gelişmiş Form Bileşenleri</div><div>PnlGelismisCard, GrpOperator: TclProPanel;</div><div>LblOperatorTitle, LblOperator: TclProLabel;</div><div>EdtOperator: TclEdit;</div><div>BtnOperatorRehber, BtnGelismisKapat, BtnGelismisUygula: TclProButton;</div><div>SecilenOperatorFiltresi: String;</div><div><br></div><div>// Rehber Formu Bileşenleri</div><div>PnlRehberCard: TclProPanel;</div><div>LblRehberTitle: TclProLabel;</div><div>EdtRehberArama: TclProEdit;</div><div>LsvBelgeRehber: TClProListView;</div><div>RehberJsonData: TclJsonQuery;</div><div>GlobalLookupType: String;</div><div><br></div><div>PnlDetailOverlay, PnlDetailHeader, PnlDetailButtons: TclProPanel;</div><div>DetailScroll: TclVertScrollBox;</div><div>LblDetailTitle: TclProLabel;</div><div>BtnDetailSave, BtnDetailCancel, BtnTamamlandi, BtnErtele: TclProButton;</div><div><br></div><div>DetPnl: array&#091;0..11&#093; of TclProPanel;</div><div>DetLbl: array&#091;0..11&#093; of TclProLabel;</div><div>DetEdt: array&#091;0..11&#093; of TclEdit;</div><div>DetMemoNeden: TclMemo;</div><div>ActiveEditIndex: Integer;</div><div>gAktifDilIndex: Integer;</div><div>AktifSekme: String;</div><div>IsDBConnected: Boolean;</div><div><br></div><div>void ConnectToDatabase;</div><div>{</div><div>try</div><div>&nbsp;Clomosy.DBSQLServerConnect('SQL Server','192.168.1.39','sa','1','ATIKER_YAZILIM',50000);</div><div>&nbsp;IsDBConnected = True;</div><div>except</div><div>&nbsp;IsDBConnected = False;</div><div>}</div><div>}</div><div><br></div><div>function GetText(Key: String): String;</div><div>var TKey: String;</div><div>{</div><div>TKey = Trim(Key);</div><div>Result = TKey;</div><div>if (TKey == 'FORM_TITLE') { Result = 'Filtre ve Kayitlar'; }</div><div>else if (TKey == 'SEC_FILTER') { Result = 'FILTRELEME KRITERLERI'; }</div><div>else if (TKey == 'SEC_RESULTS') { Result = 'BAKIM VE ARIZA SONUCLARI'; }</div><div>else if (TKey == 'LBL_TUR') { Result = 'Kayit Turu:'; }</div><div>else if (TKey == 'LBL_PERIYOT') { Result = 'Periyot:'; }</div><div>else if (TKey == 'LBL_AY') { Result = 'Ay:'; }</div><div>else if (TKey == 'LBL_YIL') { Result = 'Yil:'; }</div><div>else if (TKey == 'BTN_APPLY') { Result = 'Filtrele'; }</div><div>else if (TKey == 'BTN_CLEAR') { Result = 'Sifirla'; }</div><div>else if (TKey == 'MSG_EMPTY') { Result = 'Secilen kriterlere uygun kayit bulunamadi.'; }</div><div>else if (TKey == 'ALL') { Result = 'Tumu'; }</div><div>else if (Key == 'ARA_OPERATOR') { Result = 'Operator Ara...'; }</div><div>else if (Key == 'LST_BOS') { Result = 'Listede operator yok'; }</div><div>}</div><div><br></div><div>function GuvenliRenkAl(HamDeger: String): String;</div><div>var Temiz: String;</div><div>{</div><div>Temiz = Trim(HamDeger);</div><div>if (Length(Temiz) &gt;= 4)</div><div>{</div><div>&nbsp;if (Length(Temiz) &gt; 7) { Result = Copy(Temiz, 1, 7); }</div><div>&nbsp;else { Result = Temiz; }</div><div>}</div><div>else { Result = ''; }</div><div>}</div><div><br></div><div>function TemizleMetin(HamMetin: String): String;</div><div>var</div><div>i: Integer;</div><div>Karakter: String;</div><div>{</div><div>Result = '';</div><div>for (i = 1 to Length(HamMetin))</div><div>{</div><div>&nbsp;Karakter = Copy(HamMetin, i, 1);</div><div>&nbsp;if ((Karakter == #13) || (Karakter == #10) || (Karakter == '|')) { Result = Result + ' '; }</div><div>&nbsp;else { Result = Result + Karakter; }</div><div>}</div><div>}</div><div><br></div><div>void AyarDosyasindanTemayiYukle(TemaIndex: Integer);</div><div>{</div><div>ThemeBorderColor = '#CBD5E1';</div><div>ThemeBgColor = '#EEF0F2';</div><div>ThemeTextColor = '#3A3F47';</div><div>ThemeKoyuRenk = '#1E293B'; ThemeAcikRenk = '#3B82F6';</div><div>FormFiltre.SetFormColor(ThemeKoyuRenk, ThemeAcikRenk, clGVertical);</div><div>}</div><div><br></div><div>void StyleHeaderBar(APanel: TclProPanel);</div><div>{</div><div>APanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(ThemeKoyuRenk);</div><div>APanel.clProSettings.BorderWidth = 0;</div><div>APanel.clProSettings.IsFill = True;</div><div>APanel.SetclProSettings(APanel.clProSettings);</div><div>}</div><div><br></div><div>void StyleMainCard(APanel: TclProPanel);</div><div>{</div><div>APanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>APanel.clProSettings.BorderColor = clAlphaColor.clHexToColor('#E2E8F0');</div><div>APanel.clProSettings.BorderWidth = 1;</div><div>APanel.clProSettings.IsFill = True;</div><div>APanel.clProSettings.IsRound = True;</div><div>APanel.clProSettings.RoundHeight = 12;</div><div>APanel.clProSettings.RoundWidth = 12;</div><div>APanel.SetclProSettings(APanel.clProSettings);</div><div>}</div><div><br></div><div>void StyleSectionTitle(ALabel: TclProLabel);</div><div>{</div><div>ALabel.clProSettings.FontColor = clAlphaColor.clHexToColor('#0F172A');</div><div>ALabel.clProSettings.FontSize = UiFontSize + 1;</div><div>ALabel.clProSettings.FontName = OkunanFontAdi;</div><div>ALabel.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>ALabel.SetclProSettings(ALabel.clProSettings);</div><div>}</div><div><br></div><div>void StyleInputPanel(APanel: TclProPanel);</div><div>{</div><div>APanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F8FAFC');</div><div>APanel.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1');</div><div>APanel.clProSettings.BorderWidth = 1;</div><div>APanel.clProSettings.IsFill = True;</div><div>APanel.clProSettings.IsRound = True;</div><div>APanel.clProSettings.RoundHeight = 8;</div><div>APanel.clProSettings.RoundWidth = 8;</div><div>APanel.SetclProSettings(APanel.clProSettings);</div><div>}</div><div><br></div><div>void StyleInputLabel(ALabel: TclProLabel);</div><div>{</div><div>ALabel.clProSettings.FontColor = clAlphaColor.clHexToColor('#475569');</div><div>ALabel.clProSettings.FontSize = UiFontSize - 1;</div><div>ALabel.clProSettings.FontName = OkunanFontAdi;</div><div>ALabel.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>ALabel.SetclProSettings(ALabel.clProSettings);</div><div>}</div><div><br></div><div>void StylePrimaryButton(AButton: TclProButton);</div><div>{</div><div>AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#0284C7');</div><div>AButton.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>AButton.clProSettings.BorderWidth = 0;</div><div>AButton.clProSettings.IsFill = True;</div><div>AButton.clProSettings.IsRound = True;</div><div>AButton.clProSettings.RoundHeight = 8;</div><div>AButton.clProSettings.RoundWidth = 8;</div><div>AButton.clProSettings.FontSize = UiFontSize;</div><div>AButton.clProSettings.FontName = OkunanFontAdi;</div><div>AButton.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>AButton.SetclProSettings(AButton.clProSettings);</div><div>}</div><div><br></div><div>void StyleSecondaryButton(AButton: TclProButton);</div><div>{</div><div>AButton.clProSettings.BackgroundColor = clAlphaColor.clWhite;</div><div>AButton.clProSettings.FontColor = clAlphaColor.clHexToColor('#334155');</div><div>AButton.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1');</div><div>AButton.clProSettings.BorderWidth = 1;</div><div>AButton.clProSettings.IsFill = True;</div><div>AButton.clProSettings.IsRound = True;</div><div>AButton.clProSettings.RoundHeight = 8;</div><div>AButton.clProSettings.RoundWidth = 8;</div><div>AButton.clProSettings.FontSize = UiFontSize;</div><div>AButton.clProSettings.FontName = OkunanFontAdi;</div><div>AButton.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>AButton.SetclProSettings(AButton.clProSettings);</div><div>}</div><div><br></div><div>void StyleTabButton(AButton: TclProButton; IsActive: Boolean);</div><div>{</div><div>if (IsActive)</div><div>{</div><div>&nbsp;AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#0F172A');</div><div>&nbsp;AButton.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>}</div><div>else</div><div>{</div><div>&nbsp;AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F1F5F9');</div><div>&nbsp;AButton.clProSettings.FontColor = clAlphaColor.clHexToColor('#64748B');</div><div>}</div><div>AButton.clProSettings.BorderWidth = 0;</div><div>AButton.clProSettings.IsFill = True;</div><div>AButton.clProSettings.IsRound = True;</div><div>AButton.clProSettings.RoundHeight = 6;</div><div>AButton.clProSettings.RoundWidth = 6;</div><div>AButton.clProSettings.FontSize = UiFontSize - 1;</div><div>AButton.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>AButton.SetclProSettings(AButton.clProSettings);</div><div>}</div><div><br></div><div>void ApplyUiSettings;</div><div>var TmpY: Integer;</div><div>{</div><div>LblTitle.Text = GetText('FORM_TITLE');</div><div>LblTitleFilter.Text = GetText('SEC_FILTER');</div><div>LblTitleList.Text = GetText('SEC_RESULTS');</div><div>LblTur.Text = GetText('LBL_TUR');</div><div>LblPeriyot.Text = GetText('LBL_PERIYOT');</div><div>LblAy.Text = GetText('LBL_AY');</div><div>LblYil.Text = GetText('LBL_YIL');</div><div>BtnUygula.Text = GetText('BTN_APPLY');</div><div>BtnTemizle.Text = GetText('BTN_CLEAR');</div><div>LblEmpty.Text = GetText('MSG_EMPTY');</div><div><br></div><div>CmbTur.Items.Clear;</div><div>CmbTur.AddItem(GetText('ALL'), 'Tumu');</div><div>CmbTur.AddItem('Bakim', 'Bakim');</div><div>CmbTur.AddItem('Ariza', 'Ariza');</div><div>CmbTur.ItemIndex = 0;</div><div><br></div><div>CmbPeriyot.Items.Clear;</div><div>CmbPeriyot.AddItem(GetText('ALL'), 'Tumu');</div><div>CmbPeriyot.AddItem('Gunluk', 'Gunluk');</div><div>CmbPeriyot.AddItem('Haftalik', 'Haftalik');</div><div>CmbPeriyot.AddItem('Aylik', 'Aylik');</div><div>CmbPeriyot.ItemIndex = 0;</div><div><br></div><div>CmbAy.Items.Clear;</div><div>CmbAy.AddItem(GetText('ALL'), 'Tumu');</div><div>CmbAy.AddItem('01', '01'); CmbAy.AddItem('02', '02'); CmbAy.AddItem('03', '03');</div><div>CmbAy.AddItem('04', '04'); CmbAy.AddItem('05', '05'); CmbAy.AddItem('06', '06');</div><div>CmbAy.AddItem('07', '07'); CmbAy.AddItem('08', '08'); CmbAy.AddItem('09', '09');</div><div>CmbAy.AddItem('10', '10'); CmbAy.AddItem('11', '11'); CmbAy.AddItem('12', '12');</div><div>CmbAy.ItemIndex = 0;</div><div><br></div><div>CmbYil.Items.Clear;</div><div>CmbYil.AddItem(GetText('ALL'), 'Tumu');</div><div>for (TmpY = 2020 to 2035) { CmbYil.AddItem(IntToStr(TmpY), IntToStr(TmpY)); }</div><div>CmbYil.ItemIndex = 0;</div><div><br></div><div>StyleSectionTitle(LblTitleFilter);</div><div>StyleSectionTitle(LblTitleList);</div><div>StylePrimaryButton(BtnUygula);</div><div>StyleSecondaryButton(BtnTemizle);</div><div>}</div><div><br></div><div>void VerileriDosyadanYukle;</div><div>var</div><div>KayitListesi: TclStringList;</div><div>DosyaYolu, KalanVeri, SatirVerisi, IlkKelime: String;</div><div>i, LPos: Integer;</div><div>{</div><div>KayitCount = 0;</div><div>DosyaYolu = clPathCombine('BakimVerileri.txt', Clomosy.AppFilesPath);</div><div>if (clFileExists(DosyaYolu, ''))</div><div>{</div><div>&nbsp;KayitListesi = Clomosy.StringListNew;</div><div>&nbsp;KayitListesi.LoadFromFile(DosyaYolu, 0);</div><div><br></div><div>&nbsp;i = KayitListesi.Count - 1;</div><div>&nbsp;while (i &gt;= 0)</div><div>&nbsp;{</div><div>&nbsp;SatirVerisi = Trim(Clomosy.StringListItemString(KayitListesi, i));</div><div>&nbsp;if (SatirVerisi &lt;&gt; '')</div><div>&nbsp;{</div><div>&nbsp; if (KayitCount &lt; 100)</div><div>&nbsp; {</div><div>&nbsp; KalanVeri = SatirVerisi;</div><div>&nbsp; LPos = Pos('|', KalanVeri);</div><div>&nbsp; if (LPos &gt; 0) { IlkKelime = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); }</div><div>&nbsp; else { IlkKelime = 'Bakim'; }</div><div><br></div><div>&nbsp; if ((IlkKelime == 'Periyodik') || (IlkKelime == 'Bakim') || (IlkKelime == 'Bakım') || (Pos('Periyodik', IlkKelime) &gt; 0))</div><div>&nbsp; { KayitTur&#091;KayitCount&#093; = 'Bakim'; } else { KayitTur&#091;KayitCount&#093; = IlkKelime; }</div><div><br></div><div>&nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitBelgeNo&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitBelgeNo&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitMakine&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitMakine&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitTip&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitTip&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitPlanlanan&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitPlanlanan&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitDurum&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitDurum&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitAy&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitAy&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitYil&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitYil&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitPeriyot&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitPeriyot&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp;</div><div>&nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitOperator&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitOperator&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); }</div><div>&nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitBaslangic&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitBaslangic&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitBitisTur&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitBitisTur&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitKisi&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitKisi&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitAciklama&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitAciklama&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; KayitNeden&#091;KayitCount&#093; = KalanVeri;</div><div><br></div><div>&nbsp; KayitCount = KayitCount + 1;</div><div>&nbsp; }</div><div>&nbsp;}</div><div>&nbsp;i = i - 1;</div><div>&nbsp;}</div><div>&nbsp;KayitListesi.Free;</div><div>}</div><div>}</div><div><br></div><div>function KayitUygunMu(AIndex: Integer): Boolean;</div><div>var</div><div>STurCombo, SPeriyotCombo, SAyCombo, SYilCombo, SDurumHam: String;</div><div>{</div><div>Result = True;</div><div><br></div><div>if (CmbTur.ItemIndex &lt;= 0) { STurCombo = 'Tumu'; } else { STurCombo = CmbTur.GetValueIndex(CmbTur.ItemIndex); }</div><div>if (CmbAy.ItemIndex &lt;= 0) { SAyCombo = 'Tumu'; } else { SAyCombo = CmbAy.GetValueIndex(CmbAy.ItemIndex); }</div><div>if (CmbYil.ItemIndex &lt;= 0) { SYilCombo = 'Tumu'; } else { SYilCombo = CmbYil.GetValueIndex(CmbYil.ItemIndex); }</div><div>if (CmbPeriyot.ItemIndex &lt;= 0) { SPeriyotCombo = 'Tumu'; } else { SPeriyotCombo = CmbPeriyot.GetValueIndex(CmbPeriyot.ItemIndex); }</div><div><br></div><div>SDurumHam = Trim(KayitDurum&#091;AIndex&#093;);</div><div><br></div><div>// SEKME KONTROLU (Türkçe karakter duyarlı - Bekleyenler sekmesinde tamamlananlar KESİNLİKLE görünmeyecek)</div><div>if (AktifSekme == 'BEKLEYEN')</div><div>{</div><div>&nbsp;if ((Pos('Yapildi', SDurumHam) &gt; 0) || (Pos('Yapıldı', SDurumHam) &gt; 0) || (Pos('Tamamlandi', SDurumHam) &gt; 0) || (Pos('Tamamlandı', SDurumHam) &gt; 0)) { Result = False; }</div><div>}</div><div>else if (AktifSekme == 'TAMAMLANAN')</div><div>{</div><div>&nbsp;if ((Pos('Yapildi', SDurumHam) == 0) &amp;&amp; (Pos('Yapıldı', SDurumHam) == 0) &amp;&amp; (Pos('Tamamlandi', SDurumHam) == 0) &amp;&amp; (Pos('Tamamlandı', SDurumHam) == 0)) { Result = False; }</div><div>}</div><div>else if (AktifSekme == 'YAKLASAN')</div><div>{</div><div>&nbsp;if ((Pos('Yapildi', SDurumHam) &gt; 0) || (Pos('Yapıldı', SDurumHam) &gt; 0) || (Pos('Tamamlandi', SDurumHam) &gt; 0) || (Pos('Tamamlandı', SDurumHam) &gt; 0)) { Result = False; }</div><div>}</div><div><br></div><div>if (STurCombo &lt;&gt; 'Tumu')</div><div>{</div><div>&nbsp;if (STurCombo &lt;&gt; Trim(KayitTur&#091;AIndex&#093;)) { Result = False; }</div><div>}</div><div><br></div><div>if (SAyCombo &lt;&gt; 'Tumu') { if (SAyCombo &lt;&gt; Trim(KayitAy&#091;AIndex&#093;)) { Result = False; } }</div><div>if (SYilCombo &lt;&gt; 'Tumu') { if (SYilCombo &lt;&gt; Trim(KayitYil&#091;AIndex&#093;)) { Result = False; } }</div><div>if (SPeriyotCombo &lt;&gt; 'Tumu') { if ((SPeriyotCombo &lt;&gt; Trim(KayitPeriyot&#091;AIndex&#093;)) &amp;&amp; (SPeriyotCombo &lt;&gt; Trim(KayitDurum&#091;AIndex&#093;))) { Result = False; } }</div><div><br></div><div>if ((SecilenOperatorFiltresi &lt;&gt; '') &amp;&amp; (SecilenOperatorFiltresi &lt;&gt; 'Tumu'))</div><div>{</div><div>&nbsp;// DEĞİŞİKLİK: Pos (içerme) kontrolü yapıldı</div><div>&nbsp;if (Pos(SecilenOperatorFiltresi, KayitOperator&#091;AIndex&#093;) == 0) { Result = False; }</div><div>}</div><div>}</div><div><br></div><div>void RefreshListe;</div><div>var</div><div>TarihMetni, KartUyariRenk, OzetMetin: String;</div><div>{</div><div>TmpVisibleCount = 0;</div><div><br></div><div>// HATA SEBEBİ 3: Fonksiyon içine inline boolean (AktifSekme == 'BEKLEYEN')</div><div>// göndermek yerine doğrudan True/False gönderiyoruz.</div><div>if (AktifSekme == 'YAKLASAN') { StyleTabButton(BtnTabYaklasan, True); } else { StyleTabButton(BtnTabYaklasan, False); }</div><div>if (AktifSekme == 'BEKLEYEN') { StyleTabButton(BtnTabBekleyen, True); } else { StyleTabButton(BtnTabBekleyen, False); }</div><div>if (AktifSekme == 'TAMAMLANAN') { StyleTabButton(BtnTabTamamlanan, True); } else { StyleTabButton(BtnTabTamamlanan, False); }</div><div><br></div><div>for (TmpIndex = 0 to KayitCount - 1)</div><div>{</div><div>&nbsp;if (KayitUygunMu(TmpIndex))</div><div>&nbsp;{</div><div>&nbsp;TmpVisibleCount = TmpVisibleCount + 1;</div><div>&nbsp;if (TmpVisibleCount &gt; 100) Break;</div><div><br></div><div>&nbsp;CardPanel&#091;TmpVisibleCount&#093;.Visible = True;</div><div>&nbsp;CardPanel&#091;TmpVisibleCount&#093;.clTagInt = TmpIndex;</div><div>&nbsp;CardTitle&#091;TmpVisibleCount&#093;.clTagInt = TmpIndex;</div><div>&nbsp;CardDetail&#091;TmpVisibleCount&#093;.clTagInt = TmpIndex;</div><div><br></div><div>&nbsp;CardTitle&#091;TmpVisibleCount&#093;.Caption = ' &#091;' + Trim(KayitTur&#091;TmpIndex&#093;) + '&#093; ' + Trim(KayitMakine&#091;TmpIndex&#093;);</div><div>&nbsp;TarihMetni = Trim(KayitPlanlanan&#091;TmpIndex&#093;);</div><div><br></div><div>&nbsp;OzetMetin = 'Tarih: ' + TarihMetni + #13#10 + 'Tip: ' + Trim(KayitTip&#091;TmpIndex&#093;) + #13#10 + 'Durum: ' + Trim(KayitDurum&#091;TmpIndex&#093;);</div><div>&nbsp;</div><div>&nbsp;if (Trim(KayitOperator&#091;TmpIndex&#093;) &lt;&gt; '') { OzetMetin = OzetMetin + #13#10 + 'Operatör: ' + Trim(KayitOperator&#091;TmpIndex&#093;); }</div><div>&nbsp;if (Trim(KayitBaslangic&#091;TmpIndex&#093;) &lt;&gt; '') { OzetMetin = OzetMetin + #13#10 + 'Başlangıç: ' + Trim(KayitBaslangic&#091;TmpIndex&#093;); }</div><div>&nbsp;if (Trim(KayitBitisTur&#091;TmpIndex&#093;) &lt;&gt; '') { OzetMetin = OzetMetin + #13#10 + 'Süre/Bitiş: ' + Trim(KayitBitisTur&#091;TmpIndex&#093;); }</div><div>&nbsp;if (Trim(KayitAciklama&#091;TmpIndex&#093;) &lt;&gt; '') { OzetMetin = OzetMetin + #13#10 + 'Aciklama: ' + Trim(KayitAciklama&#091;TmpIndex&#093;); }</div><div><br></div><div>&nbsp;CardDetail&#091;TmpVisibleCount&#093;.Caption = OzetMetin;</div><div>&nbsp;</div><div>&nbsp;CardPanel&#091;TmpVisibleCount&#093;.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp;CardDetail&#091;TmpVisibleCount&#093;.clProSettings.FontColor = clAlphaColor.clHexToColor('#1E293B');</div><div>&nbsp;CardDetail&#091;TmpVisibleCount&#093;.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp;CardDetail&#091;TmpVisibleCount&#093;.clProSettings.FontSize = UiFontSize;</div><div><br></div><div>&nbsp;CardTitle&#091;TmpVisibleCount&#093;.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp;CardTitle&#091;TmpVisibleCount&#093;.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp;CardTitle&#091;TmpVisibleCount&#093;.clProSettings.FontSize = UiFontSize + 1;</div><div><br></div><div>&nbsp;KartUyariRenk = '#1E293B';</div><div>&nbsp;if ((Pos('Bekliyor', KayitDurum&#091;TmpIndex&#093;) &gt; 0) || (Pos('Yapilmadi', KayitDurum&#091;TmpIndex&#093;) &gt; 0) || (AktifSekme == 'YAKLASAN'))</div><div>&nbsp;{ KartUyariRenk = '#EF4444'; }</div><div>&nbsp;if (AktifSekme == 'TAMAMLANAN') { KartUyariRenk = '#10B981'; }</div><div><br></div><div>&nbsp;CardTitle&#091;TmpVisibleCount&#093;.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(KartUyariRenk);</div><div>&nbsp;CardPanel&#091;TmpVisibleCount&#093;.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1');</div><div><br></div><div>&nbsp;CardTitle&#091;TmpVisibleCount&#093;.SetclProSettings(CardTitle&#091;TmpVisibleCount&#093;.clProSettings);</div><div>&nbsp;CardDetail&#091;TmpVisibleCount&#093;.SetclProSettings(CardDetail&#091;TmpVisibleCount&#093;.clProSettings);</div><div>&nbsp;CardPanel&#091;TmpVisibleCount&#093;.SetclProSettings(CardPanel&#091;TmpVisibleCount&#093;.clProSettings);</div><div>&nbsp;}</div><div>}</div><div><br></div><div>for (TmpIndex = TmpVisibleCount + 1 to 100)</div><div>{</div><div>&nbsp;// '&lt;&gt; nil' kuralı burada da hataya yol açabilir, zaten 100'e kadar dolu oldukları için direkt gizliyoruz.</div><div>&nbsp;CardPanel&#091;TmpIndex&#093;.Visible = False;</div><div>}</div><div><br></div><div>if (TmpVisibleCount == 0)</div><div>{</div><div>&nbsp;LblEmpty.Visible = True;</div><div>&nbsp;PnlListHost.Height = 40;</div><div>&nbsp;PnlMainCard.Height = 1000;</div><div>}</div><div>else</div><div>{</div><div>&nbsp;LblEmpty.Visible = False;</div><div>&nbsp;PnlListHost.Height = (TmpVisibleCount * 170) + 20;</div><div>&nbsp;PnlMainCard.Height = 650 + PnlListHost.Height;</div><div>}</div><div>}</div><div>// ==========================================</div><div>// REHBER (SEÇİM LİSTESİ) VE SQL OPERATÖR ENTEGRASYONU</div><div>// ==========================================</div><div>void OnSearchRehber;</div><div>{</div><div>// Güvenlik 1: Veri seti oluşmamışsa listeyi filtrelemeye çalışma</div><div>if (RehberJsonData == nil) { Exit; }</div><div><br></div><div>if (EdtRehberArama.Text == '')</div><div>{</div><div>&nbsp;RehberJsonData.Filtered = False;</div><div>&nbsp;RehberJsonData.Filter = '';</div><div>}</div><div>else</div><div>{</div><div>&nbsp;RehberJsonData.Filter = 'clCaption Like ' + Chr(39) + '%' + EdtRehberArama.Text + '%' + Chr(39);</div><div>&nbsp;RehberJsonData.Filtered = True;</div><div>}</div><div>}</div><div>void OnListItemClick;</div><div>var</div><div>SecilenAnaMetin, SecilenAltMetin: String;</div><div>{</div><div>// KRİTİK DÜZELTME: clCaption ve clText parametreleri tek tırnak içine alındı!</div><div>// Tırnaksız yazıldığında Null (tanımsız değişken) hatasına sebep olup sistemi çökertir.</div><div>SecilenAnaMetin = LsvBelgeRehber.clSelectedItemData('MyJsonStr');</div><div>SecilenAltMetin = LsvBelgeRehber.clSelectedItemData('Text');</div><div><br></div><div><br></div><div>if (SecilenAnaMetin &lt;&gt; GetText('LST_BOS'))</div><div>{</div><div>&nbsp;if (GlobalLookupType == 'OPERATOR')</div><div>&nbsp;{</div><div>&nbsp;EdtOperator.Text = SecilenAnaMetin;</div><div>&nbsp;}</div><div>}</div><div><br></div><div>FormRehber.Close;</div><div>}</div><div>void OpenRehber;</div><div>var</div><div>q: TClSqlQuery;</div><div>MyJsonStr: String;</div><div>CleanMain: String;</div><div>CleanSub: String;</div><div>{</div><div>if (IsDBConnected &lt;&gt; True)</div><div>{ ConnectToDatabase; }</div><div><br></div><div>if (IsDBConnected &lt;&gt; True)</div><div>{</div><div>&nbsp;ShowMessage('Veritabanı bağlantısı kurulamadı! Lütfen ağ/Wi-Fi bağlantınızı kontrol edin.');</div><div>&nbsp;Exit;</div><div>}</div><div><br></div><div>FormRehber = TclGameForm.Create(Self);</div><div>FormRehber.LytTopBar.Visible = False;</div><div>FormRehber.BtnGoBack.Visible = False;</div><div>FormRehber.BtnFormMenu.Visible = False;</div><div>FormRehber.SetFormColor('#0F172A', '#334155', clGVertical);</div><div><br></div><div>LsvBelgeRehber = FormRehber.AddNewProListView(FormRehber, '');</div><div>LsvBelgeRehber.Align = alClient; LsvBelgeRehber.Margins.Top = 65; LsvBelgeRehber.Margins.Left = 15; LsvBelgeRehber.Margins.Right = 15; LsvBelgeRehber.Margins.Bottom = 15;</div><div>LsvBelgeRehber.ListType = 'vertical';</div><div>LsvBelgeRehber.clProSettings.ItemHeight = 65;</div><div>LsvBelgeRehber.clProSettings.ItemSpace = 5;</div><div>LsvBelgeRehber.clProSettings.ColCount = 1;</div><div>LsvBelgeRehber.clProSettings.ViewType = lvIcon;</div><div>LsvBelgeRehber.clProSettings.IsFill = False;</div><div>LsvBelgeRehber.SetclProSettings(LsvBelgeRehber.clProSettings);</div><div>FormRehber.AddNewEvent(LsvBelgeRehber, tbeOnItemClick, 'OnListItemClick');</div><div><br></div><div>EdtRehberArama = FormRehber.AddNewProEdit(FormRehber, '', GetText('ARA_OPERATOR'));</div><div>EdtRehberArama.Align = alTop; EdtRehberArama.Margins.Top = 15; EdtRehberArama.Margins.Left = 15; EdtRehberArama.Margins.Right = 15; EdtRehberArama.Height = 42;</div><div>EdtRehberArama.clProSettings.FontSize = 14;</div><div><br></div><div>q = TClSqlQuery.Create(nil);</div><div>try</div><div>&nbsp;q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp;if (GlobalLookupType == 'OPERATOR')</div><div>&nbsp;{</div><div>&nbsp; &nbsp;q.SQL.Text = 'SET NO_BROWSETABLE ON; ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'SET ROWCOUNT 0; ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'SELECT * FROM (' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'SELECT TOP 100 PERCENT OPERATOR_KODU AS MAIN_TEXT, ISNULL(OPERATOR_ADI, '''') AS SUB_TEXT ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'FROM &#091;TBLURTOPERATORSB&#093; WITH (NOLOCK) ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'WHERE 1=1 AND ISNULL(PASIF, 0) = 0 ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'AND OPERATOR_KODU IN (SELECT ITEMS FROM dbo.PrgFn_Split(''(OPRTR-001);(OPRTR-002);(OPRTR-003);(OPRTR-004);(OPRTR-005)'', '';'')) ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ') AS REHBERSQL ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'ORDER BY OPERATOR_KODU; ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'SET ROWCOUNT 0; ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'SET NO_BROWSETABLE OFF;';</div><div>&nbsp;}</div><div>&nbsp;q.Open;</div><div><br></div><div>&nbsp;MyJsonStr = '&#091;';</div><div>&nbsp;while (not q.Eof)</div><div>&nbsp;{</div><div>&nbsp;if (MyJsonStr &lt;&gt; '&#091;') { MyJsonStr = MyJsonStr + ','; }</div><div>&nbsp;</div><div>&nbsp;CleanMain = q.FieldByName('MAIN_TEXT').AsString;</div><div>&nbsp;CleanMain = clGetStringReplace(CleanMain, '"', '\"');</div><div>&nbsp;CleanMain = clGetStringReplace(CleanMain, Chr(13), '');</div><div>&nbsp;CleanMain = clGetStringReplace(CleanMain, Chr(10), '');</div><div><br></div><div>&nbsp;CleanSub = q.FieldByName('SUB_TEXT').AsString;</div><div>&nbsp;CleanSub = clGetStringReplace(CleanSub, '"', '\"');</div><div>&nbsp;CleanSub = clGetStringReplace(CleanSub, Chr(13), '');</div><div>&nbsp;CleanSub = clGetStringReplace(CleanSub, Chr(10), '');</div><div><br></div><div>&nbsp;MyJsonStr = MyJsonStr + '{"clCaption":"' + CleanMain + '", "clText":"' + CleanSub + '"}';</div><div>&nbsp;q.Next;</div><div>&nbsp;}</div><div>finally</div><div>&nbsp;q.Close;</div><div>&nbsp;q.Free;</div><div>}</div><div><br></div><div><br></div><div>RehberJsonData = Clomosy.clDataSetFromJSON(MyJsonStr);</div><div>LsvBelgeRehber.clLoadProListViewDataFromDataset(RehberJsonData);</div><div><br></div><div>FormRehber.AddNewEvent(EdtRehberArama, tbeOnChange, 'OnSearchRehber');</div><div>FormRehber.Run;</div><div>}</div><div>void BtnRehberOperatorClick;</div><div>{</div><div>GlobalLookupType = 'OPERATOR';</div><div>OpenRehber;</div><div>}</div><div><br></div><div>void GelismisFormuKapatClick;</div><div>{</div><div>FormGelismis.Close;</div><div>}</div><div><br></div><div>void GelismisFormuUygulaClick;</div><div>{</div><div>SecilenOperatorFiltresi = Trim(EdtOperator.Text);</div><div>if (SecilenOperatorFiltresi == '') { SecilenOperatorFiltresi = 'Tumu'; }</div><div><br></div><div>// DÜZELTME: Önce liste yenilenir, tüm işlemler biter.</div><div>RefreshListe;</div><div><br></div><div>// İşlem bittikten sonra form güvenle kapatılır.</div><div>FormGelismis.Close;</div><div>}</div><div>void OpenGelismisForm;</div><div>{</div><div>FormGelismis = TclGameForm.Create(Self);</div><div>FormGelismis.LytTopBar.Visible = False;</div><div>FormGelismis.BtnGoBack.Visible = False;</div><div>FormGelismis.BtnFormMenu.Visible = False;</div><div>FormGelismis.SetFormColor('#1E293B', '#3B82F6', clGVertical);</div><div><br></div><div>PnlGelismisCard = FormGelismis.AddNewProPanel(FormGelismis, 'PnlGelismisCard');</div><div>// DEĞİŞİKLİK: Tam ekran yapıldı</div><div>PnlGelismisCard.Align = alClient;</div><div>PnlGelismisCard.Margins.Top = 15; PnlGelismisCard.Margins.Bottom = 15; PnlGelismisCard.Margins.Left = 15; PnlGelismisCard.Margins.Right = 15;</div><div>PnlGelismisCard.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>PnlGelismisCard.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1');</div><div>PnlGelismisCard.clProSettings.BorderWidth = 1; PnlGelismisCard.clProSettings.IsFill = True;</div><div>PnlGelismisCard.clProSettings.IsRound = True; PnlGelismisCard.clProSettings.RoundHeight = 12; PnlGelismisCard.clProSettings.RoundWidth = 12;</div><div>PnlGelismisCard.SetclProSettings(PnlGelismisCard.clProSettings);</div><div><br></div><div>LblOperatorTitle = FormGelismis.AddNewProLabel(PnlGelismisCard, 'LblOperatorTitle', 'Gelişmiş Operatör Filtresi');</div><div>LblOperatorTitle.Align = alTop; LblOperatorTitle.Height = 35; LblOperatorTitle.Margins.Left = 15; LblOperatorTitle.Margins.Top = 15;</div><div>LblOperatorTitle.clProSettings.FontColor = clAlphaColor.clHexToColor('#0F172A');</div><div>LblOperatorTitle.clProSettings.FontSize = 16; LblOperatorTitle.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>LblOperatorTitle.SetclProSettings(LblOperatorTitle.clProSettings);</div><div><br></div><div>GrpOperator = FormGelismis.AddNewProPanel(PnlGelismisCard, 'GrpOperator');</div><div>GrpOperator.Align = alTop; GrpOperator.Height = 58; GrpOperator.Margins.Top = 10; GrpOperator.Margins.Left = 15; GrpOperator.Margins.Right = 15;</div><div>GrpOperator.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F8FAFC');</div><div>GrpOperator.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1'); GrpOperator.clProSettings.BorderWidth = 1;</div><div>GrpOperator.clProSettings.IsFill = True; GrpOperator.clProSettings.IsRound = True;</div><div>GrpOperator.clProSettings.RoundHeight = 8; GrpOperator.clProSettings.RoundWidth = 8;</div><div>GrpOperator.SetclProSettings(GrpOperator.clProSettings);</div><div><br></div><div>LblOperator = FormGelismis.AddNewProLabel(GrpOperator, 'LblOperator', 'Operatör Kodu:');</div><div>LblOperator.Align = alTop; LblOperator.Height = 18; LblOperator.Margins.Left = 10; LblOperator.Margins.Top = 6;</div><div>LblOperator.clProSettings.FontColor = clAlphaColor.clHexToColor('#475569'); LblOperator.clProSettings.FontSize = 12; LblOperator.SetclProSettings(LblOperator.clProSettings);</div><div><br></div><div>EdtOperator = FormGelismis.AddNewEdit(GrpOperator, 'EdtOperator', '');</div><div>EdtOperator.Align = alClient; EdtOperator.Margins.Left = 10; EdtOperator.Margins.Right = 50; EdtOperator.Margins.Bottom = 7; EdtOperator.Margins.Top = 2;</div><div>EdtOperator.ReadOnly = True;</div><div><br></div><div>BtnOperatorRehber = FormGelismis.AddNewProButton(GrpOperator, 'BtnOperatorRehber', '&#128269;');</div><div>BtnOperatorRehber.Align = alRight; BtnOperatorRehber.Width = 40; BtnOperatorRehber.Margins.Right = 6; BtnOperatorRehber.Margins.Top = 2; BtnOperatorRehber.Margins.Bottom = 6;</div><div>BtnOperatorRehber.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#E2E8F0');</div><div>BtnOperatorRehber.clProSettings.FontColor = clAlphaColor.clHexToColor('#1E293B');</div><div>BtnOperatorRehber.clProSettings.IsFill = True; BtnOperatorRehber.clProSettings.IsRound = True;</div><div>BtnOperatorRehber.clProSettings.RoundHeight = 6; BtnOperatorRehber.clProSettings.RoundWidth = 6;</div><div>BtnOperatorRehber.clProSettings.FontSize = 14;</div><div>BtnOperatorRehber.SetclProSettings(BtnOperatorRehber.clProSettings);</div><div>FormGelismis.AddNewEvent(BtnOperatorRehber, tbeOnClick, 'BtnRehberOperatorClick');</div><div><br></div><div>BtnGelismisUygula = FormGelismis.AddNewProButton(PnlGelismisCard, 'BtnGelismisUygula', 'Filtreyi Uygula');</div><div>BtnGelismisUygula.Align = alTop; BtnGelismisUygula.Height = 40; BtnGelismisUygula.Margins.Top = 20; BtnGelismisUygula.Margins.Left = 15; BtnGelismisUygula.Margins.Right = 15;</div><div>BtnGelismisUygula.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#0284C7');</div><div>BtnGelismisUygula.clProSettings.FontColor = clAlphaColor.clWhite; BtnGelismisUygula.clProSettings.IsFill = True;</div><div>BtnGelismisUygula.clProSettings.IsRound = True; BtnGelismisUygula.clProSettings.RoundHeight = 8; BtnGelismisUygula.clProSettings.RoundWidth = 8;</div><div>BtnGelismisUygula.SetclProSettings(BtnGelismisUygula.clProSettings);</div><div>FormGelismis.AddNewEvent(BtnGelismisUygula, tbeOnClick, 'GelismisFormuUygulaClick');</div><div><br></div><div>BtnGelismisKapat = FormGelismis.AddNewProButton(PnlGelismisCard, 'BtnGelismisKapat', 'Kapat');</div><div>BtnGelismisKapat.Align = alTop; BtnGelismisKapat.Height = 35; BtnGelismisKapat.Margins.Top = 8; BtnGelismisKapat.Margins.Left = 15; BtnGelismisKapat.Margins.Right = 15;</div><div>BtnGelismisKapat.clProSettings.BackgroundColor = clAlphaColor.clWhite;</div><div>BtnGelismisKapat.clProSettings.FontColor = clAlphaColor.clHexToColor('#334155');</div><div>BtnGelismisKapat.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1'); BtnGelismisKapat.clProSettings.BorderWidth = 1;</div><div>BtnGelismisKapat.clProSettings.IsFill = True; BtnGelismisKapat.clProSettings.IsRound = True;</div><div>BtnGelismisKapat.clProSettings.RoundHeight = 8; BtnGelismisKapat.clProSettings.RoundWidth = 8;</div><div>BtnGelismisKapat.SetclProSettings(BtnGelismisKapat.clProSettings);</div><div>FormGelismis.AddNewEvent(BtnGelismisKapat, tbeOnClick, 'GelismisFormuKapatClick');</div><div><br></div><div>FormGelismis.Run;</div><div>}</div><div><br></div><div>void ToggleDetailPanel(Goster: Boolean);</div><div>var i: Integer;</div><div>{</div><div>PnlDetailOverlay.Visible = Goster;</div><div><br></div><div>// HATA SEBEBİ 1: 'not Goster' kullanımı iptal edildi, güvenli if-else yapıldı.</div><div>if (Goster == True) { ScrollForm.Visible = False; }</div><div>else { ScrollForm.Visible = True; }</div><div><br></div><div>for (i = 0 to 11)</div><div>{</div><div>&nbsp;if (i == 5) { DetPnl&#091;5&#093;.Visible = False; DetPnl&#091;5&#093;.Height = 0; }</div><div>&nbsp;else if (i == 10)</div><div>&nbsp;{</div><div>&nbsp;if (Goster == True)</div><div>&nbsp;{</div><div>&nbsp; if (Trim(KayitTur&#091;ActiveEditIndex&#093;) == 'Ariza')</div><div>&nbsp; { DetPnl&#091;10&#093;.Visible = True; DetPnl&#091;10&#093;.Height = 120; }</div><div>&nbsp; else</div><div>&nbsp; { DetPnl&#091;10&#093;.Visible = False; DetPnl&#091;10&#093;.Height = 0; }</div><div>&nbsp;}</div><div>&nbsp;else</div><div>&nbsp;{ DetPnl&#091;10&#093;.Visible = False; DetPnl&#091;10&#093;.Height = 0; }</div><div>&nbsp;}</div><div>&nbsp;else</div><div>&nbsp;{</div><div><br></div><div>&nbsp;DetEdt<em>.Visible = Goster;</div><div>&nbsp;}</div><div>}</div><div>}</div><div><br></div><div>void ShowDetailPanel;</div><div>var TurMetni: String;</div><div>{</div><div>TurMetni = Trim(KayitTur&#091;ActiveEditIndex&#093;);</div><div>if ((TurMetni == 'Bakim') || (TurMetni == 'Bakım') || (Pos('Bakim', TurMetni) &gt; 0) || (Pos('Periyodik', TurMetni) &gt; 0))</div><div>{</div><div>&nbsp;LblDetailTitle.Text = 'Bakim Hareketleri Detayi';</div><div>&nbsp;if (DetLbl&#091;4&#093; &lt;&gt; nil) { DetLbl&#091;4&#093;.Text = 'Bakim Kodu:'; }</div><div>}</div><div>else</div><div>{</div><div>&nbsp;LblDetailTitle.Text = 'Ariza Hareketleri Detayi';</div><div>&nbsp;if (DetLbl&#091;4&#093; &lt;&gt; nil) { DetLbl&#091;4&#093;.Text = 'Ariza Kodu:'; }</div><div>}</div><div><br></div><div>DetEdt&#091;0&#093;.Text = KayitBelgeNo&#091;ActiveEditIndex&#093;;</div><div>DetEdt&#091;1&#093;.Text = KayitPlanlanan&#091;ActiveEditIndex&#093;;</div><div>DetEdt&#091;2&#093;.Text = KayitMakine&#091;ActiveEditIndex&#093;;</div><div>DetEdt&#091;3&#093;.Text = KayitOperator&#091;ActiveEditIndex&#093;;</div><div>DetEdt&#091;4&#093;.Text = KayitTip&#091;ActiveEditIndex&#093;;</div><div>DetEdt&#091;6&#093;.Text = KayitBaslangic&#091;ActiveEditIndex&#093;;</div><div>DetEdt&#091;7&#093;.Text = KayitBitisTur&#091;ActiveEditIndex&#093;;</div><div>DetEdt&#091;8&#093;.Text = KayitKisi&#091;ActiveEditIndex&#093;;</div><div>DetEdt&#091;9&#093;.Text = KayitAciklama&#091;ActiveEditIndex&#093;;</div><div>DetMemoNeden.Text = KayitNeden&#091;ActiveEditIndex&#093;;</div><div>DetEdt&#091;11&#093;.Text = KayitDurum&#091;ActiveEditIndex&#093;;</div><div><br></div><div>ToggleDetailPanel(True);</div><div>}</div><div><br></div><div>void OnCardLabelClicked;</div><div>var ClickedLabel: TclProLabel;</div><div>{</div><div>ClickedLabel = TclProLabel(FormFiltre.clSender);</div><div>ActiveEditIndex = ClickedLabel.clTagInt;</div><div>ShowDetailPanel;</div><div>}</div><div><br></div><div>void OnCardPanelClicked;</div><div>var ClickedPanel: TclProPanel;</div><div>{</div><div>ClickedPanel = TclProPanel(FormFiltre.clSender);</div><div>ActiveEditIndex = ClickedPanel.clTagInt;</div><div>ShowDetailPanel;</div><div>}</div><div><br></div><div>void TabClick;</div><div>var ClickedBtn: TclProButton;</div><div>{</div><div>ClickedBtn = TclProButton(FormFiltre.clSender);</div><div>if (ClickedBtn.clTagInt == 1) { AktifSekme = 'YAKLASAN'; }</div><div>else if (ClickedBtn.clTagInt == 2) { AktifSekme = 'BEKLEYEN'; }</div><div>else if (ClickedBtn.clTagInt == 3) { AktifSekme = 'TAMAMLANAN'; }</div><div>RefreshListe;</div><div>}</div><div>void SaveEditClick;</div><div>var</div><div>DosyaYolu, Satir: String;</div><div>YeniListe: TclStringList;</div><div>i: Integer;</div><div>{</div><div>KayitBelgeNo&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;0&#093;.Text);</div><div>KayitPlanlanan&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;1&#093;.Text);</div><div>KayitMakine&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;2&#093;.Text);</div><div>KayitOperator&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;3&#093;.Text);</div><div>KayitTip&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;4&#093;.Text);</div><div>KayitBaslangic&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;6&#093;.Text);</div><div>KayitBitisTur&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;7&#093;.Text);</div><div>KayitKisi&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;8&#093;.Text);</div><div>KayitAciklama&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;9&#093;.Text);</div><div>KayitNeden&#091;ActiveEditIndex&#093; = TemizleMetin(DetMemoNeden.Text);</div><div>KayitDurum&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;11&#093;.Text);</div><div><br></div><div>YeniListe = Clomosy.StringListNew;</div><div>i = KayitCount - 1;</div><div>while (i &gt;= 0)</div><div>{</div><div>&nbsp;// BÜTÜN DİZİLERE <em> İNDEKSİ EKLENDİ</div><div>&nbsp;Satir = KayitTur<em> + '|' + KayitBelgeNo<em> + '|' + KayitMakine<em> + '|' + KayitTip<em> + '|' +</div><div>&nbsp; &nbsp;KayitPlanlanan<em> + '|' + KayitDurum<em> + '|' + KayitAy<em> + '|' + KayitYil<em> + '|' + KayitPeriyot<em> + '|' +</div><div>&nbsp; &nbsp;KayitOperator<em> + '|KALDIRILDI|' + KayitBaslangic<em> + '|' + KayitBitisTur<em> + '|' +</div><div>&nbsp; &nbsp;KayitKisi<em> + '|' + KayitAciklama<em> + '|' + KayitNeden<em>;</div><div>&nbsp;&nbsp;</div><div>&nbsp;YeniListe.Add(Satir);</div><div>&nbsp;i = i - 1;</div><div>}</div><div>DosyaYolu = clPathCombine('BakimVerileri.txt', Clomosy.AppFilesPath);</div><div>YeniListe.SaveToFile(DosyaYolu, 0);</div><div>YeniListe.Free;</div><div><br></div><div>ToggleDetailPanel(False);</div><div>RefreshListe;</div><div>}</div><div><br></div><div>void MarkAsCompletedClick;</div><div>{</div><div>DetEdt&#091;11&#093;.Text = 'Tamamlandi';</div><div>SaveEditClick;</div><div>}</div><div><br></div><div>void PostponeClick;</div><div>{</div><div>DetEdt&#091;11&#093;.Text = '10 Gun Ertelendi';</div><div>SaveEditClick;</div><div>}</div><div><br></div><div>void CancelEditClick;</div><div>{</div><div>ToggleDetailPanel(False);</div><div>}</div><div><br></div><div>void ApplyFilter;</div><div>{</div><div>RefreshListe;</div><div>}</div><div><br></div><div>void ClearFilter;</div><div>{</div><div>CmbTur.ItemIndex = 0;</div><div>CmbAy.ItemIndex = 0;</div><div>CmbYil.ItemIndex = 0;</div><div>CmbPeriyot.ItemIndex = 0;</div><div><br></div><div>// EdtOperator.Text = ''; // BU SATIRI SİLİYORUZ (Hatanın sebebi burası)</div><div>SecilenOperatorFiltresi = 'Tumu';</div><div>RefreshListe;</div><div>}</div><div>void GoBack;</div><div>{</div><div>FormFiltre.Close;</div><div>}</div><div><br></div><div>void AyarlariYenile;</div><div>var</div><div>YuklenenAyarlar: TclStringList;</div><div>OkunanDosyaYolu, TmpDeger: String;</div><div>{</div><div>VerileriDosyadanYukle;</div><div>OkunanDosyaYolu = clPathCombine('UygulamaAyarlari_V3.txt', Clomosy.AppFilesPath);</div><div>if (clFileExists(OkunanDosyaYolu, ''))</div><div>{</div><div>&nbsp;YuklenenAyarlar = Clomosy.StringListNew;</div><div>&nbsp;YuklenenAyarlar.LoadFromFile(OkunanDosyaYolu, 0);</div><div>&nbsp;if (YuklenenAyarlar.Count &gt; 0) { TmpDeger = Trim(Clomosy.StringListItemString(YuklenenAyarlar, 0)); if (TmpDeger &lt;&gt; '') { OkunanTemaIndex = StrToInt(TmpDeger); } }</div><div>&nbsp;if (YuklenenAyarlar.Count &gt; 1) { TmpDeger = Trim(Clomosy.StringListItemString(YuklenenAyarlar, 1)); if (TmpDeger &lt;&gt; '') { OkunanBoyutIndex = StrToInt(TmpDeger); } }</div><div>&nbsp;if (YuklenenAyarlar.Count &gt; 2) { TmpDeger = Trim(Clomosy.StringListItemString(YuklenenAyarlar, 2)); if (TmpDeger &lt;&gt; '') { gAktifDilIndex = StrToInt(TmpDeger); } }</div><div>&nbsp;if (YuklenenAyarlar.Count &gt; 5) { TmpDeger = Trim(Clomosy.StringListItemString(YuklenenAyarlar, 5)); if (TmpDeger &lt;&gt; '') { OkunanFontAdi = TmpDeger; } }</div><div>&nbsp;if (OkunanBoyutIndex == 0) { UiFontSize = 12; }</div><div>&nbsp;else if (OkunanBoyutIndex == 2) { UiFontSize = 16; }</div><div>&nbsp;else { UiFontSize = 14; }</div><div>&nbsp;YuklenenAyarlar.Free;</div><div>}</div><div><br></div><div>AyarDosyasindanTemayiYukle(OkunanTemaIndex);</div><div>ApplyUiSettings;</div><div>RefreshListe;</div><div>}</div><div><br></div><div>{</div><div>FormFiltre = TclGameForm.Create(Self);</div><div>FormFiltre.LytTopBar.Visible = False;</div><div>FormFiltre.BtnGoBack.Visible = False;</div><div>FormFiltre.BtnFormMenu.Visible = False;</div><div><br></div><div>OkunanTemaIndex = 0; UiFontSize = 13;</div><div>OkunanUyariRengi = '#EF4444'; OkunanYaziRengi = '#1E293B';</div><div>OkunanKartRengi = '#FFFFFF'; OkunanZeminRengi = '#F8FAFC';</div><div>OkunanFontAdi = 'Arial'; OkunanStilIndex = 0; OkunanHizaIndex = 1; GlobalAktifDilIndex = 0;</div><div>AktifSekme = 'BEKLEYEN';</div><div>SecilenOperatorFiltresi = 'Tumu';</div><div><br></div><div>AyarDosyasindanTemayiYukle(OkunanTemaIndex);</div><div><br></div><div>PnlNavBar = FormFiltre.AddNewProPanel(FormFiltre, 'PnlNavBar');</div><div>PnlNavBar.Align = alTop; PnlNavBar.Height = 75; StyleHeaderBar(PnlNavBar);</div><div><br></div><div>BtnBack = FormFiltre.AddNewProButton(PnlNavBar, 'BtnBack', '&lt;');</div><div>BtnBack.Align = alLeft; BtnBack.Width = 45; BtnBack.Margins.Top = 20; BtnBack.Margins.Left = 5;</div><div>BtnBack.clProSettings.FontColor = clAlphaColor.clWhite; BtnBack.clProSettings.BorderWidth = 0; BtnBack.clProSettings.IsFill = False;</div><div>BtnBack.clProSettings.FontSize = 20; BtnBack.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>BtnBack.SetclProSettings(BtnBack.clProSettings); FormFiltre.AddNewEvent(BtnBack, tbeOnClick, 'GoBack');</div><div><br></div><div>LblTitle = FormFiltre.AddNewProLabel(PnlNavBar, 'LblTitle', ''); LblTitle.Align = alClient; LblTitle.Margins.Left = 8; LblTitle.Margins.Top = 20;</div><div>LblTitle.clProSettings.FontColor = clAlphaColor.clWhite; LblTitle.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>LblTitle.clProSettings.FontVertAlign = palcenter; LblTitle.SetclProSettings(LblTitle.clProSettings);</div><div><br></div><div>// ÜST MENÜDE YER ALAN GELİŞMİŞ FORM BUTONU</div><div>BtnGelismisOpen = FormFiltre.AddNewProButton(PnlNavBar, 'BtnGelismisOpen', 'Gelişmiş Form');</div><div>BtnGelismisOpen.Align = alRight; BtnGelismisOpen.Width = 110; BtnGelismisOpen.Margins.Top = 18; BtnGelismisOpen.Margins.Bottom = 18; BtnGelismisOpen.Margins.Right = 10;</div><div>BtnGelismisOpen.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#0284C7');</div><div>BtnGelismisOpen.clProSettings.FontColor = clAlphaColor.clWhite; BtnGelismisOpen.clProSettings.IsFill = True;</div><div>BtnGelismisOpen.clProSettings.IsRound = True; BtnGelismisOpen.clProSettings.RoundHeight = 6; BtnGelismisOpen.clProSettings.RoundWidth = 6;</div><div>BtnGelismisOpen.clProSettings.FontSize = 12; BtnGelismisOpen.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>BtnGelismisOpen.SetclProSettings(BtnGelismisOpen.clProSettings);</div><div>FormFiltre.AddNewEvent(BtnGelismisOpen, tbeOnClick, 'OpenGelismisForm');</div><div><br></div><div>ScrollForm = FormFiltre.AddNewVertScrollBox(FormFiltre, 'ScrollForm'); ScrollForm.Align = alClient;</div><div><br></div><div>PnlMainCard = FormFiltre.AddNewProPanel(ScrollForm, 'PnlMainCard'); PnlMainCard.Align = alTop; PnlMainCard.Height = 1050; PnlMainCard.Margins.Top = 12; PnlMainCard.Margins.Left = 10; PnlMainCard.Margins.Right = 10; PnlMainCard.Margins.Bottom = 15;</div><div>StyleMainCard(PnlMainCard);</div><div><br></div><div>LblTitleFilter = FormFiltre.AddNewProLabel(PnlMainCard, 'LblTitleFilter', ''); LblTitleFilter.Align = alTop; LblTitleFilter.Height = 28; LblTitleFilter.Margins.Left = 12; LblTitleFilter.Margins.Top = 15; StyleSectionTitle(LblTitleFilter);</div><div><br></div><div>GrpTur = FormFiltre.AddNewProPanel(PnlMainCard, 'GrpTur'); GrpTur.Align = alTop; GrpTur.Height = 54; GrpTur.Margins.Top = 8; GrpTur.Margins.Left = 12; GrpTur.Margins.Right = 12; StyleInputPanel(GrpTur);</div><div>LblTur = FormFiltre.AddNewProLabel(GrpTur, 'LblTur', ''); LblTur.Align = alTop; LblTur.Height = 16; LblTur.Margins.Left = 10; LblTur.Margins.Top = 5; StyleInputLabel(LblTur);</div><div>CmbTur = FormFiltre.AddNewComboBox(GrpTur, 'CmbTur'); CmbTur.Align = alClient; CmbTur.Margins.Left = 10; CmbTur.Margins.Right = 10; CmbTur.Margins.Bottom = 6;</div><div><br></div><div>GrpPeriyot = FormFiltre.AddNewProPanel(PnlMainCard, 'GrpPeriyot'); GrpPeriyot.Align = alTop; GrpPeriyot.Height = 54; GrpPeriyot.Margins.Top = 6; GrpPeriyot.Margins.Left = 12; GrpPeriyot.Margins.Right = 12; StyleInputPanel(GrpPeriyot);</div><div>LblPeriyot = FormFiltre.AddNewProLabel(GrpPeriyot, 'LblPeriyot', ''); LblPeriyot.Align = alTop; LblPeriyot.Height = 16; LblPeriyot.Margins.Left = 10; LblPeriyot.Margins.Top = 5; StyleInputLabel(LblPeriyot);</div><div>CmbPeriyot = FormFiltre.AddNewComboBox(GrpPeriyot, 'CmbPeriyot'); CmbPeriyot.Align = alClient; CmbPeriyot.Margins.Left = 10; CmbPeriyot.Margins.Right = 10; CmbPeriyot.Margins.Bottom = 6;</div><div><br></div><div>GrpAy = FormFiltre.AddNewProPanel(PnlMainCard, 'GrpAy'); GrpAy.Align = alTop; GrpAy.Height = 54; GrpAy.Margins.Top = 6; GrpAy.Margins.Left = 12; GrpAy.Margins.Right = 12; StyleInputPanel(GrpAy);</div><div>LblAy = FormFiltre.AddNewProLabel(GrpAy, 'LblAy', ''); LblAy.Align = alTop; LblAy.Height = 16; LblAy.Margins.Left = 10; LblAy.Margins.Top = 5; StyleInputLabel(LblAy);</div><div>CmbAy = FormFiltre.AddNewComboBox(GrpAy, 'CmbAy'); CmbAy.Align = alClient; CmbAy.Margins.Left = 10; CmbAy.Margins.Right = 10; CmbAy.Margins.Bottom = 6;</div><div><br></div><div>GrpYil = FormFiltre.AddNewProPanel(PnlMainCard, 'GrpYil'); GrpYil.Align = alTop; GrpYil.Height = 54; GrpYil.Margins.Top = 6; GrpYil.Margins.Left = 12; GrpYil.Margins.Right = 12; StyleInputPanel(GrpYil);</div><div>LblYil = FormFiltre.AddNewProLabel(GrpYil, 'LblYil', ''); LblYil.Align = alTop; LblYil.Height = 16; LblYil.Margins.Left = 10; LblYil.Margins.Top = 5; StyleInputLabel(LblYil);</div><div>CmbYil = FormFiltre.AddNewComboBox(GrpYil, 'CmbYil'); CmbYil.Align = alClient; CmbYil.Margins.Left = 10; CmbYil.Margins.Right = 10; CmbYil.Margins.Bottom = 6;</div><div><br></div><div>PnlFilterButtons = FormFiltre.AddNewProPanel(PnlMainCard, 'PnlFilterButtons'); PnlFilterButtons.Align = alTop; PnlFilterButtons.Height = 46; PnlFilterButtons.Margins.Top = 14; PnlFilterButtons.Margins.Left = 12; PnlFilterButtons.Margins.Right = 12; PnlFilterButtons.clProSettings.BorderWidth = 0; PnlFilterButtons.SetclProSettings(PnlFilterButtons.clProSettings);</div><div>BtnUygula = FormFiltre.AddNewProButton(PnlFilterButtons, 'BtnUygula', ''); BtnUygula.Align = alLeft; BtnUygula.Width = 100; BtnUygula.Margins.Right = 10; StylePrimaryButton(BtnUygula); FormFiltre.AddNewEvent(BtnUygula, tbeOnClick, 'ApplyFilter');</div><div>BtnTemizle = FormFiltre.AddNewProButton(PnlFilterButtons, 'BtnTemizle', ''); BtnTemizle.Align = alLeft; BtnTemizle.Width = 90; StyleSecondaryButton(BtnTemizle); FormFiltre.AddNewEvent(BtnTemizle, tbeOnClick, 'ClearFilter');</div><div><br></div><div>LblTitleList = FormFiltre.AddNewProLabel(PnlMainCard, 'LblTitleList', ''); LblTitleList.Align = alTop; LblTitleList.Height = 28; LblTitleList.Margins.Left = 12; LblTitleList.Margins.Top = 18; StyleSectionTitle(LblTitleList);</div><div><br></div><div>PnlTabs = FormFiltre.AddNewProPanel(PnlMainCard, 'PnlTabs'); PnlTabs.Align = alTop; PnlTabs.Height = 42; PnlTabs.Margins.Left = 12; PnlTabs.Margins.Right = 12; PnlTabs.Margins.Top = 4; PnlTabs.clProSettings.BorderWidth = 0; PnlTabs.SetclProSettings(PnlTabs.clProSettings);</div><div><br></div><div>BtnTabYaklasan = FormFiltre.AddNewProButton(PnlTabs, 'BtnTabYaklasan', 'Yaklasan (5 Gun)'); BtnTabYaklasan.Align = alLeft; BtnTabYaklasan.Width = 115; BtnTabYaklasan.Margins.Right = 6; BtnTabYaklasan.clTagInt = 1; FormFiltre.AddNewEvent(BtnTabYaklasan, tbeOnClick, 'TabClick');</div><div>BtnTabBekleyen = FormFiltre.AddNewProButton(PnlTabs, 'BtnTabBekleyen', 'Bekleyenler'); BtnTabBekleyen.Align = alLeft; BtnTabBekleyen.Width = 105; BtnTabBekleyen.Margins.Right = 6; BtnTabBekleyen.clTagInt = 2; FormFiltre.AddNewEvent(BtnTabBekleyen, tbeOnClick, 'TabClick');</div><div>BtnTabTamamlanan = FormFiltre.AddNewProButton(PnlTabs, 'BtnTabTamamlanan', 'Tamamlananlar'); BtnTabTamamlanan.Align = alLeft; BtnTabTamamlanan.Width = 115; BtnTabTamamlanan.clTagInt = 3; FormFiltre.AddNewEvent(BtnTabTamamlanan, tbeOnClick, 'TabClick');</div><div><br></div><div>LblEmpty = FormFiltre.AddNewProLabel(PnlMainCard, 'LblEmpty', ''); LblEmpty.Align = alTop; LblEmpty.Height = 28; LblEmpty.Margins.Left = 15; LblEmpty.Margins.Top = 10; LblEmpty.clProSettings.FontColor = clAlphaColor.clHexToColor('#475569'); LblEmpty.SetclProSettings(LblEmpty.clProSettings);</div><div><br></div><div>PnlListHost = FormFiltre.AddNewProPanel(PnlMainCard, 'PnlListHost'); PnlListHost.Align = alTop; PnlListHost.clProSettings.BorderWidth = 0; PnlListHost.SetclProSettings(PnlListHost.clProSettings);</div><div><br></div><div>for (TmpIndex = 1 to 100)</div><div>{</div><div>&nbsp;CardPanel&#091;TmpIndex&#093; = FormFiltre.AddNewProPanel(PnlListHost, 'CardPanel' + IntToStr(TmpIndex));</div><div>&nbsp;// DEĞİŞİKLİK: Yükseklik 140'tan 170'e çıkarıldı</div><div>&nbsp;CardPanel&#091;TmpIndex&#093;.Align = alTop; CardPanel&#091;TmpIndex&#093;.Margins.Top = 10; CardPanel&#091;TmpIndex&#093;.Margins.Left = 12; CardPanel&#091;TmpIndex&#093;.Margins.Right = 12; CardPanel&#091;TmpIndex&#093;.Height = 170;</div><div>&nbsp;CardPanel&#091;TmpIndex&#093;.clProSettings.BorderWidth = 1; CardPanel&#091;TmpIndex&#093;.clProSettings.IsFill = True; CardPanel&#091;TmpIndex&#093;.clProSettings.IsRound = True; CardPanel&#091;TmpIndex&#093;.clProSettings.RoundHeight = 8; CardPanel&#091;TmpIndex&#093;.clProSettings.RoundWidth = 8; CardPanel&#091;TmpIndex&#093;.SetclProSettings(CardPanel&#091;TmpIndex&#093;.clProSettings);</div><div>&nbsp;FormFiltre.AddNewEvent(CardPanel&#091;TmpIndex&#093;, tbeOnClick, 'OnCardPanelClicked');</div><div><br></div><div>&nbsp;CardTitle&#091;TmpIndex&#093; = FormFiltre.AddNewProLabel(CardPanel&#091;TmpIndex&#093;, 'CardTitle' + IntToStr(TmpIndex), '');</div><div>&nbsp;CardTitle&#091;TmpIndex&#093;.Align = alTop; CardTitle&#091;TmpIndex&#093;.Height = 32;</div><div>&nbsp;CardTitle&#091;TmpIndex&#093;.clProSettings.FontColor = clAlphaColor.clWhite; CardTitle&#091;TmpIndex&#093;.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; CardTitle&#091;TmpIndex&#093;.clProSettings.IsFill = True; CardTitle&#091;TmpIndex&#093;.clProSettings.IsRound = True; CardTitle&#091;TmpIndex&#093;.clProSettings.RoundHeight = 8; CardTitle&#091;TmpIndex&#093;.clProSettings.RoundWidth = 8; CardTitle&#091;TmpIndex&#093;.SetclProSettings(CardTitle&#091;TmpIndex&#093;.clProSettings);</div><div>&nbsp;FormFiltre.AddNewEvent(CardTitle&#091;TmpIndex&#093;, tbeOnClick, 'OnCardLabelClicked');</div><div><br></div><div>&nbsp;CardDetail&#091;TmpIndex&#093; = FormFiltre.AddNewProLabel(CardPanel&#091;TmpIndex&#093;, 'CardDetail' + IntToStr(TmpIndex), '');</div><div>&nbsp;CardDetail&#091;TmpIndex&#093;.Align = alClient; CardDetail&#091;TmpIndex&#093;.Margins.Left = 10; CardDetail&#091;TmpIndex&#093;.Margins.Right = 10; CardDetail&#091;TmpIndex&#093;.Margins.Top = 6; CardDetail&#091;TmpIndex&#093;.Margins.Bottom = 6; CardDetail&#091;TmpIndex&#093;.clProSettings.WordWrap = True; CardDetail&#091;TmpIndex&#093;.SetclProSettings(CardDetail&#091;TmpIndex&#093;.clProSettings);</div><div>&nbsp;FormFiltre.AddNewEvent(CardDetail&#091;TmpIndex&#093;, tbeOnClick, 'OnCardLabelClicked');</div><div>}</div><div><br></div><div>PnlDetailOverlay = FormFiltre.AddNewProPanel(FormFiltre, 'PnlDetailOverlay');</div><div>PnlDetailOverlay.Align = alClient; PnlDetailOverlay.clProSettings.BackgroundColor = clAlphaColor.clWhite; PnlDetailOverlay.clProSettings.IsFill = True; PnlDetailOverlay.SetclProSettings(PnlDetailOverlay.clProSettings);</div><div><br></div><div>PnlDetailHeader = FormFiltre.AddNewProPanel(PnlDetailOverlay, 'PnlDetailHeader');</div><div>PnlDetailHeader.Align = alTop; PnlDetailHeader.Height = 50;</div><div>PnlDetailHeader.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>PnlDetailHeader.clProSettings.IsFill = True;</div><div>PnlDetailHeader.SetclProSettings(PnlDetailHeader.clProSettings);</div><div><br></div><div>LblDetailTitle = FormFiltre.AddNewProLabel(PnlDetailHeader, 'LblDetailTitle', 'Hareket Detayi');</div><div>LblDetailTitle.Align = alClient; LblDetailTitle.Margins.Left = 15;</div><div>LblDetailTitle.clProSettings.FontColor = clAlphaColor.clHexToColor('#1E293B');</div><div>LblDetailTitle.clProSettings.FontSize = 16;</div><div>LblDetailTitle.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>LblDetailTitle.SetclProSettings(LblDetailTitle.clProSettings);</div><div><br></div><div>DetailScroll = FormFiltre.AddNewVertScrollBox(PnlDetailOverlay, 'DetailScroll');</div><div>DetailScroll.Align = alClient; DetailScroll.Margins.Left = 12; DetailScroll.Margins.Right = 12;</div><div><br></div><div>for (TmpIndex = 0 to 11)</div><div>{</div><div>&nbsp;DetPnl&#091;TmpIndex&#093; = FormFiltre.AddNewProPanel(DetailScroll, 'DetPnl'+IntToStr(TmpIndex));</div><div>&nbsp;DetPnl&#091;TmpIndex&#093;.Align = alTop; DetPnl&#091;TmpIndex&#093;.Margins.Top = 10;</div><div>&nbsp;DetPnl&#091;TmpIndex&#093;.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1'); DetPnl&#091;TmpIndex&#093;.clProSettings.BorderWidth = 1;</div><div>&nbsp;DetPnl&#091;TmpIndex&#093;.clProSettings.IsRound = True; DetPnl&#091;TmpIndex&#093;.clProSettings.RoundHeight = 8; DetPnl&#091;TmpIndex&#093;.clProSettings.RoundWidth = 8;</div><div>&nbsp;DetPnl&#091;TmpIndex&#093;.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F8FAFC');</div><div>&nbsp;DetPnl&#091;TmpIndex&#093;.SetclProSettings(DetPnl&#091;TmpIndex&#093;.clProSettings);</div><div><br></div><div>&nbsp;DetLbl&#091;TmpIndex&#093; = FormFiltre.AddNewProLabel(DetPnl&#091;TmpIndex&#093;, 'DetLbl'+IntToStr(TmpIndex), '');</div><div>&nbsp;DetLbl&#091;TmpIndex&#093;.clProSettings.FontColor = clAlphaColor.clHexToColor('#1E293B'); DetLbl&#091;TmpIndex&#093;.clProSettings.FontSize = 12; DetLbl&#091;TmpIndex&#093;.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; DetLbl&#091;TmpIndex&#093;.SetclProSettings(DetLbl&#091;TmpIndex&#093;.clProSettings);</div><div><br></div><div>&nbsp;if (TmpIndex == 10)</div><div>&nbsp;{</div><div>&nbsp;DetPnl&#091;TmpIndex&#093;.Height = 120;</div><div>&nbsp;DetLbl&#091;TmpIndex&#093;.Align = alTop; DetLbl&#091;TmpIndex&#093;.Height = 25; DetLbl&#091;TmpIndex&#093;.Margins.Left = 10; DetLbl&#091;TmpIndex&#093;.Margins.Top = 5;</div><div>&nbsp;DetMemoNeden = FormFiltre.AddNewMemo(DetPnl&#091;TmpIndex&#093;, 'DetMemoNeden', '');</div><div>&nbsp;DetMemoNeden.Align = alClient; DetMemoNeden.Margins.Left = 10; DetMemoNeden.Margins.Right = 10; DetMemoNeden.Margins.Bottom = 10;</div><div>&nbsp;}</div><div>&nbsp;else</div><div>&nbsp;{</div><div>&nbsp;DetPnl&#091;TmpIndex&#093;.Height = 50;</div><div>&nbsp;DetLbl&#091;TmpIndex&#093;.Align = alLeft; DetLbl&#091;TmpIndex&#093;.Width = 140; DetLbl&#091;TmpIndex&#093;.Margins.Left = 10;</div><div><br></div><div>&nbsp;DetEdt&#091;TmpIndex&#093; = FormFiltre.AddNewEdit(DetPnl&#091;TmpIndex&#093;, 'DetEdt'+IntToStr(TmpIndex), '');</div><div>&nbsp;DetEdt&#091;TmpIndex&#093;.Align = alClient;</div><div>&nbsp;DetEdt&#091;TmpIndex&#093;.Margins.Left = 5;</div><div>&nbsp;DetEdt&#091;TmpIndex&#093;.Margins.Right = 10;</div><div>&nbsp;DetEdt&#091;TmpIndex&#093;.Margins.Top = 5;</div><div>&nbsp;DetEdt&#091;TmpIndex&#093;.Margins.Bottom = 5;</div><div>&nbsp;}</div><div>}</div><div><br></div><div>PnlDetailButtons = FormFiltre.AddNewProPanel(DetailScroll, 'PnlDetailButtons');</div><div>PnlDetailButtons.Align = alTop; PnlDetailButtons.Height = 65; PnlDetailButtons.Margins.Top = 15; PnlDetailButtons.Margins.Bottom = 20; PnlDetailButtons.clProSettings.BorderWidth = 0; PnlDetailButtons.SetclProSettings(PnlDetailButtons.clProSettings);</div><div><br></div><div>BtnDetailSave = FormFiltre.AddNewProButton(PnlDetailButtons, 'BtnDetailSave', 'Kaydet');</div><div>BtnDetailSave.Align = alLeft; BtnDetailSave.Width = 85; StylePrimaryButton(BtnDetailSave); FormFiltre.AddNewEvent(BtnDetailSave, tbeOnClick, 'SaveEditClick');</div><div><br></div><div>BtnTamamlandi = FormFiltre.AddNewProButton(PnlDetailButtons, 'BtnTamamlandi', 'Tamamlandi');</div><div>BtnTamamlandi.Align = alLeft; BtnTamamlandi.Width = 105; BtnTamamlandi.Margins.Left = 6; StylePrimaryButton(BtnTamamlandi); FormFiltre.AddNewEvent(BtnTamamlandi, tbeOnClick, 'MarkAsCompletedClick');</div><div><br></div><div>BtnErtele = FormFiltre.AddNewProButton(PnlDetailButtons, 'BtnErtele', '10 G. Ertele');</div><div>BtnErtele.Align = alLeft; BtnErtele.Width = 95; BtnErtele.Margins.Left = 6; StyleSecondaryButton(BtnErtele); FormFiltre.AddNewEvent(BtnErtele, tbeOnClick, 'PostponeClick');</div><div><br></div><div>BtnDetailCancel = FormFiltre.AddNewProButton(PnlDetailButtons, 'BtnDetailCancel', 'Kapat');</div><div>BtnDetailCancel.Align = alRight; BtnDetailCancel.Width = 85; StyleSecondaryButton(BtnDetailCancel); FormFiltre.AddNewEvent(BtnDetailCancel, tbeOnClick, 'CancelEditClick');</div><div><br></div><div>ToggleDetailPanel(False);</div><div><br></div><div>FormFiltre.AddNewEvent(FormFiltre, tbeOnFormActivate, 'AyarlariYenile');</div><div>AyarlariYenile;</div><div>FormFiltre.Run;</div><div>}&nbsp; &nbsp;</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}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Thu, 06 Aug 2026 10:45:24 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1646&amp;PID=3815#3815</guid>
  </item> 
  <item>
   <title><![CDATA[operatör hatası : ilgili prosed&#252;rleri bu &#351;ekil de...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1646&amp;PID=3814#3814</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> 1646<br /><strong>Gönderim Zamanı:</strong> 06&nbsp;Ağustos&nbsp;2026 Saat 10:37<br /><br /><div>ilgili prosedürleri bu şekil de güncleller misin<br><br><br><br>void OnSearchRehber;</div><div>var RehberHazir: Boolean;</div><div>{</div><div>&nbsp; RehberHazir = False;</div><div>&nbsp; try</div><div>&nbsp; &nbsp; if (RehberJsonData.RecordCount &gt;= 0) { RehberHazir = True; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; RehberHazir = False;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (RehberHazir == False) { Exit; }</div><div><br></div><div>&nbsp; if (EdtRehberArama.Text == '')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; RehberJsonData.Filtered = False;</div><div>&nbsp; &nbsp; RehberJsonData.Filter = '';</div><div>&nbsp; }</div><div>&nbsp; else</div><div>&nbsp; {</div><div>&nbsp; &nbsp; RehberJsonData.Filter = 'clCaption Like ' + Chr(39) + '%' + EdtRehberArama.Text + '%' + Chr(39);</div><div>&nbsp; &nbsp; RehberJsonData.Filtered = True;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void OpenRehber;</div><div>var</div><div>&nbsp; q: TClSqlQuery;</div><div>&nbsp; MyJsonStr: String;</div><div>&nbsp; CleanMain: String;</div><div>&nbsp; CleanSub: String;</div><div>{</div><div>&nbsp; if (IsDBConnected &lt;&gt; True)</div><div>&nbsp; { ConnectToDatabase; }</div><div><br></div><div>&nbsp; if (IsDBConnected &lt;&gt; True)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('Veritabani baglantisi kurulamadi!');</div><div>&nbsp; &nbsp; Exit;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; MyJsonStr = '&#091;';</div><div><br></div><div>&nbsp; FormRehber = TclGameForm.Create(Self);</div><div>&nbsp; FormRehber.LytTopBar.Visible = False;</div><div>&nbsp; FormRehber.BtnGoBack.Visible = False;</div><div>&nbsp; FormRehber.BtnFormMenu.Visible = False;</div><div>&nbsp; FormRehber.SetFormColor('#0F172A', '#334155', clGVertical);</div><div><br></div><div>&nbsp; LsvBelgeRehber = FormRehber.AddNewProListView(FormRehber, '');</div><div>&nbsp; LsvBelgeRehber.Align = alClient;</div><div>&nbsp; LsvBelgeRehber.Margins.Top = 65;</div><div>&nbsp; LsvBelgeRehber.Margins.Left = 15;</div><div>&nbsp; LsvBelgeRehber.Margins.Right = 15;</div><div>&nbsp; LsvBelgeRehber.Margins.Bottom = 15;</div><div>&nbsp; LsvBelgeRehber.ListType = 'vertical';</div><div>&nbsp; LsvBelgeRehber.clProSettings.ItemHeight = 65;</div><div>&nbsp; LsvBelgeRehber.clProSettings.ItemSpace = 5;</div><div>&nbsp; LsvBelgeRehber.clProSettings.ColCount = 1;</div><div>&nbsp; LsvBelgeRehber.clProSettings.ViewType = lvIcon;</div><div>&nbsp; LsvBelgeRehber.clProSettings.IsFill = False;</div><div>&nbsp; LsvBelgeRehber.SetclProSettings(LsvBelgeRehber.clProSettings);</div><div>&nbsp; FormRehber.AddNewEvent(LsvBelgeRehber, tbeOnItemClick, 'OnListItemClick');</div><div><br></div><div>&nbsp; EdtRehberArama = FormRehber.AddNewProEdit(FormRehber, '', GetText('ARA_OPERATOR'));</div><div>&nbsp; EdtRehberArama.Align = alTop;</div><div>&nbsp; EdtRehberArama.Margins.Top = 15;</div><div>&nbsp; EdtRehberArama.Margins.Left = 15;</div><div>&nbsp; EdtRehberArama.Margins.Right = 15;</div><div>&nbsp; EdtRehberArama.Height = 42;</div><div>&nbsp; EdtRehberArama.clProSettings.FontSize = 14;</div><div><br></div><div>&nbsp; q = TClSqlQuery.Create(nil);</div><div>&nbsp; try</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; if (GlobalLookupType == 'OPERATOR')</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.SQL.Text = 'SELECT OPERATOR_KODU AS MAIN_TEXT, ISNULL(OPERATOR_ADI, '''') AS SUB_TEXT FROM &#091;TBLURTOPERATORSB&#093; WITH (NOLOCK) WHERE ISNULL(PASIF, 0) = 0 ORDER BY OPERATOR_KODU';</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; q.Open;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; while (not q.Eof)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (MyJsonStr &lt;&gt; '&#091;') { MyJsonStr = MyJsonStr + ','; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; CleanMain = q.FieldByName('MAIN_TEXT').AsString;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CleanMain = clGetStringReplace(CleanMain, '"', '');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CleanMain = clGetStringReplace(CleanMain, Chr(13), '');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CleanMain = clGetStringReplace(CleanMain, Chr(10), '');</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; CleanSub = q.FieldByName('SUB_TEXT').AsString;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CleanSub = clGetStringReplace(CleanSub, '"', '');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CleanSub = clGetStringReplace(CleanSub, Chr(13), '');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CleanSub = clGetStringReplace(CleanSub, Chr(10), '');</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; MyJsonStr = MyJsonStr + '{"clCaption":"' + CleanMain + '", "clText":"' + CleanSub + '"}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; except</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Sorgu hatasi: ' + LastExceptionMessage);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; finally</div><div>&nbsp; &nbsp; q.Close;</div><div>&nbsp; &nbsp; q.Free;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (MyJsonStr == '&#091;') { MyJsonStr = '&#091;{"clCaption":"' + GetText('LST_BOS') + '", "clText":""}&#093;'; }</div><div>&nbsp; else { MyJsonStr = MyJsonStr + '&#093;'; }</div><div><br></div><div>&nbsp; RehberJsonData = Clomosy.clDataSetFromJSON(MyJsonStr);</div><div>&nbsp; LsvBelgeRehber.clLoadProListViewDataFromDataset(RehberJsonData);</div><div><br></div><div>&nbsp; FormRehber.AddNewEvent(EdtRehberArama, tbeOnChange, 'OnSearchRehber');</div><div>&nbsp; FormRehber.Run;</div><div>}</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}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Thu, 06 Aug 2026 10:37:46 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1646&amp;PID=3814#3814</guid>
  </item> 
  <item>
   <title><![CDATA[operatör hatası : varFormFiltre, FormGelismis, FormRehber:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1646&amp;PID=3813#3813</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=480">kayra22</a><br /><strong>Konu:</strong> 1646<br /><strong>Gönderim Zamanı:</strong> 06&nbsp;Ağustos&nbsp;2026 Saat 10:14<br /><br /><div>var</div><div>&nbsp;FormFiltre, FormGelismis, FormRehber: TclGameForm;</div><div>&nbsp;PnlNavBar, PnlMainCard, PnlFilterButtons, PnlListHost, PnlTabs: TclProPanel;</div><div>&nbsp;GrpTur, GrpPeriyot, GrpAy, GrpYil: TclProPanel;</div><div>&nbsp;BtnBack, BtnUygula, BtnTemizle, BtnGelismisOpen: TclProButton;</div><div>&nbsp;BtnTabYaklasan, BtnTabBekleyen, BtnTabTamamlanan: TclProButton;</div><div>&nbsp;LblTitle, LblTitleFilter, LblTitleList, LblTur, LblPeriyot, LblAy, LblYil, LblEmpty: TclProLabel;</div><div>&nbsp;CmbTur, CmbPeriyot, CmbAy, CmbYil: TclComboBox;</div><div>&nbsp;ScrollForm: TclVertScrollBox;</div><div>&nbsp;CardPanel: array &#091;0..100&#093; of TclProPanel;</div><div>&nbsp;CardTitle: array &#091;0..100&#093; of TclProLabel;</div><div>&nbsp;CardDetail: array &#091;0..100&#093; of TclProLabel;</div><div><br></div><div>&nbsp;KayitTur, KayitBelgeNo, KayitMakine, KayitTip, KayitPlanlanan: array &#091;0..100&#093; of String;</div><div>&nbsp;KayitDurum, KayitAy, KayitYil, KayitPeriyot: array &#091;0..100&#093; of String;</div><div>&nbsp;KayitOperator, KayitBaslangic, KayitBitisTur: array &#091;0..100&#093; of String;</div><div>&nbsp;KayitKisi, KayitAciklama, KayitNeden: array &#091;0..100&#093; of String;</div><div><br></div><div>&nbsp;KayitCount, TmpIndex, TmpVisibleCount, TmpYear: Integer;</div><div>&nbsp;UiFontSize: Integer;</div><div>&nbsp;ThemeKoyuRenk, ThemeAcikRenk, ThemeBorderColor, ThemeBgColor, ThemeTextColor: String;</div><div>&nbsp;OkunanUyariRengi, OkunanYaziRengi, OkunanKartRengi, OkunanZeminRengi, OkunanFontAdi: String;</div><div>&nbsp;OkunanTemaIndex, OkunanBoyutIndex, OkunanStilIndex, OkunanHizaIndex, GlobalAktifDilIndex: Integer;</div><div><br></div><div>&nbsp;// Gelişmiş Form Bileşenleri</div><div>&nbsp;PnlGelismisCard, GrpOperator: TclProPanel;</div><div>&nbsp;LblOperatorTitle, LblOperator: TclProLabel;</div><div>&nbsp;EdtOperator: TclEdit;</div><div>&nbsp;BtnOperatorRehber, BtnGelismisKapat, BtnGelismisUygula: TclProButton;</div><div>&nbsp;SecilenOperatorFiltresi: String;</div><div><br></div><div>&nbsp;// Rehber Formu Bileşenleri</div><div>&nbsp;PnlRehberCard: TclProPanel;</div><div>&nbsp;LblRehberTitle: TclProLabel;</div><div>&nbsp;EdtRehberArama: TclProEdit;</div><div>&nbsp;LsvBelgeRehber: TClProListView;</div><div>&nbsp;RehberJsonData: TclJsonQuery;</div><div>&nbsp;GlobalLookupType: String;</div><div><br></div><div>&nbsp;PnlDetailOverlay, PnlDetailHeader, PnlDetailButtons: TclProPanel;</div><div>&nbsp;DetailScroll: TclVertScrollBox;</div><div>&nbsp;LblDetailTitle: TclProLabel;</div><div>&nbsp;BtnDetailSave, BtnDetailCancel, BtnTamamlandi, BtnErtele: TclProButton;</div><div><br></div><div>&nbsp;DetPnl: array&#091;0..11&#093; of TclProPanel;</div><div>&nbsp;DetLbl: array&#091;0..11&#093; of TclProLabel;</div><div>&nbsp;DetEdt: array&#091;0..11&#093; of TclEdit;</div><div>&nbsp;DetMemoNeden: TclMemo;</div><div>&nbsp;ActiveEditIndex: Integer;</div><div>&nbsp;gAktifDilIndex: Integer;</div><div>&nbsp;AktifSekme: String;</div><div>&nbsp;IsDBConnected: Boolean;</div><div><br></div><div>void ConnectToDatabase;</div><div>{</div><div>&nbsp;try</div><div>&nbsp; Clomosy.DBSQLServerConnect('SQL Server','192.168.1.39','sa','1','ATIKER_YAZILIM',50000);</div><div>&nbsp; IsDBConnected = True;</div><div>&nbsp;except</div><div>&nbsp; IsDBConnected = False;</div><div>&nbsp;}</div><div>}</div><div><br></div><div>function GetText(Key: String): String;</div><div>var TKey: String;</div><div>{</div><div>&nbsp;TKey = Trim(Key);</div><div>&nbsp;Result = TKey;</div><div>&nbsp;if (TKey == 'FORM_TITLE') { Result = 'Filtre ve Kayitlar'; }</div><div>&nbsp;else if (TKey == 'SEC_FILTER') { Result = 'FILTRELEME KRITERLERI'; }</div><div>&nbsp;else if (TKey == 'SEC_RESULTS') { Result = 'BAKIM VE ARIZA SONUCLARI'; }</div><div>&nbsp;else if (TKey == 'LBL_TUR') { Result = 'Kayit Turu:'; }</div><div>&nbsp;else if (TKey == 'LBL_PERIYOT') { Result = 'Periyot:'; }</div><div>&nbsp;else if (TKey == 'LBL_AY') { Result = 'Ay:'; }</div><div>&nbsp;else if (TKey == 'LBL_YIL') { Result = 'Yil:'; }</div><div>&nbsp;else if (TKey == 'BTN_APPLY') { Result = 'Filtrele'; }</div><div>&nbsp;else if (TKey == 'BTN_CLEAR') { Result = 'Sifirla'; }</div><div>&nbsp;else if (TKey == 'MSG_EMPTY') { Result = 'Secilen kriterlere uygun kayit bulunamadi.'; }</div><div>&nbsp;else if (TKey == 'ALL') { Result = 'Tumu'; }</div><div>&nbsp;else if (Key == 'ARA_OPERATOR') { Result = 'Operator Ara...'; }</div><div>&nbsp;else if (Key == 'LST_BOS') { Result = 'Listede operator yok'; }</div><div>}</div><div><br></div><div>function GuvenliRenkAl(HamDeger: String): String;</div><div>var Temiz: String;</div><div>{</div><div>&nbsp;Temiz = Trim(HamDeger);</div><div>&nbsp;if (Length(Temiz) &gt;= 4)</div><div>&nbsp;{</div><div>&nbsp; if (Length(Temiz) &gt; 7) { Result = Copy(Temiz, 1, 7); }</div><div>&nbsp; else { Result = Temiz; }</div><div>&nbsp;}</div><div>&nbsp;else { Result = ''; }</div><div>}</div><div><br></div><div>function TemizleMetin(HamMetin: String): String;</div><div>var</div><div>&nbsp;i: Integer;</div><div>&nbsp;Karakter: String;</div><div>{</div><div>&nbsp;Result = '';</div><div>&nbsp;for (i = 1 to Length(HamMetin))</div><div>&nbsp;{</div><div>&nbsp; Karakter = Copy(HamMetin, i, 1);</div><div>&nbsp; if ((Karakter == #13) || (Karakter == #10) || (Karakter == '|')) { Result = Result + ' '; }</div><div>&nbsp; else { Result = Result + Karakter; }</div><div>&nbsp;}</div><div>}</div><div><br></div><div>void AyarDosyasindanTemayiYukle(TemaIndex: Integer);</div><div>{</div><div>&nbsp;ThemeBorderColor = '#CBD5E1';</div><div>&nbsp;ThemeBgColor = '#EEF0F2';</div><div>&nbsp;ThemeTextColor = '#3A3F47';</div><div>&nbsp;ThemeKoyuRenk = '#1E293B'; ThemeAcikRenk = '#3B82F6';</div><div>&nbsp;FormFiltre.SetFormColor(ThemeKoyuRenk, ThemeAcikRenk, clGVertical);</div><div>}</div><div><br></div><div>void StyleHeaderBar(APanel: TclProPanel);</div><div>{</div><div>&nbsp;APanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(ThemeKoyuRenk);</div><div>&nbsp;APanel.clProSettings.BorderWidth = 0;</div><div>&nbsp;APanel.clProSettings.IsFill = True;</div><div>&nbsp;APanel.SetclProSettings(APanel.clProSettings);</div><div>}</div><div><br></div><div>void StyleMainCard(APanel: TclProPanel);</div><div>{</div><div>&nbsp;APanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp;APanel.clProSettings.BorderColor = clAlphaColor.clHexToColor('#E2E8F0');</div><div>&nbsp;APanel.clProSettings.BorderWidth = 1;</div><div>&nbsp;APanel.clProSettings.IsFill = True;</div><div>&nbsp;APanel.clProSettings.IsRound = True;</div><div>&nbsp;APanel.clProSettings.RoundHeight = 12;</div><div>&nbsp;APanel.clProSettings.RoundWidth = 12;</div><div>&nbsp;APanel.SetclProSettings(APanel.clProSettings);</div><div>}</div><div><br></div><div>void StyleSectionTitle(ALabel: TclProLabel);</div><div>{</div><div>&nbsp;ALabel.clProSettings.FontColor = clAlphaColor.clHexToColor('#0F172A');</div><div>&nbsp;ALabel.clProSettings.FontSize = UiFontSize + 1;</div><div>&nbsp;ALabel.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp;ALabel.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp;ALabel.SetclProSettings(ALabel.clProSettings);</div><div>}</div><div><br></div><div>void StyleInputPanel(APanel: TclProPanel);</div><div>{</div><div>&nbsp;APanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F8FAFC');</div><div>&nbsp;APanel.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1');</div><div>&nbsp;APanel.clProSettings.BorderWidth = 1;</div><div>&nbsp;APanel.clProSettings.IsFill = True;</div><div>&nbsp;APanel.clProSettings.IsRound = True;</div><div>&nbsp;APanel.clProSettings.RoundHeight = 8;</div><div>&nbsp;APanel.clProSettings.RoundWidth = 8;</div><div>&nbsp;APanel.SetclProSettings(APanel.clProSettings);</div><div>}</div><div><br></div><div>void StyleInputLabel(ALabel: TclProLabel);</div><div>{</div><div>&nbsp;ALabel.clProSettings.FontColor = clAlphaColor.clHexToColor('#475569');</div><div>&nbsp;ALabel.clProSettings.FontSize = UiFontSize - 1;</div><div>&nbsp;ALabel.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp;ALabel.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp;ALabel.SetclProSettings(ALabel.clProSettings);</div><div>}</div><div><br></div><div>void StylePrimaryButton(AButton: TclProButton);</div><div>{</div><div>&nbsp;AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#0284C7');</div><div>&nbsp;AButton.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp;AButton.clProSettings.BorderWidth = 0;</div><div>&nbsp;AButton.clProSettings.IsFill = True;</div><div>&nbsp;AButton.clProSettings.IsRound = True;</div><div>&nbsp;AButton.clProSettings.RoundHeight = 8;</div><div>&nbsp;AButton.clProSettings.RoundWidth = 8;</div><div>&nbsp;AButton.clProSettings.FontSize = UiFontSize;</div><div>&nbsp;AButton.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp;AButton.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp;AButton.SetclProSettings(AButton.clProSettings);</div><div>}</div><div><br></div><div>void StyleSecondaryButton(AButton: TclProButton);</div><div>{</div><div>&nbsp;AButton.clProSettings.BackgroundColor = clAlphaColor.clWhite;</div><div>&nbsp;AButton.clProSettings.FontColor = clAlphaColor.clHexToColor('#334155');</div><div>&nbsp;AButton.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1');</div><div>&nbsp;AButton.clProSettings.BorderWidth = 1;</div><div>&nbsp;AButton.clProSettings.IsFill = True;</div><div>&nbsp;AButton.clProSettings.IsRound = True;</div><div>&nbsp;AButton.clProSettings.RoundHeight = 8;</div><div>&nbsp;AButton.clProSettings.RoundWidth = 8;</div><div>&nbsp;AButton.clProSettings.FontSize = UiFontSize;</div><div>&nbsp;AButton.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp;AButton.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp;AButton.SetclProSettings(AButton.clProSettings);</div><div>}</div><div><br></div><div>void StyleTabButton(AButton: TclProButton; IsActive: Boolean);</div><div>{</div><div>&nbsp;if (IsActive)</div><div>&nbsp;{</div><div>&nbsp; AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#0F172A');</div><div>&nbsp; AButton.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp;}</div><div>&nbsp;else</div><div>&nbsp;{</div><div>&nbsp; AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F1F5F9');</div><div>&nbsp; AButton.clProSettings.FontColor = clAlphaColor.clHexToColor('#64748B');</div><div>&nbsp;}</div><div>&nbsp;AButton.clProSettings.BorderWidth = 0;</div><div>&nbsp;AButton.clProSettings.IsFill = True;</div><div>&nbsp;AButton.clProSettings.IsRound = True;</div><div>&nbsp;AButton.clProSettings.RoundHeight = 6;</div><div>&nbsp;AButton.clProSettings.RoundWidth = 6;</div><div>&nbsp;AButton.clProSettings.FontSize = UiFontSize - 1;</div><div>&nbsp;AButton.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp;AButton.SetclProSettings(AButton.clProSettings);</div><div>}</div><div><br></div><div>void ApplyUiSettings;</div><div>var TmpY: Integer;</div><div>{</div><div>&nbsp;LblTitle.Text = GetText('FORM_TITLE');</div><div>&nbsp;LblTitleFilter.Text = GetText('SEC_FILTER');</div><div>&nbsp;LblTitleList.Text = GetText('SEC_RESULTS');</div><div>&nbsp;LblTur.Text = GetText('LBL_TUR');</div><div>&nbsp;LblPeriyot.Text = GetText('LBL_PERIYOT');</div><div>&nbsp;LblAy.Text = GetText('LBL_AY');</div><div>&nbsp;LblYil.Text = GetText('LBL_YIL');</div><div>&nbsp;BtnUygula.Text = GetText('BTN_APPLY');</div><div>&nbsp;BtnTemizle.Text = GetText('BTN_CLEAR');</div><div>&nbsp;LblEmpty.Text = GetText('MSG_EMPTY');</div><div><br></div><div>&nbsp;CmbTur.Items.Clear;</div><div>&nbsp;CmbTur.AddItem(GetText('ALL'), 'Tumu');</div><div>&nbsp;CmbTur.AddItem('Bakim', 'Bakim');</div><div>&nbsp;CmbTur.AddItem('Ariza', 'Ariza');</div><div>&nbsp;CmbTur.ItemIndex = 0;</div><div><br></div><div>&nbsp;CmbPeriyot.Items.Clear;</div><div>&nbsp;CmbPeriyot.AddItem(GetText('ALL'), 'Tumu');</div><div>&nbsp;CmbPeriyot.AddItem('Gunluk', 'Gunluk');</div><div>&nbsp;CmbPeriyot.AddItem('Haftalik', 'Haftalik');</div><div>&nbsp;CmbPeriyot.AddItem('Aylik', 'Aylik');</div><div>&nbsp;CmbPeriyot.ItemIndex = 0;</div><div><br></div><div>&nbsp;CmbAy.Items.Clear;</div><div>&nbsp;CmbAy.AddItem(GetText('ALL'), 'Tumu');</div><div>&nbsp;CmbAy.AddItem('01', '01'); CmbAy.AddItem('02', '02'); CmbAy.AddItem('03', '03');</div><div>&nbsp;CmbAy.AddItem('04', '04'); CmbAy.AddItem('05', '05'); CmbAy.AddItem('06', '06');</div><div>&nbsp;CmbAy.AddItem('07', '07'); CmbAy.AddItem('08', '08'); CmbAy.AddItem('09', '09');</div><div>&nbsp;CmbAy.AddItem('10', '10'); CmbAy.AddItem('11', '11'); CmbAy.AddItem('12', '12');</div><div>&nbsp;CmbAy.ItemIndex = 0;</div><div><br></div><div>&nbsp;CmbYil.Items.Clear;</div><div>&nbsp;CmbYil.AddItem(GetText('ALL'), 'Tumu');</div><div>&nbsp;for (TmpY = 2020 to 2035) { CmbYil.AddItem(IntToStr(TmpY), IntToStr(TmpY)); }</div><div>&nbsp;CmbYil.ItemIndex = 0;</div><div><br></div><div>&nbsp;StyleSectionTitle(LblTitleFilter);</div><div>&nbsp;StyleSectionTitle(LblTitleList);</div><div>&nbsp;StylePrimaryButton(BtnUygula);</div><div>&nbsp;StyleSecondaryButton(BtnTemizle);</div><div>}</div><div><br></div><div>void VerileriDosyadanYukle;</div><div>var</div><div>&nbsp;KayitListesi: TclStringList;</div><div>&nbsp;DosyaYolu, KalanVeri, SatirVerisi, IlkKelime: String;</div><div>&nbsp;i, LPos: Integer;</div><div>{</div><div>&nbsp;KayitCount = 0;</div><div>&nbsp;DosyaYolu = clPathCombine('BakimVerileri.txt', Clomosy.AppFilesPath);</div><div>&nbsp;if (clFileExists(DosyaYolu, ''))</div><div>&nbsp;{</div><div>&nbsp; KayitListesi = Clomosy.StringListNew;</div><div>&nbsp; KayitListesi.LoadFromFile(DosyaYolu, 0);</div><div>&nbsp;&nbsp;</div><div>&nbsp; i = KayitListesi.Count - 1;</div><div>&nbsp; while (i &gt;= 0)</div><div>&nbsp; {</div><div>&nbsp; &nbsp;SatirVerisi = Trim(Clomosy.StringListItemString(KayitListesi, i));</div><div>&nbsp; &nbsp;if (SatirVerisi &lt;&gt; '')</div><div>&nbsp; &nbsp;{</div><div>&nbsp; &nbsp; if (KayitCount &lt; 100)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp;KalanVeri = SatirVerisi;</div><div>&nbsp; &nbsp; &nbsp;LPos = Pos('|', KalanVeri);</div><div>&nbsp; &nbsp; &nbsp;if (LPos &gt; 0) { IlkKelime = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); }</div><div>&nbsp; &nbsp; &nbsp;else { IlkKelime = 'Bakim'; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp;if ((IlkKelime == 'Periyodik') || (IlkKelime == 'Bakim') || (IlkKelime == 'Bakım') || (Pos('Periyodik', IlkKelime) &gt; 0))</div><div>&nbsp; &nbsp; &nbsp;{ KayitTur&#091;KayitCount&#093; = 'Bakim'; } else { KayitTur&#091;KayitCount&#093; = IlkKelime; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp;LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitBelgeNo&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitBelgeNo&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp;LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitMakine&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitMakine&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp;LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitTip&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitTip&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp;LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitPlanlanan&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitPlanlanan&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp;LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitDurum&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitDurum&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp;LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitAy&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitAy&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp;LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitYil&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitYil&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp;LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitPeriyot&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitPeriyot&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp;LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitOperator&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitOperator&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp;LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); }</div><div>&nbsp; &nbsp; &nbsp;LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitBaslangic&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitBaslangic&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp;LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitBitisTur&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitBitisTur&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp;LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitKisi&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitKisi&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp;LPos = Pos('|', KalanVeri); if (LPos &gt; 0) { KayitAciklama&#091;KayitCount&#093; = Copy(KalanVeri, 1, LPos - 1); KalanVeri = Copy(KalanVeri, LPos + 1, Length(KalanVeri)); } else { KayitAciklama&#091;KayitCount&#093; = KalanVeri; KalanVeri = ''; }</div><div>&nbsp; &nbsp; &nbsp;KayitNeden&#091;KayitCount&#093; = KalanVeri;</div><div><br></div><div>&nbsp; &nbsp; &nbsp;KayitCount = KayitCount + 1;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;}</div><div>&nbsp; &nbsp;i = i - 1;</div><div>&nbsp; }</div><div>&nbsp; KayitListesi.Free;</div><div>&nbsp;}</div><div>}</div><div><br></div><div>function KayitUygunMu(AIndex: Integer): Boolean;</div><div>var</div><div>&nbsp;STurCombo, SPeriyotCombo, SAyCombo, SYilCombo, SDurumHam: String;</div><div>{</div><div>&nbsp;Result = True;</div><div><br></div><div>&nbsp;if (CmbTur.ItemIndex &lt;= 0) { STurCombo = 'Tumu'; } else { STurCombo = CmbTur.GetValueIndex(CmbTur.ItemIndex); }</div><div>&nbsp;if (CmbAy.ItemIndex &lt;= 0) { SAyCombo = 'Tumu'; } else { SAyCombo = CmbAy.GetValueIndex(CmbAy.ItemIndex); }</div><div>&nbsp;if (CmbYil.ItemIndex &lt;= 0) { SYilCombo = 'Tumu'; } else { SYilCombo = CmbYil.GetValueIndex(CmbYil.ItemIndex); }</div><div>&nbsp;if (CmbPeriyot.ItemIndex &lt;= 0) { SPeriyotCombo = 'Tumu'; } else { SPeriyotCombo = CmbPeriyot.GetValueIndex(CmbPeriyot.ItemIndex); }</div><div><br></div><div>&nbsp;SDurumHam = Trim(KayitDurum&#091;AIndex&#093;);</div><div><br></div><div>&nbsp;// SEKME KONTROLU (Türkçe karakter duyarlı - Bekleyenler sekmesinde tamamlananlar KESİNLİKLE görünmeyecek)</div><div>&nbsp;if (AktifSekme == 'BEKLEYEN')</div><div>&nbsp;{</div><div>&nbsp; if ((Pos('Yapildi', SDurumHam) &gt; 0) || (Pos('Yapıldı', SDurumHam) &gt; 0) || (Pos('Tamamlandi', SDurumHam) &gt; 0) || (Pos('Tamamlandı', SDurumHam) &gt; 0)) { Result = False; }</div><div>&nbsp;}</div><div>&nbsp;else if (AktifSekme == 'TAMAMLANAN')</div><div>&nbsp;{</div><div>&nbsp; if ((Pos('Yapildi', SDurumHam) == 0) &amp;&amp; (Pos('Yapıldı', SDurumHam) == 0) &amp;&amp; (Pos('Tamamlandi', SDurumHam) == 0) &amp;&amp; (Pos('Tamamlandı', SDurumHam) == 0)) { Result = False; }</div><div>&nbsp;}</div><div>&nbsp;else if (AktifSekme == 'YAKLASAN')</div><div>&nbsp;{</div><div>&nbsp; if ((Pos('Yapildi', SDurumHam) &gt; 0) || (Pos('Yapıldı', SDurumHam) &gt; 0) || (Pos('Tamamlandi', SDurumHam) &gt; 0) || (Pos('Tamamlandı', SDurumHam) &gt; 0)) { Result = False; }</div><div>&nbsp;}</div><div><br></div><div>&nbsp;if (STurCombo &lt;&gt; 'Tumu')</div><div>&nbsp;{</div><div>&nbsp; if (STurCombo &lt;&gt; Trim(KayitTur&#091;AIndex&#093;)) { Result = False; }</div><div>&nbsp;}</div><div><br></div><div>&nbsp;if (SAyCombo &lt;&gt; 'Tumu') { if (SAyCombo &lt;&gt; Trim(KayitAy&#091;AIndex&#093;)) { Result = False; } }</div><div>&nbsp;if (SYilCombo &lt;&gt; 'Tumu') { if (SYilCombo &lt;&gt; Trim(KayitYil&#091;AIndex&#093;)) { Result = False; } }</div><div>&nbsp;if (SPeriyotCombo &lt;&gt; 'Tumu') { if ((SPeriyotCombo &lt;&gt; Trim(KayitPeriyot&#091;AIndex&#093;)) &amp;&amp; (SPeriyotCombo &lt;&gt; Trim(KayitDurum&#091;AIndex&#093;))) { Result = False; } }</div><div><br></div><div>&nbsp;if ((SecilenOperatorFiltresi &lt;&gt; '') &amp;&amp; (SecilenOperatorFiltresi &lt;&gt; 'Tumu'))</div><div>&nbsp;{</div><div>&nbsp; // DEĞİŞİKLİK: Pos (içerme) kontrolü yapıldı</div><div>&nbsp; if (Pos(SecilenOperatorFiltresi, KayitOperator&#091;AIndex&#093;) == 0) { Result = False; }&nbsp;</div><div>&nbsp;}</div><div>}</div><div><br></div><div>void RefreshListe;</div><div>var</div><div>&nbsp;TarihMetni, KartUyariRenk, OzetMetin: String;</div><div>{</div><div>&nbsp;TmpVisibleCount = 0;</div><div><br></div><div>&nbsp;// HATA SEBEBİ 3: Fonksiyon içine inline boolean (AktifSekme == 'BEKLEYEN')&nbsp;</div><div>&nbsp;// göndermek yerine doğrudan True/False gönderiyoruz.</div><div>&nbsp;if (AktifSekme == 'YAKLASAN') { StyleTabButton(BtnTabYaklasan, True); } else { StyleTabButton(BtnTabYaklasan, False); }</div><div>&nbsp;if (AktifSekme == 'BEKLEYEN') { StyleTabButton(BtnTabBekleyen, True); } else { StyleTabButton(BtnTabBekleyen, False); }</div><div>&nbsp;if (AktifSekme == 'TAMAMLANAN') { StyleTabButton(BtnTabTamamlanan, True); } else { StyleTabButton(BtnTabTamamlanan, False); }</div><div><br></div><div>&nbsp;for (TmpIndex = 0 to KayitCount - 1)</div><div>&nbsp;{</div><div>&nbsp; if (KayitUygunMu(TmpIndex))</div><div>&nbsp; {</div><div>&nbsp; &nbsp;TmpVisibleCount = TmpVisibleCount + 1;</div><div>&nbsp; &nbsp;if (TmpVisibleCount &gt; 100) Break;</div><div><br></div><div>&nbsp; &nbsp;CardPanel&#091;TmpVisibleCount&#093;.Visible = True;</div><div>&nbsp; &nbsp;CardPanel&#091;TmpVisibleCount&#093;.clTagInt = TmpIndex;</div><div>&nbsp; &nbsp;CardTitle&#091;TmpVisibleCount&#093;.clTagInt = TmpIndex;</div><div>&nbsp; &nbsp;CardDetail&#091;TmpVisibleCount&#093;.clTagInt = TmpIndex;</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp;CardTitle&#091;TmpVisibleCount&#093;.Caption = ' &#091;' + Trim(KayitTur&#091;TmpIndex&#093;) + '&#093; ' + Trim(KayitMakine&#091;TmpIndex&#093;);</div><div>&nbsp; &nbsp;TarihMetni = Trim(KayitPlanlanan&#091;TmpIndex&#093;);</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp;OzetMetin = 'Tarih: ' + TarihMetni + #13#10 + 'Tip: ' + Trim(KayitTip&#091;TmpIndex&#093;) + #13#10 + 'Durum: ' + Trim(KayitDurum&#091;TmpIndex&#093;);</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;if (Trim(KayitOperator&#091;TmpIndex&#093;) &lt;&gt; '') { OzetMetin = OzetMetin + #13#10 + 'Operatör: ' + Trim(KayitOperator&#091;TmpIndex&#093;); }</div><div>&nbsp; &nbsp;if (Trim(KayitBaslangic&#091;TmpIndex&#093;) &lt;&gt; '') { OzetMetin = OzetMetin + #13#10 + 'Başlangıç: ' + Trim(KayitBaslangic&#091;TmpIndex&#093;); }</div><div>&nbsp; &nbsp;if (Trim(KayitBitisTur&#091;TmpIndex&#093;) &lt;&gt; '') { OzetMetin = OzetMetin + #13#10 + 'Süre/Bitiş: ' + Trim(KayitBitisTur&#091;TmpIndex&#093;); }</div><div>&nbsp; &nbsp;if (Trim(KayitAciklama&#091;TmpIndex&#093;) &lt;&gt; '') { OzetMetin = OzetMetin + #13#10 + 'Aciklama: ' + Trim(KayitAciklama&#091;TmpIndex&#093;); }</div><div><br></div><div>&nbsp; &nbsp;CardDetail&#091;TmpVisibleCount&#093;.Caption = OzetMetin;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;CardPanel&#091;TmpVisibleCount&#093;.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; &nbsp;CardDetail&#091;TmpVisibleCount&#093;.clProSettings.FontColor = clAlphaColor.clHexToColor('#1E293B');</div><div>&nbsp; &nbsp;CardDetail&#091;TmpVisibleCount&#093;.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; &nbsp;CardDetail&#091;TmpVisibleCount&#093;.clProSettings.FontSize = UiFontSize;</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp;CardTitle&#091;TmpVisibleCount&#093;.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; &nbsp;CardTitle&#091;TmpVisibleCount&#093;.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; &nbsp;CardTitle&#091;TmpVisibleCount&#093;.clProSettings.FontSize = UiFontSize + 1;</div><div><br></div><div>&nbsp; &nbsp;KartUyariRenk = '#1E293B';</div><div>&nbsp; &nbsp;if ((Pos('Bekliyor', KayitDurum&#091;TmpIndex&#093;) &gt; 0) || (Pos('Yapilmadi', KayitDurum&#091;TmpIndex&#093;) &gt; 0) || (AktifSekme == 'YAKLASAN'))</div><div>&nbsp; &nbsp;{ KartUyariRenk = '#EF4444'; }</div><div>&nbsp; &nbsp;if (AktifSekme == 'TAMAMLANAN') { KartUyariRenk = '#10B981'; }</div><div><br></div><div>&nbsp; &nbsp;CardTitle&#091;TmpVisibleCount&#093;.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(KartUyariRenk);</div><div>&nbsp; &nbsp;CardPanel&#091;TmpVisibleCount&#093;.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1');</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp;CardTitle&#091;TmpVisibleCount&#093;.SetclProSettings(CardTitle&#091;TmpVisibleCount&#093;.clProSettings);</div><div>&nbsp; &nbsp;CardDetail&#091;TmpVisibleCount&#093;.SetclProSettings(CardDetail&#091;TmpVisibleCount&#093;.clProSettings);</div><div>&nbsp; &nbsp;CardPanel&#091;TmpVisibleCount&#093;.SetclProSettings(CardPanel&#091;TmpVisibleCount&#093;.clProSettings);</div><div>&nbsp; }</div><div>&nbsp;}</div><div><br></div><div>&nbsp;for (TmpIndex = TmpVisibleCount + 1 to 100)</div><div>&nbsp;{</div><div>&nbsp; // '&lt;&gt; nil' kuralı burada da hataya yol açabilir, zaten 100'e kadar dolu oldukları için direkt gizliyoruz.</div><div>&nbsp; CardPanel&#091;TmpIndex&#093;.Visible = False;&nbsp;</div><div>&nbsp;}</div><div><br></div><div>&nbsp;if (TmpVisibleCount == 0)</div><div>&nbsp;{</div><div>&nbsp; LblEmpty.Visible = True;</div><div>&nbsp; PnlListHost.Height = 40;</div><div>&nbsp; PnlMainCard.Height = 1000;</div><div>&nbsp;}</div><div>&nbsp;else</div><div>&nbsp;{</div><div>&nbsp; LblEmpty.Visible = False;</div><div>&nbsp; PnlListHost.Height = (TmpVisibleCount * 170) + 20;&nbsp;</div><div>&nbsp; PnlMainCard.Height = 650 + PnlListHost.Height;</div><div>&nbsp;}</div><div>}</div><div>// ==========================================</div><div>// REHBER (SEÇİM LİSTESİ) VE SQL OPERATÖR ENTEGRASYONU</div><div>// ==========================================</div><div>void OnSearchRehber;</div><div>{</div><div>&nbsp;// Güvenlik 1: Veri seti oluşmamışsa listeyi filtrelemeye çalışma</div><div>&nbsp;if (RehberJsonData == nil) { Exit; }</div><div>&nbsp;</div><div>&nbsp;if (EdtRehberArama.Text == '')</div><div>&nbsp;{</div><div>&nbsp; RehberJsonData.Filtered = False;</div><div>&nbsp; RehberJsonData.Filter = '';</div><div>&nbsp;}</div><div>&nbsp;else</div><div>&nbsp;{</div><div>&nbsp; RehberJsonData.Filter = 'clCaption Like ' + Chr(39) + '%' + EdtRehberArama.Text + '%' + Chr(39);</div><div>&nbsp; RehberJsonData.Filtered = True;</div><div>&nbsp;}</div><div>}</div><div>void OnListItemClick;</div><div>var</div><div>&nbsp;SecilenAnaMetin, SecilenAltMetin: String;</div><div>{</div><div>&nbsp;// KRİTİK DÜZELTME: clCaption ve clText parametreleri tek tırnak içine alındı!</div><div>&nbsp;// Tırnaksız yazıldığında Null (tanımsız değişken) hatasına sebep olup sistemi çökertir.</div><div>&nbsp;SecilenAnaMetin = LsvBelgeRehber.clSelectedItemData('MyJsonStr');</div><div>&nbsp;SecilenAltMetin = LsvBelgeRehber.clSelectedItemData('Text');</div><div><br></div><div><br></div><div>&nbsp;if (SecilenAnaMetin &lt;&gt; GetText('LST_BOS'))</div><div>&nbsp;{</div><div>&nbsp; if (GlobalLookupType == 'OPERATOR')</div><div>&nbsp; {</div><div>&nbsp; &nbsp;EdtOperator.Text = SecilenAnaMetin;</div><div>&nbsp; }</div><div>&nbsp;}</div><div>&nbsp;</div><div>&nbsp;FormRehber.Close;</div><div>}</div><div><br></div><div>void OpenRehber;</div><div>var</div><div>&nbsp;q: TClSqlQuery;</div><div>&nbsp;MyJsonStr: String;</div><div>&nbsp;CleanMain: String;</div><div>&nbsp;CleanSub: String;</div><div>{</div><div>&nbsp;if (IsDBConnected &lt;&gt; True)</div><div>&nbsp;{ ConnectToDatabase; }</div><div><br></div><div>&nbsp;if (IsDBConnected &lt;&gt; True)</div><div>&nbsp;{</div><div>&nbsp; ShowMessage('Veritabanı bağlantısı kurulamadı! Lütfen ağ/Wi-Fi bağlantınızı kontrol edin.');</div><div>&nbsp; Exit;&nbsp;</div><div>&nbsp;}</div><div><br></div><div>&nbsp;FormRehber = TclGameForm.Create(Self);</div><div>&nbsp;FormRehber.LytTopBar.Visible = False;</div><div>&nbsp;FormRehber.BtnGoBack.Visible = False;</div><div>&nbsp;FormRehber.BtnFormMenu.Visible = False;</div><div>&nbsp;FormRehber.SetFormColor('#0F172A', '#334155', clGVertical);</div><div><br></div><div>&nbsp;// KRİTİK ÇÖZÜM BURADA: İsim parametrelerini '' (boş) olarak gönderiyoruz.&nbsp;</div><div>&nbsp;// Böylece formu kaç kez açarsan aç, hafızada isim çakışması (000003F4 hatası) yaşanmaz!</div><div>&nbsp;LsvBelgeRehber = FormRehber.AddNewProListView(FormRehber, '');</div><div>&nbsp;LsvBelgeRehber.Align = alClient; LsvBelgeRehber.Margins.Top = 65; LsvBelgeRehber.Margins.Left = 15; LsvBelgeRehber.Margins.Right = 15; LsvBelgeRehber.Margins.Bottom = 15;</div><div>&nbsp;LsvBelgeRehber.ListType = 'vertical';</div><div>&nbsp;LsvBelgeRehber.clProSettings.ItemHeight = 65;</div><div>&nbsp;LsvBelgeRehber.clProSettings.ItemSpace = 5;</div><div>&nbsp;LsvBelgeRehber.clProSettings.ColCount = 1;</div><div>&nbsp;LsvBelgeRehber.clProSettings.ViewType = lvIcon;</div><div>&nbsp;LsvBelgeRehber.clProSettings.IsFill = False;</div><div>&nbsp;LsvBelgeRehber.SetclProSettings(LsvBelgeRehber.clProSettings);</div><div>&nbsp;FormRehber.AddNewEvent(LsvBelgeRehber, tbeOnItemClick, 'OnListItemClick');</div><div><br></div><div>&nbsp;// Aynı şekilde Edit kutusunun da isim parametresi '' yapıldı.</div><div>&nbsp;EdtRehberArama = FormRehber.AddNewProEdit(FormRehber, '', GetText('ARA_OPERATOR'));</div><div>&nbsp;EdtRehberArama.Align = alTop; EdtRehberArama.Margins.Top = 15; EdtRehberArama.Margins.Left = 15; EdtRehberArama.Margins.Right = 15; EdtRehberArama.Height = 42;</div><div>&nbsp;EdtRehberArama.clProSettings.FontSize = 14;</div><div><br></div><div>&nbsp;q = TClSqlQuery.Create(nil);</div><div>&nbsp;try</div><div>&nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; if (GlobalLookupType == 'OPERATOR')</div><div>&nbsp; {</div><div>&nbsp; &nbsp;q.SQL.Text = 'SELECT OPERATOR_KODU AS MAIN_TEXT, ISNULL(OPERATOR_ADI, '''') AS SUB_TEXT FROM &#091;TBLURTOPERATORSB&#093; WITH (NOLOCK) WHERE ISNULL(PASIF, 0) = 0 ORDER BY OPERATOR_KODU';</div><div>&nbsp; }</div><div>&nbsp; q.Open;</div><div><br></div><div>&nbsp; MyJsonStr = '&#091;';</div><div>&nbsp; while (not q.Eof)</div><div>&nbsp; {</div><div>&nbsp; &nbsp;if (MyJsonStr &lt;&gt; '&#091;') { MyJsonStr = MyJsonStr + ','; }</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;CleanMain = q.FieldByName('MAIN_TEXT').AsString;</div><div>&nbsp; &nbsp;CleanMain = clGetStringReplace(CleanMain, '"', '\"');</div><div>&nbsp; &nbsp;CleanMain = clGetStringReplace(CleanMain, Chr(13), '');</div><div>&nbsp; &nbsp;CleanMain = clGetStringReplace(CleanMain, Chr(10), '');</div><div><br></div><div>&nbsp; &nbsp;CleanSub = q.FieldByName('SUB_TEXT').AsString;</div><div>&nbsp; &nbsp;CleanSub = clGetStringReplace(CleanSub, '"', '\"');</div><div>&nbsp; &nbsp;CleanSub = clGetStringReplace(CleanSub, Chr(13), '');</div><div>&nbsp; &nbsp;CleanSub = clGetStringReplace(CleanSub, Chr(10), '');</div><div><br></div><div>&nbsp; &nbsp;MyJsonStr = MyJsonStr + '{"clCaption":"' + CleanMain + '", "clText":"' + CleanSub + '"}';</div><div>&nbsp; &nbsp;q.Next;</div><div>&nbsp; }</div><div>&nbsp;finally</div><div>&nbsp; q.Close;&nbsp;</div><div>&nbsp; q.Free;</div><div>&nbsp;}</div><div><br></div><div>&nbsp;if (MyJsonStr == '&#091;') { MyJsonStr = '&#091;{"clCaption":"' + GetText('LST_BOS') + '", "clText":""}&#093;'; }</div><div>&nbsp;else { MyJsonStr = MyJsonStr + '&#093;'; }</div><div><br></div><div>&nbsp;RehberJsonData = Clomosy.clDataSetFromJSON(MyJsonStr);</div><div>&nbsp;LsvBelgeRehber.clLoadProListViewDataFromDataset(RehberJsonData);</div><div>&nbsp;</div><div>&nbsp;FormRehber.AddNewEvent(EdtRehberArama, tbeOnChange, 'OnSearchRehber');</div><div>&nbsp;FormRehber.Run;</div><div>}</div><div>void BtnRehberOperatorClick;</div><div>{</div><div>&nbsp;GlobalLookupType = 'OPERATOR';</div><div>&nbsp;OpenRehber;</div><div>}</div><div><br></div><div>void GelismisFormuKapatClick;</div><div>{</div><div>&nbsp;FormGelismis.Close;</div><div>}</div><div><br></div><div>void GelismisFormuUygulaClick;</div><div>{</div><div>&nbsp;SecilenOperatorFiltresi = Trim(EdtOperator.Text);</div><div>&nbsp;if (SecilenOperatorFiltresi == '') { SecilenOperatorFiltresi = 'Tumu'; }</div><div><br></div><div>&nbsp;// DÜZELTME: Önce liste yenilenir, tüm işlemler biter.</div><div>&nbsp;RefreshListe;</div><div>&nbsp;</div><div>&nbsp;// İşlem bittikten sonra form güvenle kapatılır.</div><div>&nbsp;FormGelismis.Close;</div><div>}</div><div>void OpenGelismisForm;</div><div>{</div><div>&nbsp;FormGelismis = TclGameForm.Create(Self);</div><div>&nbsp;FormGelismis.LytTopBar.Visible = False;</div><div>&nbsp;FormGelismis.BtnGoBack.Visible = False;</div><div>&nbsp;FormGelismis.BtnFormMenu.Visible = False;</div><div>&nbsp;FormGelismis.SetFormColor('#1E293B', '#3B82F6', clGVertical);</div><div><br></div><div>&nbsp;PnlGelismisCard = FormGelismis.AddNewProPanel(FormGelismis, 'PnlGelismisCard');</div><div>&nbsp;// DEĞİŞİKLİK: Tam ekran yapıldı</div><div>&nbsp;PnlGelismisCard.Align = alClient;&nbsp;</div><div>&nbsp;PnlGelismisCard.Margins.Top = 15; PnlGelismisCard.Margins.Bottom = 15; PnlGelismisCard.Margins.Left = 15; PnlGelismisCard.Margins.Right = 15;</div><div>&nbsp;PnlGelismisCard.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp;PnlGelismisCard.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1');</div><div>&nbsp;PnlGelismisCard.clProSettings.BorderWidth = 1; PnlGelismisCard.clProSettings.IsFill = True;</div><div>&nbsp;PnlGelismisCard.clProSettings.IsRound = True; PnlGelismisCard.clProSettings.RoundHeight = 12; PnlGelismisCard.clProSettings.RoundWidth = 12;</div><div>&nbsp;PnlGelismisCard.SetclProSettings(PnlGelismisCard.clProSettings);</div><div><br></div><div>&nbsp;LblOperatorTitle = FormGelismis.AddNewProLabel(PnlGelismisCard, 'LblOperatorTitle', 'Gelişmiş Operatör Filtresi');</div><div>&nbsp;LblOperatorTitle.Align = alTop; LblOperatorTitle.Height = 35; LblOperatorTitle.Margins.Left = 15; LblOperatorTitle.Margins.Top = 15;</div><div>&nbsp;LblOperatorTitle.clProSettings.FontColor = clAlphaColor.clHexToColor('#0F172A');</div><div>&nbsp;LblOperatorTitle.clProSettings.FontSize = 16; LblOperatorTitle.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp;LblOperatorTitle.SetclProSettings(LblOperatorTitle.clProSettings);</div><div><br></div><div>&nbsp;GrpOperator = FormGelismis.AddNewProPanel(PnlGelismisCard, 'GrpOperator');</div><div>&nbsp;GrpOperator.Align = alTop; GrpOperator.Height = 58; GrpOperator.Margins.Top = 10; GrpOperator.Margins.Left = 15; GrpOperator.Margins.Right = 15;</div><div>&nbsp;GrpOperator.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F8FAFC');</div><div>&nbsp;GrpOperator.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1'); GrpOperator.clProSettings.BorderWidth = 1;</div><div>&nbsp;GrpOperator.clProSettings.IsFill = True; GrpOperator.clProSettings.IsRound = True;</div><div>&nbsp;GrpOperator.clProSettings.RoundHeight = 8; GrpOperator.clProSettings.RoundWidth = 8;</div><div>&nbsp;GrpOperator.SetclProSettings(GrpOperator.clProSettings);</div><div><br></div><div>&nbsp;LblOperator = FormGelismis.AddNewProLabel(GrpOperator, 'LblOperator', 'Operatör Kodu:');</div><div>&nbsp;LblOperator.Align = alTop; LblOperator.Height = 18; LblOperator.Margins.Left = 10; LblOperator.Margins.Top = 6;</div><div>&nbsp;LblOperator.clProSettings.FontColor = clAlphaColor.clHexToColor('#475569'); LblOperator.clProSettings.FontSize = 12; LblOperator.SetclProSettings(LblOperator.clProSettings);</div><div><br></div><div>&nbsp;EdtOperator = FormGelismis.AddNewEdit(GrpOperator, 'EdtOperator', '');</div><div>&nbsp;EdtOperator.Align = alClient; EdtOperator.Margins.Left = 10; EdtOperator.Margins.Right = 50; EdtOperator.Margins.Bottom = 7; EdtOperator.Margins.Top = 2;</div><div>&nbsp;EdtOperator.ReadOnly = True;</div><div><br></div><div>&nbsp;BtnOperatorRehber = FormGelismis.AddNewProButton(GrpOperator, 'BtnOperatorRehber', '&#128269;');</div><div>&nbsp;BtnOperatorRehber.Align = alRight; BtnOperatorRehber.Width = 40; BtnOperatorRehber.Margins.Right = 6; BtnOperatorRehber.Margins.Top = 2; BtnOperatorRehber.Margins.Bottom = 6;</div><div>&nbsp;BtnOperatorRehber.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#E2E8F0');</div><div>&nbsp;BtnOperatorRehber.clProSettings.FontColor = clAlphaColor.clHexToColor('#1E293B');</div><div>&nbsp;BtnOperatorRehber.clProSettings.IsFill = True; BtnOperatorRehber.clProSettings.IsRound = True;</div><div>&nbsp;BtnOperatorRehber.clProSettings.RoundHeight = 6; BtnOperatorRehber.clProSettings.RoundWidth = 6;</div><div>&nbsp;BtnOperatorRehber.clProSettings.FontSize = 14;</div><div>&nbsp;BtnOperatorRehber.SetclProSettings(BtnOperatorRehber.clProSettings);</div><div>&nbsp;FormGelismis.AddNewEvent(BtnOperatorRehber, tbeOnClick, 'BtnRehberOperatorClick');</div><div><br></div><div>&nbsp;BtnGelismisUygula = FormGelismis.AddNewProButton(PnlGelismisCard, 'BtnGelismisUygula', 'Filtreyi Uygula');</div><div>&nbsp;BtnGelismisUygula.Align = alTop; BtnGelismisUygula.Height = 40; BtnGelismisUygula.Margins.Top = 20; BtnGelismisUygula.Margins.Left = 15; BtnGelismisUygula.Margins.Right = 15;</div><div>&nbsp;BtnGelismisUygula.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#0284C7');</div><div>&nbsp;BtnGelismisUygula.clProSettings.FontColor = clAlphaColor.clWhite; BtnGelismisUygula.clProSettings.IsFill = True;</div><div>&nbsp;BtnGelismisUygula.clProSettings.IsRound = True; BtnGelismisUygula.clProSettings.RoundHeight = 8; BtnGelismisUygula.clProSettings.RoundWidth = 8;</div><div>&nbsp;BtnGelismisUygula.SetclProSettings(BtnGelismisUygula.clProSettings);</div><div>&nbsp;FormGelismis.AddNewEvent(BtnGelismisUygula, tbeOnClick, 'GelismisFormuUygulaClick');</div><div><br></div><div>&nbsp;BtnGelismisKapat = FormGelismis.AddNewProButton(PnlGelismisCard, 'BtnGelismisKapat', 'Kapat');</div><div>&nbsp;BtnGelismisKapat.Align = alTop; BtnGelismisKapat.Height = 35; BtnGelismisKapat.Margins.Top = 8; BtnGelismisKapat.Margins.Left = 15; BtnGelismisKapat.Margins.Right = 15;</div><div>&nbsp;BtnGelismisKapat.clProSettings.BackgroundColor = clAlphaColor.clWhite;</div><div>&nbsp;BtnGelismisKapat.clProSettings.FontColor = clAlphaColor.clHexToColor('#334155');</div><div>&nbsp;BtnGelismisKapat.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1'); BtnGelismisKapat.clProSettings.BorderWidth = 1;</div><div>&nbsp;BtnGelismisKapat.clProSettings.IsFill = True; BtnGelismisKapat.clProSettings.IsRound = True;</div><div>&nbsp;BtnGelismisKapat.clProSettings.RoundHeight = 8; BtnGelismisKapat.clProSettings.RoundWidth = 8;</div><div>&nbsp;BtnGelismisKapat.SetclProSettings(BtnGelismisKapat.clProSettings);</div><div>&nbsp;FormGelismis.AddNewEvent(BtnGelismisKapat, tbeOnClick, 'GelismisFormuKapatClick');</div><div><br></div><div>&nbsp;FormGelismis.Run;</div><div>}</div><div><br></div><div>void ToggleDetailPanel(Goster: Boolean);</div><div>var i: Integer;</div><div>{</div><div>&nbsp;PnlDetailOverlay.Visible = Goster;</div><div>&nbsp;</div><div>&nbsp;// HATA SEBEBİ 1: 'not Goster' kullanımı iptal edildi, güvenli if-else yapıldı.</div><div>&nbsp;if (Goster == True) { ScrollForm.Visible = False; }</div><div>&nbsp;else { ScrollForm.Visible = True; }</div><div>&nbsp;</div><div>&nbsp;for (i = 0 to 11)</div><div>&nbsp;{</div><div>&nbsp; if (i == 5) { DetPnl&#091;5&#093;.Visible = False; DetPnl&#091;5&#093;.Height = 0; }</div><div>&nbsp; else if (i == 10)</div><div>&nbsp; {</div><div>&nbsp; &nbsp;if (Goster == True)</div><div>&nbsp; &nbsp;{</div><div>&nbsp; &nbsp; if (Trim(KayitTur&#091;ActiveEditIndex&#093;) == 'Ariza')</div><div>&nbsp; &nbsp; { DetPnl&#091;10&#093;.Visible = True; DetPnl&#091;10&#093;.Height = 120; }</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; { DetPnl&#091;10&#093;.Visible = False; DetPnl&#091;10&#093;.Height = 0; }</div><div>&nbsp; &nbsp;}</div><div>&nbsp; &nbsp;else</div><div>&nbsp; &nbsp;{ DetPnl&#091;10&#093;.Visible = False; DetPnl&#091;10&#093;.Height = 0; }</div><div>&nbsp; }</div><div>&nbsp; else&nbsp;</div><div>&nbsp; {&nbsp;</div><div>&nbsp; &nbsp;// HATA SEBEBİ 2: '&lt;&gt; nil' kontrolleri Null Variant hatası fırlattığı için kaldırıldı.</div><div>&nbsp; &nbsp;// Zaten nesneleri 0'dan 11'e kadar eksiksiz ürettiğimiz için nil çıkma ihtimalleri yok.</div><div>&nbsp; &nbsp;DetEdt<em>.Visible = Goster;&nbsp;</div><div>&nbsp; }</div><div>&nbsp;}</div><div>}</div><div><br></div><div>void ShowDetailPanel;</div><div>var TurMetni: String;</div><div>{</div><div>&nbsp;TurMetni = Trim(KayitTur&#091;ActiveEditIndex&#093;);</div><div>&nbsp;if ((TurMetni == 'Bakim') || (TurMetni == 'Bakım') || (Pos('Bakim', TurMetni) &gt; 0) || (Pos('Periyodik', TurMetni) &gt; 0))</div><div>&nbsp;{</div><div>&nbsp; LblDetailTitle.Text = 'Bakim Hareketleri Detayi';</div><div>&nbsp; if (DetLbl&#091;4&#093; &lt;&gt; nil) { DetLbl&#091;4&#093;.Text = 'Bakim Kodu:'; }</div><div>&nbsp;}</div><div>&nbsp;else</div><div>&nbsp;{</div><div>&nbsp; LblDetailTitle.Text = 'Ariza Hareketleri Detayi';</div><div>&nbsp; if (DetLbl&#091;4&#093; &lt;&gt; nil) { DetLbl&#091;4&#093;.Text = 'Ariza Kodu:'; }</div><div>&nbsp;}</div><div><br></div><div>&nbsp;DetEdt&#091;0&#093;.Text = KayitBelgeNo&#091;ActiveEditIndex&#093;;</div><div>&nbsp;DetEdt&#091;1&#093;.Text = KayitPlanlanan&#091;ActiveEditIndex&#093;;</div><div>&nbsp;DetEdt&#091;2&#093;.Text = KayitMakine&#091;ActiveEditIndex&#093;;</div><div>&nbsp;DetEdt&#091;3&#093;.Text = KayitOperator&#091;ActiveEditIndex&#093;;</div><div>&nbsp;DetEdt&#091;4&#093;.Text = KayitTip&#091;ActiveEditIndex&#093;;</div><div>&nbsp;DetEdt&#091;6&#093;.Text = KayitBaslangic&#091;ActiveEditIndex&#093;;</div><div>&nbsp;DetEdt&#091;7&#093;.Text = KayitBitisTur&#091;ActiveEditIndex&#093;;</div><div>&nbsp;DetEdt&#091;8&#093;.Text = KayitKisi&#091;ActiveEditIndex&#093;;</div><div>&nbsp;DetEdt&#091;9&#093;.Text = KayitAciklama&#091;ActiveEditIndex&#093;;</div><div>&nbsp;DetMemoNeden.Text = KayitNeden&#091;ActiveEditIndex&#093;;</div><div>&nbsp;DetEdt&#091;11&#093;.Text = KayitDurum&#091;ActiveEditIndex&#093;;</div><div><br></div><div>&nbsp;ToggleDetailPanel(True);</div><div>}</div><div><br></div><div>void OnCardLabelClicked;</div><div>var ClickedLabel: TclProLabel;</div><div>{</div><div>&nbsp;ClickedLabel = TclProLabel(FormFiltre.clSender);</div><div>&nbsp;ActiveEditIndex = ClickedLabel.clTagInt;</div><div>&nbsp;ShowDetailPanel;</div><div>}</div><div><br></div><div>void OnCardPanelClicked;</div><div>var ClickedPanel: TclProPanel;</div><div>{</div><div>&nbsp;ClickedPanel = TclProPanel(FormFiltre.clSender);</div><div>&nbsp;ActiveEditIndex = ClickedPanel.clTagInt;</div><div>&nbsp;ShowDetailPanel;</div><div>}</div><div><br></div><div>void TabClick;</div><div>var ClickedBtn: TclProButton;</div><div>{</div><div>&nbsp;ClickedBtn = TclProButton(FormFiltre.clSender);</div><div>&nbsp;if (ClickedBtn.clTagInt == 1) { AktifSekme = 'YAKLASAN'; }</div><div>&nbsp;else if (ClickedBtn.clTagInt == 2) { AktifSekme = 'BEKLEYEN'; }</div><div>&nbsp;else if (ClickedBtn.clTagInt == 3) { AktifSekme = 'TAMAMLANAN'; }</div><div>&nbsp;RefreshListe;</div><div>}</div><div>void SaveEditClick;</div><div>var</div><div>&nbsp;DosyaYolu, Satir: String;</div><div>&nbsp;YeniListe: TclStringList;</div><div>&nbsp;i: Integer;</div><div>{</div><div>&nbsp;KayitBelgeNo&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;0&#093;.Text);</div><div>&nbsp;KayitPlanlanan&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;1&#093;.Text);</div><div>&nbsp;KayitMakine&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;2&#093;.Text);</div><div>&nbsp;KayitOperator&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;3&#093;.Text);</div><div>&nbsp;KayitTip&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;4&#093;.Text);</div><div>&nbsp;KayitBaslangic&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;6&#093;.Text);</div><div>&nbsp;KayitBitisTur&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;7&#093;.Text);</div><div>&nbsp;KayitKisi&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;8&#093;.Text);</div><div>&nbsp;KayitAciklama&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;9&#093;.Text);</div><div>&nbsp;KayitNeden&#091;ActiveEditIndex&#093; = TemizleMetin(DetMemoNeden.Text);</div><div>&nbsp;KayitDurum&#091;ActiveEditIndex&#093; = TemizleMetin(DetEdt&#091;11&#093;.Text);</div><div><br></div><div>&nbsp;YeniListe = Clomosy.StringListNew;</div><div>&nbsp;i = KayitCount - 1;</div><div>&nbsp;while (i &gt;= 0)</div><div>&nbsp;{</div><div>&nbsp; // BÜTÜN DİZİLERE <em> İNDEKSİ EKLENDİ</div><div>&nbsp; Satir = KayitTur<em> + '|' + KayitBelgeNo<em> + '|' + KayitMakine<em> + '|' + KayitTip<em> + '|' +</div><div>&nbsp; &nbsp; &nbsp; KayitPlanlanan<em> + '|' + KayitDurum<em> + '|' + KayitAy<em> + '|' + KayitYil<em> + '|' + KayitPeriyot<em> + '|' +</div><div>&nbsp; &nbsp; &nbsp; KayitOperator<em> + '|KALDIRILDI|' + KayitBaslangic<em> + '|' + KayitBitisTur<em> + '|' +</div><div>&nbsp; &nbsp; &nbsp; KayitKisi<em> + '|' + KayitAciklama<em> + '|' + KayitNeden<em>;</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; YeniListe.Add(Satir);</div><div>&nbsp; i = i - 1;</div><div>&nbsp;}</div><div>&nbsp;DosyaYolu = clPathCombine('BakimVerileri.txt', Clomosy.AppFilesPath);</div><div>&nbsp;YeniListe.SaveToFile(DosyaYolu, 0);</div><div>&nbsp;YeniListe.Free;</div><div><br></div><div>&nbsp;ToggleDetailPanel(False);</div><div>&nbsp;RefreshListe;</div><div>}</div><div><br></div><div>void MarkAsCompletedClick;</div><div>{</div><div>&nbsp;DetEdt&#091;11&#093;.Text = 'Tamamlandi';</div><div>&nbsp;SaveEditClick;</div><div>}</div><div><br></div><div>void PostponeClick;</div><div>{</div><div>&nbsp;DetEdt&#091;11&#093;.Text = '10 Gun Ertelendi';</div><div>&nbsp;SaveEditClick;</div><div>}</div><div><br></div><div>void CancelEditClick;</div><div>{</div><div>&nbsp;ToggleDetailPanel(False);</div><div>}</div><div><br></div><div>void ApplyFilter;</div><div>{</div><div>&nbsp;RefreshListe;</div><div>}</div><div><br></div><div>void ClearFilter;</div><div>{</div><div>&nbsp;CmbTur.ItemIndex = 0;</div><div>&nbsp;CmbAy.ItemIndex = 0;</div><div>&nbsp;CmbYil.ItemIndex = 0;</div><div>&nbsp;CmbPeriyot.ItemIndex = 0;</div><div>&nbsp;</div><div>&nbsp;// EdtOperator.Text = ''; // BU SATIRI SİLİYORUZ (Hatanın sebebi burası)</div><div>&nbsp;SecilenOperatorFiltresi = 'Tumu';</div><div>&nbsp;RefreshListe;</div><div>}</div><div>void GoBack;</div><div>{</div><div>&nbsp;FormFiltre.Close;</div><div>}</div><div><br></div><div>void AyarlariYenile;</div><div>var</div><div>&nbsp;YuklenenAyarlar: TclStringList;</div><div>&nbsp;OkunanDosyaYolu, TmpDeger: String;</div><div>{</div><div>&nbsp;VerileriDosyadanYukle;</div><div>&nbsp;OkunanDosyaYolu = clPathCombine('UygulamaAyarlari_V3.txt', Clomosy.AppFilesPath);</div><div>&nbsp;if (clFileExists(OkunanDosyaYolu, ''))</div><div>&nbsp;{</div><div>&nbsp; YuklenenAyarlar = Clomosy.StringListNew;</div><div>&nbsp; YuklenenAyarlar.LoadFromFile(OkunanDosyaYolu, 0);</div><div>&nbsp; if (YuklenenAyarlar.Count &gt; 0) { TmpDeger = Trim(Clomosy.StringListItemString(YuklenenAyarlar, 0)); if (TmpDeger &lt;&gt; '') { OkunanTemaIndex = StrToInt(TmpDeger); } }</div><div>&nbsp; if (YuklenenAyarlar.Count &gt; 1) { TmpDeger = Trim(Clomosy.StringListItemString(YuklenenAyarlar, 1)); if (TmpDeger &lt;&gt; '') { OkunanBoyutIndex = StrToInt(TmpDeger); } }</div><div>&nbsp; if (YuklenenAyarlar.Count &gt; 2) { TmpDeger = Trim(Clomosy.StringListItemString(YuklenenAyarlar, 2)); if (TmpDeger &lt;&gt; '') { gAktifDilIndex = StrToInt(TmpDeger); } }</div><div>&nbsp; if (YuklenenAyarlar.Count &gt; 5) { TmpDeger = Trim(Clomosy.StringListItemString(YuklenenAyarlar, 5)); if (TmpDeger &lt;&gt; '') { OkunanFontAdi = TmpDeger; } }</div><div>&nbsp; if (OkunanBoyutIndex == 0) { UiFontSize = 12; }</div><div>&nbsp; else if (OkunanBoyutIndex == 2) { UiFontSize = 16; }</div><div>&nbsp; else { UiFontSize = 14; }</div><div>&nbsp; YuklenenAyarlar.Free;</div><div>&nbsp;}</div><div><br></div><div>&nbsp;AyarDosyasindanTemayiYukle(OkunanTemaIndex);</div><div>&nbsp;ApplyUiSettings;</div><div>&nbsp;RefreshListe;</div><div>}</div><div><br></div><div>{</div><div>&nbsp;FormFiltre = TclGameForm.Create(Self);</div><div>&nbsp;FormFiltre.LytTopBar.Visible = False;</div><div>&nbsp;FormFiltre.BtnGoBack.Visible = False;</div><div>&nbsp;FormFiltre.BtnFormMenu.Visible = False;</div><div><br></div><div>&nbsp;OkunanTemaIndex = 0; UiFontSize = 13;</div><div>&nbsp;OkunanUyariRengi = '#EF4444'; OkunanYaziRengi = '#1E293B';</div><div>&nbsp;OkunanKartRengi = '#FFFFFF'; OkunanZeminRengi = '#F8FAFC';</div><div>&nbsp;OkunanFontAdi = 'Arial'; OkunanStilIndex = 0; OkunanHizaIndex = 1; GlobalAktifDilIndex = 0;</div><div>&nbsp;AktifSekme = 'BEKLEYEN';</div><div>&nbsp;SecilenOperatorFiltresi = 'Tumu';</div><div><br></div><div>&nbsp;AyarDosyasindanTemayiYukle(OkunanTemaIndex);</div><div><br></div><div>&nbsp;PnlNavBar = FormFiltre.AddNewProPanel(FormFiltre, 'PnlNavBar');</div><div>&nbsp;PnlNavBar.Align = alTop; PnlNavBar.Height = 75; StyleHeaderBar(PnlNavBar);</div><div><br></div><div>&nbsp;BtnBack = FormFiltre.AddNewProButton(PnlNavBar, 'BtnBack', '&lt;');</div><div>&nbsp;BtnBack.Align = alLeft; BtnBack.Width = 45; BtnBack.Margins.Top = 20; BtnBack.Margins.Left = 5;</div><div>&nbsp;BtnBack.clProSettings.FontColor = clAlphaColor.clWhite; BtnBack.clProSettings.BorderWidth = 0; BtnBack.clProSettings.IsFill = False;</div><div>&nbsp;BtnBack.clProSettings.FontSize = 20; BtnBack.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp;BtnBack.SetclProSettings(BtnBack.clProSettings); FormFiltre.AddNewEvent(BtnBack, tbeOnClick, 'GoBack');</div><div><br></div><div>&nbsp;LblTitle = FormFiltre.AddNewProLabel(PnlNavBar, 'LblTitle', ''); LblTitle.Align = alClient; LblTitle.Margins.Left = 8; LblTitle.Margins.Top = 20;</div><div>&nbsp;LblTitle.clProSettings.FontColor = clAlphaColor.clWhite; LblTitle.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp;LblTitle.clProSettings.FontVertAlign = palcenter; LblTitle.SetclProSettings(LblTitle.clProSettings);</div><div><br></div><div>&nbsp;// ÜST MENÜDE YER ALAN GELİŞMİŞ FORM BUTONU</div><div>&nbsp;BtnGelismisOpen = FormFiltre.AddNewProButton(PnlNavBar, 'BtnGelismisOpen', 'Gelişmiş Form');</div><div>&nbsp;BtnGelismisOpen.Align = alRight; BtnGelismisOpen.Width = 110; BtnGelismisOpen.Margins.Top = 18; BtnGelismisOpen.Margins.Bottom = 18; BtnGelismisOpen.Margins.Right = 10;</div><div>&nbsp;BtnGelismisOpen.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#0284C7');</div><div>&nbsp;BtnGelismisOpen.clProSettings.FontColor = clAlphaColor.clWhite; BtnGelismisOpen.clProSettings.IsFill = True;</div><div>&nbsp;BtnGelismisOpen.clProSettings.IsRound = True; BtnGelismisOpen.clProSettings.RoundHeight = 6; BtnGelismisOpen.clProSettings.RoundWidth = 6;</div><div>&nbsp;BtnGelismisOpen.clProSettings.FontSize = 12; BtnGelismisOpen.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp;BtnGelismisOpen.SetclProSettings(BtnGelismisOpen.clProSettings);</div><div>&nbsp;FormFiltre.AddNewEvent(BtnGelismisOpen, tbeOnClick, 'OpenGelismisForm');</div><div><br></div><div>&nbsp;ScrollForm = FormFiltre.AddNewVertScrollBox(FormFiltre, 'ScrollForm'); ScrollForm.Align = alClient;</div><div><br></div><div>&nbsp;PnlMainCard = FormFiltre.AddNewProPanel(ScrollForm, 'PnlMainCard'); PnlMainCard.Align = alTop; PnlMainCard.Height = 1050; PnlMainCard.Margins.Top = 12; PnlMainCard.Margins.Left = 10; PnlMainCard.Margins.Right = 10; PnlMainCard.Margins.Bottom = 15;</div><div>&nbsp;StyleMainCard(PnlMainCard);</div><div><br></div><div>&nbsp;LblTitleFilter = FormFiltre.AddNewProLabel(PnlMainCard, 'LblTitleFilter', ''); LblTitleFilter.Align = alTop; LblTitleFilter.Height = 28; LblTitleFilter.Margins.Left = 12; LblTitleFilter.Margins.Top = 15; StyleSectionTitle(LblTitleFilter);</div><div><br></div><div>&nbsp;GrpTur = FormFiltre.AddNewProPanel(PnlMainCard, 'GrpTur'); GrpTur.Align = alTop; GrpTur.Height = 54; GrpTur.Margins.Top = 8; GrpTur.Margins.Left = 12; GrpTur.Margins.Right = 12; StyleInputPanel(GrpTur);</div><div>&nbsp;LblTur = FormFiltre.AddNewProLabel(GrpTur, 'LblTur', ''); LblTur.Align = alTop; LblTur.Height = 16; LblTur.Margins.Left = 10; LblTur.Margins.Top = 5; StyleInputLabel(LblTur);</div><div>&nbsp;CmbTur = FormFiltre.AddNewComboBox(GrpTur, 'CmbTur'); CmbTur.Align = alClient; CmbTur.Margins.Left = 10; CmbTur.Margins.Right = 10; CmbTur.Margins.Bottom = 6;</div><div><br></div><div>&nbsp;GrpPeriyot = FormFiltre.AddNewProPanel(PnlMainCard, 'GrpPeriyot'); GrpPeriyot.Align = alTop; GrpPeriyot.Height = 54; GrpPeriyot.Margins.Top = 6; GrpPeriyot.Margins.Left = 12; GrpPeriyot.Margins.Right = 12; StyleInputPanel(GrpPeriyot);</div><div>&nbsp;LblPeriyot = FormFiltre.AddNewProLabel(GrpPeriyot, 'LblPeriyot', ''); LblPeriyot.Align = alTop; LblPeriyot.Height = 16; LblPeriyot.Margins.Left = 10; LblPeriyot.Margins.Top = 5; StyleInputLabel(LblPeriyot);</div><div>&nbsp;CmbPeriyot = FormFiltre.AddNewComboBox(GrpPeriyot, 'CmbPeriyot'); CmbPeriyot.Align = alClient; CmbPeriyot.Margins.Left = 10; CmbPeriyot.Margins.Right = 10; CmbPeriyot.Margins.Bottom = 6;</div><div><br></div><div>&nbsp;GrpAy = FormFiltre.AddNewProPanel(PnlMainCard, 'GrpAy'); GrpAy.Align = alTop; GrpAy.Height = 54; GrpAy.Margins.Top = 6; GrpAy.Margins.Left = 12; GrpAy.Margins.Right = 12; StyleInputPanel(GrpAy);</div><div>&nbsp;LblAy = FormFiltre.AddNewProLabel(GrpAy, 'LblAy', ''); LblAy.Align = alTop; LblAy.Height = 16; LblAy.Margins.Left = 10; LblAy.Margins.Top = 5; StyleInputLabel(LblAy);</div><div>&nbsp;CmbAy = FormFiltre.AddNewComboBox(GrpAy, 'CmbAy'); CmbAy.Align = alClient; CmbAy.Margins.Left = 10; CmbAy.Margins.Right = 10; CmbAy.Margins.Bottom = 6;</div><div><br></div><div>&nbsp;GrpYil = FormFiltre.AddNewProPanel(PnlMainCard, 'GrpYil'); GrpYil.Align = alTop; GrpYil.Height = 54; GrpYil.Margins.Top = 6; GrpYil.Margins.Left = 12; GrpYil.Margins.Right = 12; StyleInputPanel(GrpYil);</div><div>&nbsp;LblYil = FormFiltre.AddNewProLabel(GrpYil, 'LblYil', ''); LblYil.Align = alTop; LblYil.Height = 16; LblYil.Margins.Left = 10; LblYil.Margins.Top = 5; StyleInputLabel(LblYil);</div><div>&nbsp;CmbYil = FormFiltre.AddNewComboBox(GrpYil, 'CmbYil'); CmbYil.Align = alClient; CmbYil.Margins.Left = 10; CmbYil.Margins.Right = 10; CmbYil.Margins.Bottom = 6;</div><div><br></div><div>&nbsp;PnlFilterButtons = FormFiltre.AddNewProPanel(PnlMainCard, 'PnlFilterButtons'); PnlFilterButtons.Align = alTop; PnlFilterButtons.Height = 46; PnlFilterButtons.Margins.Top = 14; PnlFilterButtons.Margins.Left = 12; PnlFilterButtons.Margins.Right = 12; PnlFilterButtons.clProSettings.BorderWidth = 0; PnlFilterButtons.SetclProSettings(PnlFilterButtons.clProSettings);</div><div>&nbsp;BtnUygula = FormFiltre.AddNewProButton(PnlFilterButtons, 'BtnUygula', ''); BtnUygula.Align = alLeft; BtnUygula.Width = 100; BtnUygula.Margins.Right = 10; StylePrimaryButton(BtnUygula); FormFiltre.AddNewEvent(BtnUygula, tbeOnClick, 'ApplyFilter');</div><div>&nbsp;BtnTemizle = FormFiltre.AddNewProButton(PnlFilterButtons, 'BtnTemizle', ''); BtnTemizle.Align = alLeft; BtnTemizle.Width = 90; StyleSecondaryButton(BtnTemizle); FormFiltre.AddNewEvent(BtnTemizle, tbeOnClick, 'ClearFilter');</div><div><br></div><div>&nbsp;LblTitleList = FormFiltre.AddNewProLabel(PnlMainCard, 'LblTitleList', ''); LblTitleList.Align = alTop; LblTitleList.Height = 28; LblTitleList.Margins.Left = 12; LblTitleList.Margins.Top = 18; StyleSectionTitle(LblTitleList);</div><div><br></div><div>&nbsp;PnlTabs = FormFiltre.AddNewProPanel(PnlMainCard, 'PnlTabs'); PnlTabs.Align = alTop; PnlTabs.Height = 42; PnlTabs.Margins.Left = 12; PnlTabs.Margins.Right = 12; PnlTabs.Margins.Top = 4; PnlTabs.clProSettings.BorderWidth = 0; PnlTabs.SetclProSettings(PnlTabs.clProSettings);</div><div><br></div><div>&nbsp;BtnTabYaklasan = FormFiltre.AddNewProButton(PnlTabs, 'BtnTabYaklasan', 'Yaklasan (5 Gun)'); BtnTabYaklasan.Align = alLeft; BtnTabYaklasan.Width = 115; BtnTabYaklasan.Margins.Right = 6; BtnTabYaklasan.clTagInt = 1; FormFiltre.AddNewEvent(BtnTabYaklasan, tbeOnClick, 'TabClick');</div><div>&nbsp;BtnTabBekleyen = FormFiltre.AddNewProButton(PnlTabs, 'BtnTabBekleyen', 'Bekleyenler'); BtnTabBekleyen.Align = alLeft; BtnTabBekleyen.Width = 105; BtnTabBekleyen.Margins.Right = 6; BtnTabBekleyen.clTagInt = 2; FormFiltre.AddNewEvent(BtnTabBekleyen, tbeOnClick, 'TabClick');</div><div>&nbsp;BtnTabTamamlanan = FormFiltre.AddNewProButton(PnlTabs, 'BtnTabTamamlanan', 'Tamamlananlar'); BtnTabTamamlanan.Align = alLeft; BtnTabTamamlanan.Width = 115; BtnTabTamamlanan.clTagInt = 3; FormFiltre.AddNewEvent(BtnTabTamamlanan, tbeOnClick, 'TabClick');</div><div><br></div><div>&nbsp;LblEmpty = FormFiltre.AddNewProLabel(PnlMainCard, 'LblEmpty', ''); LblEmpty.Align = alTop; LblEmpty.Height = 28; LblEmpty.Margins.Left = 15; LblEmpty.Margins.Top = 10; LblEmpty.clProSettings.FontColor = clAlphaColor.clHexToColor('#475569'); LblEmpty.SetclProSettings(LblEmpty.clProSettings);</div><div><br></div><div>&nbsp;PnlListHost = FormFiltre.AddNewProPanel(PnlMainCard, 'PnlListHost'); PnlListHost.Align = alTop; PnlListHost.clProSettings.BorderWidth = 0; PnlListHost.SetclProSettings(PnlListHost.clProSettings);</div><div><br></div><div>&nbsp;for (TmpIndex = 1 to 100)</div><div>&nbsp;{</div><div>&nbsp; CardPanel&#091;TmpIndex&#093; = FormFiltre.AddNewProPanel(PnlListHost, 'CardPanel' + IntToStr(TmpIndex));</div><div>&nbsp; // DEĞİŞİKLİK: Yükseklik 140'tan 170'e çıkarıldı</div><div>&nbsp; CardPanel&#091;TmpIndex&#093;.Align = alTop; CardPanel&#091;TmpIndex&#093;.Margins.Top = 10; CardPanel&#091;TmpIndex&#093;.Margins.Left = 12; CardPanel&#091;TmpIndex&#093;.Margins.Right = 12; CardPanel&#091;TmpIndex&#093;.Height = 170;</div><div>&nbsp; CardPanel&#091;TmpIndex&#093;.clProSettings.BorderWidth = 1; CardPanel&#091;TmpIndex&#093;.clProSettings.IsFill = True; CardPanel&#091;TmpIndex&#093;.clProSettings.IsRound = True; CardPanel&#091;TmpIndex&#093;.clProSettings.RoundHeight = 8; CardPanel&#091;TmpIndex&#093;.clProSettings.RoundWidth = 8; CardPanel&#091;TmpIndex&#093;.SetclProSettings(CardPanel&#091;TmpIndex&#093;.clProSettings);</div><div>&nbsp; FormFiltre.AddNewEvent(CardPanel&#091;TmpIndex&#093;, tbeOnClick, 'OnCardPanelClicked');</div><div><br></div><div>&nbsp; CardTitle&#091;TmpIndex&#093; = FormFiltre.AddNewProLabel(CardPanel&#091;TmpIndex&#093;, 'CardTitle' + IntToStr(TmpIndex), '');</div><div>&nbsp; CardTitle&#091;TmpIndex&#093;.Align = alTop; CardTitle&#091;TmpIndex&#093;.Height = 32;</div><div>&nbsp; CardTitle&#091;TmpIndex&#093;.clProSettings.FontColor = clAlphaColor.clWhite; CardTitle&#091;TmpIndex&#093;.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; CardTitle&#091;TmpIndex&#093;.clProSettings.IsFill = True; CardTitle&#091;TmpIndex&#093;.clProSettings.IsRound = True; CardTitle&#091;TmpIndex&#093;.clProSettings.RoundHeight = 8; CardTitle&#091;TmpIndex&#093;.clProSettings.RoundWidth = 8; CardTitle&#091;TmpIndex&#093;.SetclProSettings(CardTitle&#091;TmpIndex&#093;.clProSettings);</div><div>&nbsp; FormFiltre.AddNewEvent(CardTitle&#091;TmpIndex&#093;, tbeOnClick, 'OnCardLabelClicked');</div><div><br></div><div>&nbsp; CardDetail&#091;TmpIndex&#093; = FormFiltre.AddNewProLabel(CardPanel&#091;TmpIndex&#093;, 'CardDetail' + IntToStr(TmpIndex), '');</div><div>&nbsp; CardDetail&#091;TmpIndex&#093;.Align = alClient; CardDetail&#091;TmpIndex&#093;.Margins.Left = 10; CardDetail&#091;TmpIndex&#093;.Margins.Right = 10; CardDetail&#091;TmpIndex&#093;.Margins.Top = 6; CardDetail&#091;TmpIndex&#093;.Margins.Bottom = 6; CardDetail&#091;TmpIndex&#093;.clProSettings.WordWrap = True; CardDetail&#091;TmpIndex&#093;.SetclProSettings(CardDetail&#091;TmpIndex&#093;.clProSettings);</div><div>&nbsp; FormFiltre.AddNewEvent(CardDetail&#091;TmpIndex&#093;, tbeOnClick, 'OnCardLabelClicked');</div><div>&nbsp;}</div><div><br></div><div>&nbsp;PnlDetailOverlay = FormFiltre.AddNewProPanel(FormFiltre, 'PnlDetailOverlay');</div><div>&nbsp;PnlDetailOverlay.Align = alClient; PnlDetailOverlay.clProSettings.BackgroundColor = clAlphaColor.clWhite; PnlDetailOverlay.clProSettings.IsFill = True; PnlDetailOverlay.SetclProSettings(PnlDetailOverlay.clProSettings);</div><div><br></div><div>&nbsp;PnlDetailHeader = FormFiltre.AddNewProPanel(PnlDetailOverlay, 'PnlDetailHeader');</div><div>&nbsp;PnlDetailHeader.Align = alTop; PnlDetailHeader.Height = 50;</div><div>&nbsp;PnlDetailHeader.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp;PnlDetailHeader.clProSettings.IsFill = True;</div><div>&nbsp;PnlDetailHeader.SetclProSettings(PnlDetailHeader.clProSettings);</div><div><br></div><div>&nbsp;LblDetailTitle = FormFiltre.AddNewProLabel(PnlDetailHeader, 'LblDetailTitle', 'Hareket Detayi');</div><div>&nbsp;LblDetailTitle.Align = alClient; LblDetailTitle.Margins.Left = 15;</div><div>&nbsp;LblDetailTitle.clProSettings.FontColor = clAlphaColor.clHexToColor('#1E293B');</div><div>&nbsp;LblDetailTitle.clProSettings.FontSize = 16;</div><div>&nbsp;LblDetailTitle.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp;LblDetailTitle.SetclProSettings(LblDetailTitle.clProSettings);</div><div><br></div><div>&nbsp;DetailScroll = FormFiltre.AddNewVertScrollBox(PnlDetailOverlay, 'DetailScroll');</div><div>&nbsp;DetailScroll.Align = alClient; DetailScroll.Margins.Left = 12; DetailScroll.Margins.Right = 12;</div><div><br></div><div>&nbsp;for (TmpIndex = 0 to 11)</div><div>&nbsp;{</div><div>&nbsp; DetPnl&#091;TmpIndex&#093; = FormFiltre.AddNewProPanel(DetailScroll, 'DetPnl'+IntToStr(TmpIndex));</div><div>&nbsp; DetPnl&#091;TmpIndex&#093;.Align = alTop; DetPnl&#091;TmpIndex&#093;.Margins.Top = 10;</div><div>&nbsp; DetPnl&#091;TmpIndex&#093;.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1'); DetPnl&#091;TmpIndex&#093;.clProSettings.BorderWidth = 1;</div><div>&nbsp; DetPnl&#091;TmpIndex&#093;.clProSettings.IsRound = True; DetPnl&#091;TmpIndex&#093;.clProSettings.RoundHeight = 8; DetPnl&#091;TmpIndex&#093;.clProSettings.RoundWidth = 8;</div><div>&nbsp; DetPnl&#091;TmpIndex&#093;.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F8FAFC');</div><div>&nbsp; DetPnl&#091;TmpIndex&#093;.SetclProSettings(DetPnl&#091;TmpIndex&#093;.clProSettings);</div><div><br></div><div>&nbsp; DetLbl&#091;TmpIndex&#093; = FormFiltre.AddNewProLabel(DetPnl&#091;TmpIndex&#093;, 'DetLbl'+IntToStr(TmpIndex), '');</div><div>&nbsp; DetLbl&#091;TmpIndex&#093;.clProSettings.FontColor = clAlphaColor.clHexToColor('#1E293B'); DetLbl&#091;TmpIndex&#093;.clProSettings.FontSize = 12; DetLbl&#091;TmpIndex&#093;.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; DetLbl&#091;TmpIndex&#093;.SetclProSettings(DetLbl&#091;TmpIndex&#093;.clProSettings);</div><div><br></div><div>&nbsp; if (TmpIndex == 10)</div><div>&nbsp; {</div><div>&nbsp; &nbsp;DetPnl&#091;TmpIndex&#093;.Height = 120;</div><div>&nbsp; &nbsp;DetLbl&#091;TmpIndex&#093;.Align = alTop; DetLbl&#091;TmpIndex&#093;.Height = 25; DetLbl&#091;TmpIndex&#093;.Margins.Left = 10; DetLbl&#091;TmpIndex&#093;.Margins.Top = 5;</div><div>&nbsp; &nbsp;DetMemoNeden = FormFiltre.AddNewMemo(DetPnl&#091;TmpIndex&#093;, 'DetMemoNeden', '');</div><div>&nbsp; &nbsp;DetMemoNeden.Align = alClient; DetMemoNeden.Margins.Left = 10; DetMemoNeden.Margins.Right = 10; DetMemoNeden.Margins.Bottom = 10;</div><div>&nbsp; }</div><div>&nbsp; else</div><div>&nbsp; {</div><div>&nbsp; &nbsp;DetPnl&#091;TmpIndex&#093;.Height = 50;</div><div>&nbsp; &nbsp;DetLbl&#091;TmpIndex&#093;.Align = alLeft; DetLbl&#091;TmpIndex&#093;.Width = 140; DetLbl&#091;TmpIndex&#093;.Margins.Left = 10;</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp;DetEdt&#091;TmpIndex&#093; = FormFiltre.AddNewEdit(DetPnl&#091;TmpIndex&#093;, 'DetEdt'+IntToStr(TmpIndex), '');</div><div>&nbsp; &nbsp;DetEdt&#091;TmpIndex&#093;.Align = alClient;</div><div>&nbsp; &nbsp;DetEdt&#091;TmpIndex&#093;.Margins.Left = 5;</div><div>&nbsp; &nbsp;DetEdt&#091;TmpIndex&#093;.Margins.Right = 10;</div><div>&nbsp; &nbsp;DetEdt&#091;TmpIndex&#093;.Margins.Top = 5;</div><div>&nbsp; &nbsp;DetEdt&#091;TmpIndex&#093;.Margins.Bottom = 5;</div><div>&nbsp; }</div><div>&nbsp;}</div><div><br></div><div>&nbsp;PnlDetailButtons = FormFiltre.AddNewProPanel(DetailScroll, 'PnlDetailButtons');</div><div>&nbsp;PnlDetailButtons.Align = alTop; PnlDetailButtons.Height = 65; PnlDetailButtons.Margins.Top = 15; PnlDetailButtons.Margins.Bottom = 20; PnlDetailButtons.clProSettings.BorderWidth = 0; PnlDetailButtons.SetclProSettings(PnlDetailButtons.clProSettings);</div><div><br></div><div>&nbsp;BtnDetailSave = FormFiltre.AddNewProButton(PnlDetailButtons, 'BtnDetailSave', 'Kaydet');</div><div>&nbsp;BtnDetailSave.Align = alLeft; BtnDetailSave.Width = 85; StylePrimaryButton(BtnDetailSave); FormFiltre.AddNewEvent(BtnDetailSave, tbeOnClick, 'SaveEditClick');</div><div><br></div><div>&nbsp;BtnTamamlandi = FormFiltre.AddNewProButton(PnlDetailButtons, 'BtnTamamlandi', 'Tamamlandi');</div><div>&nbsp;BtnTamamlandi.Align = alLeft; BtnTamamlandi.Width = 105; BtnTamamlandi.Margins.Left = 6; StylePrimaryButton(BtnTamamlandi); FormFiltre.AddNewEvent(BtnTamamlandi, tbeOnClick, 'MarkAsCompletedClick');</div><div><br></div><div>&nbsp;BtnErtele = FormFiltre.AddNewProButton(PnlDetailButtons, 'BtnErtele', '10 G. Ertele');</div><div>&nbsp;BtnErtele.Align = alLeft; BtnErtele.Width = 95; BtnErtele.Margins.Left = 6; StyleSecondaryButton(BtnErtele); FormFiltre.AddNewEvent(BtnErtele, tbeOnClick, 'PostponeClick');</div><div><br></div><div>&nbsp;BtnDetailCancel = FormFiltre.AddNewProButton(PnlDetailButtons, 'BtnDetailCancel', 'Kapat');</div><div>&nbsp;BtnDetailCancel.Align = alRight; BtnDetailCancel.Width = 85; StyleSecondaryButton(BtnDetailCancel); FormFiltre.AddNewEvent(BtnDetailCancel, tbeOnClick, 'CancelEditClick');</div><div><br></div><div>&nbsp;ToggleDetailPanel(False);</div><div><br></div><div>&nbsp;FormFiltre.AddNewEvent(FormFiltre, tbeOnFormActivate, 'AyarlariYenile');</div><div>&nbsp;AyarlariYenile;</div><div>&nbsp;FormFiltre.Run;</div><div>}&nbsp; kodum da olan operatör kısmına basıldığı zaman ---------------------------</div><div>Error</div><div>---------------------------</div><div>Access violation at address 010238D4 in module 'ClomosyLearn.exe' (offset 8538D4). Read of address 000003F4.</div><div>---------------------------</div><div>Tamam&nbsp; &nbsp;</div><div>---------------------------</div><div>&nbsp; bu hatayı alıyorum&nbsp; hata vere kısmı değiştirdiğim de ya runtime hatası yada bu hatayı alıyorum</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}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Thu, 06 Aug 2026 10:14:22 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1646&amp;PID=3813#3813</guid>
  </item> 
 </channel>
</rss>