<?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 : stok ekleme</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : stok ekleme]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 09 Jul 2026 11:52:43 +0000</pubDate>
  <lastBuildDate>Wed, 08 Jul 2026 17:56:06 +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=1606</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[stok ekleme : Merhaba Kayra,Hataya sebep olabilecek...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1606&amp;PID=3712#3712</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> 1606<br /><strong>Gönderim Zamanı:</strong> 08&nbsp;Temmuz&nbsp;2026 Saat 17:56<br /><br />Merhaba Kayra,&nbsp;<br><br>Hataya sebep olabilecek&nbsp; durumlar&nbsp;<br>bileşenler de isim çakışması, main_text ve sub_text isimli etikler bir kaç yerde kullanılıyor.&nbsp;<br>bir diğeri de hatalı veri işleme türü&nbsp;<br><br><div>var</div><div>&nbsp; BakimForm, RehberForm, StokFiltreForm: TclForm;</div><div>&nbsp; LsvRehber: TClProListView;&nbsp;</div><div>&nbsp; EdtAramaRehber: TclProEdit;</div><div>&nbsp; DataRehber: TclJsonQuery;</div><div>&nbsp; GlobalLookupType: String;&nbsp;</div><div><br></div><div>&nbsp; PnlNavBar, PnlHeaderTop, PnlMainCard: TclProPanel;</div><div>&nbsp; BtnScroll: TclHorzScrollBox;</div><div>&nbsp; LblNavTitle, LblSect1Title, LblGridTitle, LblPhotoTitle, LblTalimatTitle: TClProLabel;</div><div>&nbsp; BtnGeri, BtnYeni, BtnKaydet, BtnYazdir, BtnResimCek, BtnOperatorKaydet: TClProButton;&nbsp;</div><div>&nbsp; BtnRehberAc, BtnBakimKoduRehber, BtnMakineKoduRehber, BtnBaglantiRehber, BtnCariKoduRehber: TClProButton;</div><div>&nbsp; GrpBelgeNo, GrpTarih, GrpBakimTipi, GrpBakimTuru, GrpBakimKodu, GrpMakineKodu, GrpBaglanti, GrpCariKodu: TclProPanel;</div><div>&nbsp; GrpBaslangic, GrpGirisZamani, GrpPlanlananBitis, GrpBakimDurumu, GrpKisiSayisi, GrpOperatorGrup, GrpOperator, GrpOperatorBilgisi, GrpAciklama: TclProPanel;</div><div>&nbsp; LblBelgeNo, LblTarih, LblBakimTipi, LblBakimTuru, LblBakimKodu, LblMakineKodu, LblBaglanti, LblCariKodu: TClProLabel;</div><div>&nbsp; LblBaslangic, LblGirisZamani, LblPlanlananBitis, LblBakimDurumu, LblKisiSayisi, LblOperatorGrup, LblOperator, LblOperatorBilgisi, LblAciklama: TClProLabel;</div><div>&nbsp; EdtBelgeNo, EdtTarih, EdtBakimKodu, EdtMakineKodu, EdtBaglanti, EdtCariKodu: TclProEdit;</div><div>&nbsp; EdtBaslangic, EdtBaslangicSaat, EdtGirisZamani, EdtKisiSayisi, EdtOperatorBilgisi, EdtAciklama: TclProEdit;</div><div>&nbsp; CmbBakimTipi, CmbBakimTuru, CmbOperatorGrup, CmbOperator, CmbYeniOperatorGrup, CmbPlanlananBitis, CmbBakimDurumu: TClComboBox;</div><div><br></div><div>&nbsp; HScrollGrid: TclHorzScrollBox;</div><div>&nbsp; PnlGridContainer, PnlGridHeader, PnlGridTitleArea: TclProPanel;</div><div>&nbsp; ListGrid: TClProListView;&nbsp;</div><div>&nbsp; ListGridDesigner: TClProListViewDesignerPanel;</div><div>&nbsp; LblCol1, LblCol2, LblCol3, LblCol4, LblCol5, LblCol6: TClProLabel;</div><div>&nbsp; LblD1, LblD2, LblD3, LblD4, LblD5, LblD6: TClProLabel;</div><div>&nbsp; BtnStokEkleAnaForm: TClProButton;&nbsp;</div><div><br></div><div>&nbsp; PnlTalimatKutu, PnlPhotoKutu: TclProPanel;</div><div>&nbsp; MemTabContent: TclMemo;</div><div>&nbsp; ScrollForm: TclVertScrollBox;</div><div>&nbsp; ImgPhoto, ImgBelge, ImgBakim, ImgMakine, ImgBaglanti, ImgCari: TclImage;</div><div><br></div><div>&nbsp; MyJsonItems, KayitliOperatorA, KayitliOperatorB, KayitliOperatorC: String;</div><div>&nbsp; UiFontSize, OkunanStilIndex: Integer;</div><div>&nbsp; OkunanFontAdi: String;</div><div>&nbsp; ThemeKoyuRenk, ThemeAcikRenk: String;</div><div>&nbsp; ThemeBgColor, ThemeBorderColor, ThemeTextColor: String;</div><div><br></div><div>&nbsp; gAktifDilIndex: Integer;</div><div>&nbsp; gTabletModuAktif: Integer;</div><div>&nbsp; gTabletYonIndex: Integer;</div><div>&nbsp; gCounter: Integer;</div><div><br></div><div>&nbsp; PnlFiltreSag, PnlFiltreSagUst, PnlFiltreSagAlt, PnlFiltreAramaKutu, PnlEklemeKutu, PnlAktarKutu: TclProPanel;</div><div>&nbsp; LsvKisitUyanlar, LsvEklenecekler: TClProListView;</div><div>&nbsp; LsvKisitDP, LsvEklenecekDP: TclProListViewDesignerPanel;</div><div>&nbsp; LblKisitD1, LblKisitD2, LblEkleD1, LblEkleD2, LblEkleD3, LblFiltreStokKodu: TClProLabel;</div><div>&nbsp; BtnKodRehber: TclProButton;</div><div>&nbsp; EdtFiltreStokKodu, EdtBilesenMiktar: TclProEdit;</div><div>&nbsp; BtnFiltreAra, BtnBilesenEkle, BtnAktar: TClProButton;</div><div>&nbsp; JsonEkleneceklerHavuzu, SecilenStokKodu, SecilenStokAdi: String;</div><div><br></div><div>void OnKeyboardShow;</div><div>{</div><div>&nbsp; ScrollForm.Margins.Bottom = BakimForm.clVKBoundsHeight;</div><div>}</div><div><br></div><div>void OnKeyboardHide;</div><div>{</div><div>&nbsp; ScrollForm.Margins.Bottom = 0;</div><div>}</div><div><br></div><div>function GetText(Key: String): String;</div><div>{</div><div>&nbsp; Result = Key;</div><div>&nbsp; if (gAktifDilIndex == 1)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (Key == 'NAV_TITLE') { Result = 'Maintenance Movements'; }</div><div>&nbsp; &nbsp; else if (Key == 'YENI') { Result = 'New'; }</div><div>&nbsp; &nbsp; else if (Key == 'KAYDET') { Result = 'Save'; }</div><div>&nbsp; &nbsp; else if (Key == 'YAZDIR') { Result = 'Print'; }</div><div>&nbsp; &nbsp; else if (Key == 'SECT1') { Result = '1. GENERAL INFO'; }</div><div>&nbsp; &nbsp; else if (Key == 'SECT2') { Result = '2. MATERIAL &amp; COST'; }</div><div>&nbsp; &nbsp; else if (Key == 'SECT3') { Result = '3. VISUALS'; }</div><div>&nbsp; &nbsp; else if (Key == 'SECT4') { Result = '4. INSTRUCTIONS'; }</div><div>&nbsp; &nbsp; else if (Key == 'BELGE_NO') { Result = 'Doc No:'; }</div><div>&nbsp; &nbsp; else if (Key == 'TARIH') { Result = 'Date:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_TIPI') { Result = 'Maint. Type:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_TURU') { Result = 'Maint. Category:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_KODU') { Result = 'Maint. Code:'; }</div><div>&nbsp; &nbsp; else if (Key == 'MAKINE_KODU') { Result = 'Machine Code:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAGLANTI') { Result = 'Connection:'; }</div><div>&nbsp; &nbsp; else if (Key == 'CARI_KODU') { Result = 'Current Code:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BASLANGIC') { Result = 'Start Date/Time:'; }</div><div>&nbsp; &nbsp; else if (Key == 'GIRIS_ZAMANI') { Result = 'Entry Time:'; }</div><div>&nbsp; &nbsp; else if (Key == 'PLANLANAN') { Result = 'Planned End Time:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_DURUMU') { Result = 'Maintenance Status:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_YAPILDI') { Result = 'Done (Completed)'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_YAPILMADI') { Result = 'Not Done (Pending)'; }</div><div>&nbsp; &nbsp; else if (Key == 'KISI_SAYISI') { Result = 'Headcount:'; }</div><div>&nbsp; &nbsp; else if (Key == 'OP_GRUP') { Result = 'Operator Group:'; }</div><div>&nbsp; &nbsp; else if (Key == 'OPERATOR') { Result = 'Operator in Charge:'; }</div><div>&nbsp; &nbsp; else if (Key == 'OP_BILGI') { Result = 'New Operator Info:'; }</div><div>&nbsp; &nbsp; else if (Key == 'ACIKLAMA') { Result = 'Description:'; }</div><div>&nbsp; &nbsp; else if (Key == 'KAMERA') { Result = 'Open Camera'; }</div><div>&nbsp; &nbsp; else if (Key == 'OP_KAYDET') { Result = 'Save'; }</div><div>&nbsp; &nbsp; else if (Key == 'TALIMAT_METNI') { Result = '1. Cut off machine power.' + #13#10 + '2. Attach safety lock.' + #13#10 + '3. Check bearing housings.' + #13#10 + '4. Tighten and align.' + #13#10 + '5. Perform a test run.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_FORM_TEMIZLENDI') { Result = 'Form cleared.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_BELGE_NO_GIRIN') { Result = 'Please enter Doc No before saving!'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_DURUM_SECIN') { Result = 'Please select maintenance status!'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_BASARILI') { Result = 'SAVE SUCCESSFUL!'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_EKLENEN_VERI') { Result = 'Added Data: '; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_BILGI_GIRIN') { Result = 'Please enter Operator Info first.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_GRUP_SECIN') { Result = 'Please select a group for the operator.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_KAYDEDILDI') { Result = 'Operator saved.'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BELGE') { Result = 'Search Document...'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL1') { Result = 'Item Code'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL2') { Result = 'Item Name'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL3') { Result = 'Qty'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL4') { Result = 'Unit'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL5') { Result = 'Price'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL6') { Result = 'Amount'; }</div><div>&nbsp; &nbsp; else if (Key == 'STOK_EKLE') { Result = '+ Add Stock'; }</div><div>&nbsp; &nbsp; else if (Key == 'LST_BOS') { Result = 'No material records found.'; }</div><div>&nbsp; }</div><div>&nbsp; else if (gAktifDilIndex == 2)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (Key == 'NAV_TITLE') { Result = 'Wartungsbewegungen'; }</div><div>&nbsp; &nbsp; else if (Key == 'YENI') { Result = 'Neu'; }</div><div>&nbsp; &nbsp; else if (Key == 'KAYDET') { Result = 'Speichern'; }</div><div>&nbsp; &nbsp; else if (Key == 'YAZDIR') { Result = 'Drucken'; }</div><div>&nbsp; &nbsp; else if (Key == 'SECT1') { Result = '1. ALLGEMEINE INFO'; }</div><div>&nbsp; &nbsp; else if (Key == 'SECT2') { Result = '2. MATERIAL &amp; KOSTEN'; }</div><div>&nbsp; &nbsp; else if (Key == 'SECT3') { Result = '3. VISUALS'; }</div><div>&nbsp; &nbsp; else if (Key == 'SECT4') { Result = '4. ANWEISUNGEN'; }</div><div>&nbsp; &nbsp; else if (Key == 'BELGE_NO') { Result = 'Dokumenten-Nr.:'; }</div><div>&nbsp; &nbsp; else if (Key == 'TARIH') { Result = 'Datum:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_TIPI') { Result = 'Wartungsart:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_TURU') { Result = 'Wartungskategorie:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_KODU') { Result = 'Wartungscode:'; }</div><div>&nbsp; &nbsp; else if (Key == 'MAKINE_KODU') { Result = 'Maschinencode:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAGLANTI') { Result = 'Verbindung:'; }</div><div>&nbsp; &nbsp; else if (Key == 'CARI_KODU') { Result = 'Aktueller Code:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BASLANGIC') { Result = 'Startdatum/-zeit:'; }</div><div>&nbsp; &nbsp; else if (Key == 'GIRIS_ZAMANI') { Result = 'Eintrittszeit:'; }</div><div>&nbsp; &nbsp; else if (Key == 'PLANLANAN') { Result = 'Geplante Endzeit:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_DURUMU') { Result = 'Wartungsstatus:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_YAPILDI') { Result = 'Erledigt'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_YAPILMADI') { Result = 'Nicht Erledigt'; }</div><div>&nbsp; &nbsp; else if (Key == 'KISI_SAYISI') { Result = 'Kopfzahl:'; }</div><div>&nbsp; &nbsp; else if (Key == 'OP_GRUP') { Result = 'Bedienergruppe:'; }</div><div>&nbsp; &nbsp; else if (Key == 'OPERATOR') { Result = 'Zuständiger Bediener:'; }</div><div>&nbsp; &nbsp; else if (Key == 'OP_BILGI') { Result = 'Neue Bedienerinfo:'; }</div><div>&nbsp; &nbsp; else if (Key == 'ACIKLAMA') { Result = 'Beschreibung:'; }</div><div>&nbsp; &nbsp; else if (Key == 'KAMERA') { Result = 'Kamera öffnen'; }</div><div>&nbsp; &nbsp; else if (Key == 'OP_KAYDET') { Result = 'Speichern'; }</div><div>&nbsp; &nbsp; else if (Key == 'TALIMAT_METNI') { Result = '1. Maschinenstrom abschalten.' + #13#10 + '2. Sicherheitsschloss anbringen.' + #13#10 + '3. Lagergehäuse prüfen.' + #13#10 + '4. Festziehen und ausrichten.' + #13#10 + '5. Testlauf durchführen.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_FORM_TEMIZLENDI') { Result = 'Formular geleert.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_BELGE_NO_GIRIN') { Result = 'Bitte Dokumenten-Nr. vor dem Speichern eingeben!'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_DURUM_SECIN') { Result = 'Bitte Wartungsstatus auswählen!'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_BASARILI') { Result = 'SPEICHERN ERFOLGREICH!'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_EKLENEN_VERI') { Result = 'Hinzugefügte Daten: '; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_BILGI_GIRIN') { Result = 'Bitte zuerst Bedienerinfo eingeben.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_GRUP_SECIN') { Result = 'Bitte eine Gruppe für den Bediener auswählen.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_KAYDEDILDI') { Result = 'Bediener gespeichert.'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BELGE') { Result = 'Dokument suchen...'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL1') { Result = 'Artikelnr.'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL2') { Result = 'Artikelname'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL3') { Result = 'Menge'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL4') { Result = 'Einh.'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL5') { Result = 'Preis'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL6') { Result = 'Betrag'; }</div><div>&nbsp; &nbsp; else if (Key == 'STOK_EKLE') { Result = '+ Bestand Hzfg'; }</div><div>&nbsp; &nbsp; else if (Key == 'LST_BOS') { Result = 'Keine Materialdatensätze gefunden.'; }</div><div>&nbsp; }</div><div>&nbsp; else if (gAktifDilIndex == 3)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (Key == 'NAV_TITLE') { Result = 'Mouvements de Maint'; }</div><div>&nbsp; &nbsp; else if (Key == 'YENI') { Result = 'Nouveau'; }</div><div>&nbsp; &nbsp; else if (Key == 'KAYDET') { Result = 'Enregistrer'; }</div><div>&nbsp; &nbsp; else if (Key == 'YAZDIR') { Result = 'Imprimer'; }</div><div>&nbsp; &nbsp; else if (Key == 'SECT1') { Result = '1. INFOS GENERALES'; }</div><div>&nbsp; &nbsp; else if (Key == 'SECT2') { Result = '2. MATERIEL ET COUT'; }</div><div>&nbsp; &nbsp; else if (Key == 'SECT3') { Result = '3. VISUELS'; }</div><div>&nbsp; &nbsp; else if (Key == 'SECT4') { Result = '4. INSTRUCTIONS'; }</div><div>&nbsp; &nbsp; else if (Key == 'BELGE_NO') { Result = 'N Doc:'; }</div><div>&nbsp; &nbsp; else if (Key == 'TARIH') { Result = 'Date:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_TIPI') { Result = 'Type Maint.:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_TURU') { Result = 'Categorie Maint.:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_KODU') { Result = 'Code Maint.:'; }</div><div>&nbsp; &nbsp; else if (Key == 'MAKINE_KODU') { Result = 'Code Machine:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAGLANTI') { Result = 'Connexion:'; }</div><div>&nbsp; &nbsp; else if (Key == 'CARI_KODU') { Result = 'Code Courant:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BASLANGIC') { Result = 'Date/Heure Debut:'; }</div><div>&nbsp; &nbsp; else if (Key == 'GIRIS_ZAMANI') { Result = 'Heure d Entree:'; }</div><div>&nbsp; &nbsp; else if (Key == 'PLANLANAN') { Result = 'Heure de Fin Prevue:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_DURUMU') { Result = 'Statut de Maint.:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_YAPILDI') { Result = 'Fait (Termine)'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_YAPILMADI') { Result = 'Non Fait (En attente)'; }</div><div>&nbsp; &nbsp; else if (Key == 'KISI_SAYISI') { Result = 'Effectif:'; }</div><div>&nbsp; &nbsp; else if (Key == 'OP_GRUP') { Result = 'Groupe d Operateurs:'; }</div><div>&nbsp; &nbsp; else if (Key == 'OPERATOR') { Result = 'Operateur Responsable:'; }</div><div>&nbsp; &nbsp; else if (Key == 'OP_BILGI') { Result = 'Infos Nouvel Operateur:'; }</div><div>&nbsp; &nbsp; else if (Key == 'ACIKLAMA') { Result = 'Description:'; }</div><div>&nbsp; &nbsp; else if (Key == 'KAMERA') { Result = 'Ouvrir Camera'; }</div><div>&nbsp; &nbsp; else if (Key == 'OP_KAYDET') { Result = 'Enregistrer'; }</div><div>&nbsp; &nbsp; else if (Key == 'TALIMAT_METNI') { Result = '1. Couper l alimentation.' + #13#10 + '2. Fixer le verrou de securite.' + #13#10 + '3. Verifier les paliers.' + #13#10 + '4. Serrer et aligner.' + #13#10 + '5. Faire un essai.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_FORM_TEMIZLENDI') { Result = 'Formulaire efface.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_BELGE_NO_GIRIN') { Result = 'Veuillez saisir le N Doc avant d enregistrer !'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_DURUM_SECIN') { Result = 'Veuillez selectionner le statut !'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_BASARILI') { Result = 'ENREGISTREMENT REUSSI !'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_EKLENEN_VERI') { Result = 'Donnees ajoutees : '; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_BILGI_GIRIN') { Result = 'Veuillez d abord saisir les infos de l operateur.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_GRUP_SECIN') { Result = 'Veuillez selectionner un groupe pour l operateur.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_KAYDEDILDI') { Result = 'Operateur enregistre.'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BELGE') { Result = 'Rechercher un document...'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL1') { Result = 'Code Article'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL2') { Result = 'Nom Article'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL3') { Result = 'Qte'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL4') { Result = 'Unite'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL5') { Result = 'Prix'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL6') { Result = 'Montant'; }</div><div>&nbsp; &nbsp; else if (Key == 'STOK_EKLE') { Result = '+ Ajouter Stock'; }</div><div>&nbsp; &nbsp; else if (Key == 'LST_BOS') { Result = 'Aucun enregistrement de materiel trouve.'; }</div><div>&nbsp; }</div><div>&nbsp; else</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (Key == 'NAV_TITLE') { Result = 'Bakım Hareketleri'; }</div><div>&nbsp; &nbsp; else if (Key == 'YENI') { Result = 'Yeni'; }</div><div>&nbsp; &nbsp; else if (Key == 'KAYDET') { Result = 'Kaydet'; }</div><div>&nbsp; &nbsp; else if (Key == 'YAZDIR') { Result = 'Yazdır'; }</div><div>&nbsp; &nbsp; else if (Key == 'SECT1') { Result = '1. GENEL BİLGİLER'; }</div><div>&nbsp; &nbsp; else if (Key == 'SECT2') { Result = 'Kullanılan Malzemeler'; }</div><div>&nbsp; &nbsp; else if (Key == 'SECT3') { Result = '3. GÖRSEL'; }</div><div>&nbsp; &nbsp; else if (Key == 'SECT4') { Result = '4. BAKIM TALİMATLARI'; }</div><div>&nbsp; &nbsp; else if (Key == 'BELGE_NO') { Result = 'Belge No:'; }</div><div>&nbsp; &nbsp; else if (Key == 'TARIH') { Result = 'Tarih:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_TIPI') { Result = 'Bakım Tipi:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_TURU') { Result = 'Bakım Türü:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_KODU') { Result = 'Bakım Kodu:'; }</div><div>&nbsp; &nbsp; else if (Key == 'MAKINE_KODU') { Result = 'Makine Kodu:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAGLANTI') { Result = 'Bakım Bağlantısı:'; }</div><div>&nbsp; &nbsp; else if (Key == 'CARI_KODU') { Result = 'Bakım Cari Kodu:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BASLANGIC') { Result = 'Başlangıç Trh/Saat:'; }</div><div>&nbsp; &nbsp; else if (Key == 'GIRIS_ZAMANI') { Result = 'Giriş Zamanı:'; }</div><div>&nbsp; &nbsp; else if (Key == 'PLANLANAN') { Result = 'Planlanan Bitiş Süresi:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_DURUMU') { Result = 'Bakım Durumu:'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_YAPILDI') { Result = 'Yapıldı (Tamamlandı)'; }</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_YAPILMADI') { Result = 'Yapılmadı (Bekliyor)'; }</div><div>&nbsp; &nbsp; else if (Key == 'KISI_SAYISI') { Result = 'Kişi Sayısı:'; }</div><div>&nbsp; &nbsp; else if (Key == 'OP_GRUP') { Result = 'Operatör Grubu:'; }</div><div>&nbsp; &nbsp; else if (Key == 'OPERATOR') { Result = 'Sorumlu Operatör:'; }</div><div>&nbsp; &nbsp; else if (Key == 'OP_BILGI') { Result = 'Yeni Operatör (Ad Soyad):'; }</div><div>&nbsp; &nbsp; else if (Key == 'ACIKLAMA') { Result = 'Genel Açıklama:'; }</div><div>&nbsp; &nbsp; else if (Key == 'KAMERA') { Result = 'Kamera / Galeri Aç'; }</div><div>&nbsp; &nbsp; else if (Key == 'OP_KAYDET') { Result = 'Kaydet'; }</div><div>&nbsp; &nbsp; else if (Key == 'TALIMAT_METNI') { Result = '1. Makine enerjisini kesin.' + #13#10 + '2. Guvenlik kilidini takin.' + #13#10 + '3. Rulman yataklarini kontrol edin.' + #13#10 + '4. Sikma ve hizalama yapin.' + #13#10 + '5. Test calismasi yapin.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_FORM_TEMIZLENDI') { Result = 'Form temizlendi.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_BELGE_NO_GIRIN') { Result = 'Lütfen kaydetmeden önce Belge No giriniz!'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_DURUM_SECIN') { Result = 'Lütfen bakım durumunu seçiniz!'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_BASARILI') { Result = 'KAYIT BAŞARILI!'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_EKLENEN_VERI') { Result = 'Eklenen Veri: '; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_BILGI_GIRIN') { Result = 'Lütfen önce Operatör Bilgisi giriniz.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_GRUP_SECIN') { Result = 'Lütfen kaydedilecek operatörün grubunu seçiniz.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_KAYDEDILDI') { Result = 'Operatör kaydedildi.'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BELGE') { Result = 'Belge No Ara...'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL1') { Result = 'Stok Kodu'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL2') { Result = 'Stok Adı'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL3') { Result = 'Miktar'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL4') { Result = 'Ölçü Br.'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL5') { Result = 'Br. Fiyat'; }</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL6') { Result = 'Tutar'; }</div><div>&nbsp; &nbsp; else if (Key == 'STOK_EKLE') { Result = '+ Stok Ekle'; }</div><div>&nbsp; &nbsp; else if (Key == 'LST_BOS') { Result = 'Malzeme kaydı bulunamadı.'; }</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void AyarlariYukle;</div><div>var</div><div>&nbsp; OkunanDosyaYolu, TemaKodu, tmpStr : String;</div><div>&nbsp; YuklenenAyarlar: TclStringList;</div><div>&nbsp; OkunanBoyutIndex: Integer;</div><div>{</div><div>&nbsp; UiFontSize = 15; OkunanFontAdi = 'Arial';</div><div>&nbsp; gAktifDilIndex = 0; TemaKodu = '0';</div><div><br></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;= 5)&nbsp;</div><div>&nbsp; &nbsp; {&nbsp;</div><div>&nbsp; &nbsp; &nbsp; TemaKodu = Clomosy.StringListItemString(YuklenenAyarlar, 0);</div><div>&nbsp; &nbsp; &nbsp; tmpStr = Clomosy.StringListItemString(YuklenenAyarlar, 1);</div><div>&nbsp; &nbsp; &nbsp; if (tmpStr &lt;&gt; '') {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; OkunanBoyutIndex = StrToInt(tmpStr);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (OkunanBoyutIndex == 0) { UiFontSize = 15; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else if (OkunanBoyutIndex == 1) { UiFontSize = 17; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else if (OkunanBoyutIndex == 2) { UiFontSize = 19; }</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; tmpStr = Clomosy.StringListItemString(YuklenenAyarlar, 2);</div><div>&nbsp; &nbsp; &nbsp; if (tmpStr &lt;&gt; '') { gAktifDilIndex = StrToInt(tmpStr); }</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; if (YuklenenAyarlar.Count &gt;= 6) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; tmpStr = Clomosy.StringListItemString(YuklenenAyarlar, 5);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (tmpStr &lt;&gt; '') { OkunanFontAdi = tmpStr; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; tmpStr = Clomosy.StringListItemString(YuklenenAyarlar, 6);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (tmpStr &lt;&gt; '') { OkunanStilIndex = StrToInt(tmpStr); }</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; if (YuklenenAyarlar &lt;&gt; nil) { YuklenenAyarlar.Free; }</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (TemaKodu == '1') { BakimForm.SetFormColor('#111827','#2563EB',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '2') { BakimForm.SetFormColor('#0F172A','#0EA5E9',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '3') { BakimForm.SetFormColor('#14532D','#22C55E',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '4') { BakimForm.SetFormColor('#312E81','#8B5CF6',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '5') { BakimForm.SetFormColor('#78350F','#F59E0B',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '6') { BakimForm.SetFormColor('#7F1D1D','#EF4444',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '7') { BakimForm.SetFormColor('#831843','#EC4899',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '8') { BakimForm.SetFormColor('#172554','#3B82F6',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '9') { BakimForm.SetFormColor('#064E3B','#10B981',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '10') { BakimForm.SetFormColor('#450A0A','#F97316',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '11') { BakimForm.SetFormColor('#082F49','#06B6D4',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '12') { BakimForm.SetFormColor('#020617','#4F46E5',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '13') { BakimForm.SetFormColor('#4A044E','#D946EF',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '14') { BakimForm.SetFormColor('#7F1D1D','#F59E0B',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '15') { BakimForm.SetFormColor('#451A03','#EAB308',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '16') { BakimForm.SetFormColor('#4C0519','#F43F5E',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '17') { BakimForm.SetFormColor('#022C22','#84CC16',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '18') { BakimForm.SetFormColor('#1E293B','#64748B',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '19') { BakimForm.SetFormColor('#2E1065','#A855F7',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '20') { BakimForm.SetFormColor('#3F3F46','#A1A1AA',clGVertical); }&nbsp;</div><div>&nbsp; else { BakimForm.SetFormColor('#334155','#94A3B8',clGVertical); }&nbsp;</div><div><br></div><div>&nbsp; ThemeBgColor = '#FFFFFF'; ThemeBorderColor = '#CBD5E1'; ThemeTextColor = '#111827';</div><div>&nbsp; if (TemaKodu == '0') { ThemeKoyuRenk = '#334155'; ThemeAcikRenk = '#94A3B8'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '1') { ThemeKoyuRenk = '#111827'; ThemeAcikRenk = '#2563EB'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '2') { ThemeKoyuRenk = '#0F172A'; ThemeAcikRenk = '#0EA5E9'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '3') { ThemeKoyuRenk = '#14532D'; ThemeAcikRenk = '#22C55E'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '4') { ThemeKoyuRenk = '#312E81'; ThemeAcikRenk = '#8B5CF6'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '5') { ThemeKoyuRenk = '#78350F'; ThemeAcikRenk = '#F59E0B'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '6') { ThemeKoyuRenk = '#7F1D1D'; ThemeAcikRenk = '#EF4444'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '7') { ThemeKoyuRenk = '#831843'; ThemeAcikRenk = '#EC4899'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '8') { ThemeKoyuRenk = '#172554'; ThemeAcikRenk = '#3B82F6'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '9') { ThemeKoyuRenk = '#064E3B'; ThemeAcikRenk = '#10B981'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '10') { ThemeKoyuRenk = '#450A0A'; ThemeAcikRenk = '#F97316'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '11') { ThemeKoyuRenk = '#082F49'; ThemeAcikRenk = '#06B6D4'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '12') { ThemeKoyuRenk = '#020617'; ThemeAcikRenk = '#4F46E5'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '13') { ThemeKoyuRenk = '#4A044E'; ThemeAcikRenk = '#D946EF'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '14') { ThemeKoyuRenk = '#7F1D1D'; ThemeAcikRenk = '#F59E0B'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '15') { ThemeKoyuRenk = '#451A03'; ThemeAcikRenk = '#EAB308'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '16') { ThemeKoyuRenk = '#4C0519'; ThemeAcikRenk = '#F43F5E'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '17') { ThemeKoyuRenk = '#022C22'; ThemeAcikRenk = '#84CC16'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '18') { ThemeKoyuRenk = '#1E293B'; ThemeAcikRenk = '#64748B'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '19') { ThemeKoyuRenk = '#2E1065'; ThemeAcikRenk = '#A855F7'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '20') { ThemeKoyuRenk = '#3F3F46'; ThemeAcikRenk = '#A1A1AA'; }</div><div>}</div><div><br></div><div>void StyleMainCard(APanel: TclProPanel);</div><div>{</div><div>&nbsp; APanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(ThemeBgColor);</div><div>&nbsp; APanel.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeBorderColor);</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 = 16;</div><div>&nbsp; APanel.clProSettings.RoundWidth = 16;</div><div>&nbsp; APanel.SetclProSettings(APanel.clProSettings);</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 StyleTopBtnYeni(AButton: TClProButton);</div><div>{</div><div>&nbsp; AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#6B7280');</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 StyleTopBtnKaydet(AButton: TClProButton);</div><div>{</div><div>&nbsp; AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#6B7280');</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 StyleTopBtnYazdir(AButton: TClProButton);</div><div>{</div><div>&nbsp; AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#6B7280');</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 StyleActionButton(AButton: TClProButton);</div><div>{</div><div>&nbsp; AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F8FAFC');</div><div>&nbsp; AButton.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor);</div><div>&nbsp; AButton.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeBorderColor);</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 StylePrimaryButton(AButton: TClProButton);</div><div>{</div><div>&nbsp; AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(ThemeKoyuRenk);</div><div>&nbsp; AButton.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; AButton.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeKoyuRenk);</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 StyleDangerButton(AButton: TClProButton);</div><div>{</div><div>&nbsp; AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#EF4444');</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 StyleUncoloredOutlineButton(AButton: TClProButton);&nbsp;</div><div>{&nbsp;</div><div>&nbsp; AButton.clProSettings.FontColor = clAlphaColor.clHexToColor('#334155');&nbsp;</div><div>&nbsp; AButton.clProSettings.BorderColor = clAlphaColor.clHexToColor('#94A3B8');&nbsp;</div><div>&nbsp; AButton.clProSettings.BorderWidth = 2;&nbsp;</div><div>&nbsp; AButton.clProSettings.IsFill = False;&nbsp;</div><div>&nbsp; AButton.clProSettings.IsRound = True;&nbsp;</div><div>&nbsp; AButton.clProSettings.RoundHeight = 8;&nbsp;</div><div>&nbsp; AButton.clProSettings.RoundWidth = 8;&nbsp;</div><div>&nbsp; AButton.clProSettings.FontSize = UiFontSize;&nbsp;</div><div>&nbsp; AButton.clProSettings.FontName = OkunanFontAdi;&nbsp;</div><div>&nbsp; AButton.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;&nbsp;</div><div>&nbsp; AButton.SetclProSettings(AButton.clProSettings);&nbsp;</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(ThemeBorderColor);</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(ThemeTextColor);</div><div>&nbsp; ALabel.clProSettings.FontSize = UiFontSize;</div><div>&nbsp; ALabel.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; if (OkunanStilIndex == 0)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ALabel.clProSettings.TextSettings.Font.Style = &#091;&#093;;</div><div>&nbsp; }</div><div>&nbsp; else if (OkunanStilIndex == 1)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ALabel.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; }</div><div>&nbsp; ALabel.SetclProSettings(ALabel.clProSettings);</div><div>}</div><div><br></div><div>void StyleInputEdit(AEdit: TclProEdit);</div><div>{</div><div>&nbsp; AEdit.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor);</div><div>&nbsp; AEdit.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeBorderColor);</div><div>&nbsp; AEdit.clProSettings.BackgroundColor = clAlphaColor.clWhite;</div><div>&nbsp; AEdit.clProSettings.BorderWidth = 1;</div><div>&nbsp; AEdit.clProSettings.IsFill = True;</div><div>&nbsp; AEdit.clProSettings.IsRound = True;</div><div>&nbsp; AEdit.clProSettings.RoundHeight = 6;</div><div>&nbsp; AEdit.clProSettings.RoundWidth = 6;</div><div>&nbsp; AEdit.clProSettings.FontSize = UiFontSize;</div><div>&nbsp; AEdit.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; AEdit.SetclProSettings(AEdit.clProSettings);</div><div>}</div><div><br></div><div>void StyleReadonlyEdit(AEdit: TclProEdit);</div><div>{&nbsp;</div><div>&nbsp; AEdit.clProSettings.FontColor = clAlphaColor.clHexToColor('#000000');</div><div>&nbsp; AEdit.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeBorderColor);&nbsp;</div><div>&nbsp; AEdit.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#E2E8F0');&nbsp;</div><div>&nbsp; AEdit.clProSettings.BorderWidth = 1;&nbsp;</div><div>&nbsp; AEdit.clProSettings.IsFill = True;&nbsp;</div><div>&nbsp; AEdit.clProSettings.IsRound = True;&nbsp;</div><div>&nbsp; AEdit.clProSettings.RoundHeight = 6;</div><div>&nbsp; AEdit.clProSettings.RoundWidth = 6;&nbsp;</div><div>&nbsp; AEdit.clProSettings.FontSize = UiFontSize + 1;&nbsp;</div><div>&nbsp; AEdit.clProSettings.FontName = OkunanFontAdi;&nbsp;</div><div>&nbsp; AEdit.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;&nbsp;</div><div>&nbsp; AEdit.SetclProSettings(AEdit.clProSettings);&nbsp;</div><div>}</div><div><br></div><div>void StyleInputFocus;</div><div>var</div><div>&nbsp; FocusEdit: TclProEdit;</div><div>{</div><div>&nbsp; FocusEdit = TclProEdit(BakimForm.ClSender);</div><div>&nbsp; FocusEdit.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeAcikRenk);</div><div>&nbsp; FocusEdit.clProSettings.BorderWidth = 2;</div><div>&nbsp; FocusEdit.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; FocusEdit.SetclProSettings(FocusEdit.clProSettings);</div><div>}</div><div><br></div><div>void StyleInputBlur;</div><div>var</div><div>&nbsp; BlurEdit: TclProEdit;</div><div>{</div><div>&nbsp; BlurEdit = TclProEdit(BakimForm.ClSender);</div><div>&nbsp; StyleInputEdit(BlurEdit);</div><div>}</div><div><br></div><div>void BindInputFocus(AEdit: TclProEdit);</div><div>{</div><div>&nbsp; BakimForm.AddNewEvent(AEdit, tbeOnEnter, 'StyleInputFocus');</div><div>&nbsp; BakimForm.AddNewEvent(AEdit, tbeOnExit, 'StyleInputBlur');</div><div>}</div><div><br></div><div>void KlvKisiSayisi;</div><div>{</div><div>&nbsp; StyleInputFocus;</div><div>&nbsp; ScrollForm.ScrollTo(0, 10000);</div><div>&nbsp; ScrollForm.ScrollTo(0, -587);</div><div>}</div><div><br></div><div>void KlvOperatorBilgisi;</div><div>{</div><div>&nbsp; StyleInputFocus;</div><div>&nbsp; ScrollForm.ScrollTo(0, 10000);</div><div>&nbsp; ScrollForm.ScrollTo(0, -773);</div><div>}</div><div><br></div><div>void KlvAciklama;</div><div>{</div><div>&nbsp; StyleInputFocus;</div><div>&nbsp; ScrollForm.ScrollTo(0, 10000);</div><div>&nbsp; ScrollForm.ScrollTo(0, -836);</div><div>}</div><div><br></div><div>void StyleSectionTitle(ALabel: TClProLabel);</div><div>{</div><div>&nbsp; ALabel.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeKoyuRenk);</div><div>&nbsp; ALabel.clProSettings.FontSize = UiFontSize + 2;</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 GoBack;</div><div>{</div><div>&nbsp; BakimForm.Close;</div><div>}</div><div><br></div><div>void SetCurrentDateTime;</div><div>{</div><div>&nbsp; EdtTarih.Text = DateToStr(Now);</div><div>&nbsp; EdtBaslangic.Text = DateToStr(Now);</div><div>&nbsp; EdtBaslangicSaat.Text = TimeToStr(Now);</div><div>&nbsp; EdtGirisZamani.Text = DateToStr(Now) + ' ' + TimeToStr(Now);</div><div>}</div><div><br></div><div>void GridGuncelle;</div><div>{</div><div>&nbsp; if (MyJsonItems == '')</div><div>&nbsp; {&nbsp;</div><div>&nbsp; &nbsp; ListGrid.clLoadProListViewDataFromDataset(Clomosy.ClDataSetFromJSON('&#091;{"MAIN_TEXT":"' + GetText('LST_BOS') + '"}&#093;'));&nbsp;</div><div>&nbsp; }</div><div>&nbsp; else</div><div>&nbsp; {&nbsp;</div><div>&nbsp; &nbsp; ListGrid.clLoadProListViewDataFromDataset(Clomosy.ClDataSetFromJSON(MyJsonItems));</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void OnRehberArama;</div><div>{</div><div>&nbsp; if (DataRehber == nil) { Exit; }</div><div>&nbsp; if (EdtAramaRehber.Text == '')&nbsp;</div><div>&nbsp; {&nbsp;</div><div>&nbsp; &nbsp; DataRehber.Filtered = False;&nbsp;</div><div>&nbsp; &nbsp; DataRehber.Filter = '';</div><div>&nbsp; }</div><div>&nbsp; else&nbsp;</div><div>&nbsp; {&nbsp;</div><div>&nbsp; &nbsp; DataRehber.Filter = 'MAIN_TEXT Like ' + Chr(39) + '%' + EdtAramaRehber.Text + '%' + Chr(39);</div><div>&nbsp; &nbsp; DataRehber.Filtered = True;&nbsp;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void OnRehberSec;</div><div>var</div><div>&nbsp; SecilenDeger: String;</div><div>{&nbsp;</div><div>&nbsp; SecilenDeger = LsvRehber.clSelectedItemData(clCaption);</div><div>&nbsp; if (GlobalLookupType == 'BELGE')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtBelgeNo.Text = SecilenDeger;</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'MAKINE')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtMakineKodu.Text = SecilenDeger;</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'BAKIM')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtBakimKodu.Text = SecilenDeger;</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'BAGLANTI')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtBaglanti.Text = SecilenDeger;</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'CARI')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtCariKodu.Text = SecilenDeger;</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'FILTRE_KOD')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtFiltreStokKodu.Text = SecilenDeger;</div><div>&nbsp; }</div><div>&nbsp; RehberForm.Close;</div><div>}</div><div><br></div><div>void BuildRehberForm;</div><div>var&nbsp;</div><div>&nbsp; RehberDP: TclProListViewDesignerPanel;&nbsp;</div><div>&nbsp; RehberLblMain: TclProLabel;</div><div>&nbsp; RehberLblSub: TclProLabel;</div><div>&nbsp; NS: String;</div><div>{</div><div>&nbsp; gCounter = gCounter + 1;</div><div>&nbsp; NS = IntToStr(gCounter);</div><div><br></div><div>&nbsp; RehberForm = TclForm.Create(Self);&nbsp;</div><div>&nbsp; RehberForm.SetFormColor(ThemeKoyuRenk, ThemeAcikRenk, clGVertical);</div><div>&nbsp;&nbsp;</div><div>&nbsp; EdtAramaRehber = RehberForm.AddNewProEdit(RehberForm, 'EdtAramaRehber' + NS, 'Ara...');&nbsp;</div><div>&nbsp; EdtAramaRehber.Align = alTop;</div><div>&nbsp; EdtAramaRehber.Margins.Top = 10;</div><div>&nbsp; EdtAramaRehber.Margins.Left = 10;</div><div>&nbsp; EdtAramaRehber.Margins.Right = 10;</div><div>&nbsp; EdtAramaRehber.Height = 40;</div><div>&nbsp; EdtAramaRehber.clProSettings.FontSize = 14;</div><div>&nbsp; RehberForm.AddNewEvent(EdtAramaRehber, tbeOnChange, 'OnRehberArama');</div><div><br></div><div>&nbsp; LsvRehber = RehberForm.AddNewProListView(RehberForm, 'LsvRehber' + NS);&nbsp;</div><div>&nbsp; LsvRehber.Align = alClient;</div><div>&nbsp; LsvRehber.Margins.Top = 10;</div><div>&nbsp; LsvRehber.ListType = 'vertical';</div><div>&nbsp; LsvRehber.clProSettings.ItemHeight = 65;</div><div>&nbsp; LsvRehber.clProSettings.ItemSpace = 5;</div><div>&nbsp; LsvRehber.clProSettings.ColCount = 1;</div><div>&nbsp; LsvRehber.clProSettings.ViewType = lvIcon;</div><div>&nbsp; LsvRehber.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; LsvRehber.SetclProSettings(LsvRehber.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; RehberDP = RehberForm.AddNewProListViewDesignerPanel(LsvRehber, 'RehberDP' + NS);</div><div>&nbsp; RehberDP.Align = alTop;</div><div>&nbsp; RehberDP.Height = 60;</div><div>&nbsp; RehberDP.Width = 350;</div><div>&nbsp; RehberDP.clProSettings.BackgroundColor = clAlphaColor.clWhite;</div><div>&nbsp; RehberDP.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeBorderColor);</div><div>&nbsp; RehberDP.clProSettings.BorderWidth = 1;</div><div>&nbsp; RehberDP.clProSettings.IsRound = True;</div><div>&nbsp; RehberDP.clProSettings.RoundHeight = 8;</div><div>&nbsp; RehberDP.clProSettings.RoundWidth = 8;</div><div>&nbsp; RehberDP.SetclProSettings(RehberDP.clProSettings);</div><div><br></div><div>&nbsp; RehberLblMain = RehberForm.AddNewProLabel(RehberDP, 'RehberLblMain_' + NS, '');</div><div>&nbsp; RehberLblMain.Align = alTop;</div><div>&nbsp; RehberLblMain.Height = 25;</div><div>&nbsp; RehberLblMain.Margins.Left = 10;</div><div>&nbsp; RehberLblMain.Margins.Top = 5;</div><div>&nbsp; RehberLblMain.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor);</div><div>&nbsp; RehberLblMain.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; RehberLblMain.clProSettings.FontSize = UiFontSize;</div><div>&nbsp; RehberLblMain.SetclProSettings(RehberLblMain.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; RehberLblSub = RehberForm.AddNewProLabel(RehberDP, 'RehberLblSub_' + NS, '');</div><div>&nbsp; RehberLblSub.Align = alTop;</div><div>&nbsp; RehberLblSub.Height = 25;</div><div>&nbsp; RehberLblSub.Margins.Left = 10;</div><div>&nbsp; RehberLblSub.clProSettings.FontColor = clAlphaColor.clHexToColor('#64748B');</div><div>&nbsp; RehberLblSub.clProSettings.FontSize = UiFontSize - 2;</div><div>&nbsp; RehberLblSub.SetclProSettings(RehberLblSub.clProSettings);</div><div><br></div><div>&nbsp; RehberDP.AddPanelObject(RehberLblMain, clCaption);</div><div>&nbsp; RehberDP.AddPanelObject(RehberLblSub, clText);</div><div>&nbsp; LsvRehber.SetDesignerPanel(RehberDP);</div><div>&nbsp; RehberForm.AddNewEvent(LsvRehber, tbeOnItemClick, 'OnRehberSec');</div><div>}</div><div><br></div><div>void OpenRehber;</div><div>var&nbsp;</div><div>&nbsp; JsonStr: String;</div><div>&nbsp; q: TclSQLQuery;</div><div>{</div><div>&nbsp; Clomosy.DBSQLServerConnect('SQL Server','192.168.1.39','sa','1','ATIKER_YAZILIM',50000);</div><div>&nbsp; BuildRehberForm;</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (GlobalLookupType == 'FILTRE_KOD')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = 'Stok Kodu Seç...';</div><div>&nbsp; &nbsp; JsonStr = '&#091;';</div><div>&nbsp; &nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SELECT TOP 100 STOK_KODU AS KOD, REPLACE(REPLACE(STOK_ADI, CHAR(34), ''''), CHAR(92), '''') AS ADI FROM &#091;PRG_VIEW_STREHBER&#093; WITH(NOLOCK) WHERE ISNULL(PASIF_KART,0)=0 ORDER BY STOK_KODU COLLATE SQL_Latin1_General_CP1_CI_AS ASC';</div><div>&nbsp; &nbsp; &nbsp; q.Open;</div><div>&nbsp; &nbsp; &nbsp; while (not q.Eof)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + q.FieldByName('KOD').AsString + '", ' + '"SUB_TEXT":"' + q.FieldByName('ADI').AsString + '"}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; }</div><div>&nbsp; &nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'BELGE')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = GetText('ARA_BELGE');</div><div>&nbsp; &nbsp; JsonStr = '&#091;';</div><div>&nbsp; &nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'SELECT * FROM (SELECT TOP 100 PERCENT BELGE_NO,TARIH,MAKINE_KODU, REPLACE(REPLACE(MAKINE_ADI, CHAR(34), ''''), CHAR(92), '''') AS MAKINE_ADI,BAKIM_KODU,BAKIM_ACIKLAMA,BAS_TAR,BAS_SAAT,BIT_TAR,BIT_SAAT ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'FROM &#091;TBLURTBAKIMHR&#093; WITH (NOLOCK) ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'INNER JOIN &#091;TBLURTMAKINESB&#093; WITH (NOLOCK) ON MAKINE_KODU_RECID = TBLURTMAKINESB.REC_NO ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'INNER JOIN &#091;TBLURTBAKIMSB&#093; WITH (NOLOCK) ON BAKIM_KODU_RECID = TBLURTBAKIMSB.REC_NO) AS REHBERSQL ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'ORDER BY BELGE_NO COLLATE SQL_Latin1_General_CP1_CI_AS ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</div><div>&nbsp; &nbsp; &nbsp; q.Open;</div><div>&nbsp; &nbsp; &nbsp; while (not q.Eof)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + q.FieldByName('BELGE_NO').AsString + '", ' + '"SUB_TEXT":"Makine: ' + q.FieldByName('MAKINE_KODU').AsString + ' - ' + q.FieldByName('MAKINE_ADI').AsString + '"}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; }</div><div>&nbsp; &nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'MAKINE')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = GetText('ARA_MAKINE');</div><div>&nbsp; &nbsp; JsonStr = '&#091;';</div><div>&nbsp; &nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'SELECT * FROM (SELECT TOP 100 PERCENT MAKINE_KODU, REPLACE(REPLACE(MAKINE_ADI, CHAR(34), ''''), CHAR(92), '''') AS MAKINE_ADI FROM &#091;TBLURTMAKINESB&#093; WITH (NOLOCK) ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'WHERE REC_NO IN (SELECT MAKINE_RECID FROM &#091;TBLURTMAKINEKULLANICI&#093; WITH (NOLOCK) WHERE KULLANICI_NO=1) ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'AND ISNULL(PASIF_KART,0) = 0 ) AS REHBERSQL ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'ORDER BY MAKINE_KODU SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</div><div>&nbsp; &nbsp; &nbsp; q.Open;</div><div>&nbsp; &nbsp; &nbsp; while (not q.Eof)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + q.FieldByName('MAKINE_KODU').AsString + '", ' + '"SUB_TEXT":"' + q.FieldByName('MAKINE_ADI').AsString + '"}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; }</div><div>&nbsp; &nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'BAKIM')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = GetText('ARA_BAKIM');</div><div>&nbsp; &nbsp; JsonStr = '&#091;';</div><div>&nbsp; &nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'SELECT * FROM (SELECT TOP 100 PERCENT BAKIM_KODU, REPLACE(REPLACE(BAKIM_ACIKLAMA, CHAR(34), ''''), CHAR(92), '''') AS BAKIM_ACIKLAMA ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'FROM &#091;TBLURTBAKIMSB&#093; WITH (NOLOCK) ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'WHERE BAKIMTIP IS NULL AND BAKIM_TURU IS NULL) AS REHBERSQL ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'ORDER BY BAKIM_KODU ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</div><div>&nbsp; &nbsp; &nbsp; q.Open;</div><div>&nbsp; &nbsp; &nbsp; while (not q.Eof)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + q.FieldByName('BAKIM_KODU').AsString + '", ' + '"SUB_TEXT":"' + q.FieldByName('BAKIM_ACIKLAMA').AsString + '"}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; }</div><div>&nbsp; &nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'BAGLANTI')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = GetText('ARA_BAGLANTI');</div><div>&nbsp; &nbsp; JsonStr = '&#091;';</div><div>&nbsp; &nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'SELECT * FROM (SELECT TOP 100 PERCENT TARIH FROM PrgFn_MakBakTakvimOlustur (''04.13.2026'',''0'', 12,''G'',1) ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'WHERE CONVERT(VARCHAR,TARIH,104) NOT IN (SELECT ISNULL(BAKIM_BAGLANTI_ALAN,'''') FROM &#091;TBLURTBAKIMHR&#093; WITH (NOLOCK) ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'WHERE BAKIM_KODU_RECID= 7 AND MAKINE_KODU_RECID=1 AND PERIYOT_TIPI=2 AND BAKIM_BAGLANTI_ALAN&lt;&gt;''16.04.2026'') ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;') AS REHBERSQL ORDER BY TARIH ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</div><div>&nbsp; &nbsp; &nbsp; q.Open;</div><div>&nbsp; &nbsp; &nbsp; while (not q.Eof)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + q.FieldByName('TARIH').AsString + '", ' + '"SUB_TEXT":""}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; }</div><div>&nbsp; &nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'CARI')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = GetText('ARA_CARI');</div><div>&nbsp; &nbsp; JsonStr = '&#091;';</div><div>&nbsp; &nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'SELECT * FROM (SELECT TOP 100 PERCENT CARI_KODU, REPLACE(REPLACE(CARI_ADI, CHAR(34), ''''), CHAR(92), '''') AS CARI_ADI FROM &#091;TBLCARISB&#093; WITH (NOLOCK) ) AS REHBERSQL ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'ORDER BY CARI_KODU COLLATE SQL_Latin1_General_CP1_CI_AS ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</div><div>&nbsp; &nbsp; &nbsp; q.Open;</div><div>&nbsp; &nbsp; &nbsp; while (not q.Eof)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + q.FieldByName('CARI_KODU').AsString + '", ' + '"SUB_TEXT":"' + q.FieldByName('CARI_ADI').AsString + '"}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; }</div><div>&nbsp; &nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div>&nbsp; DataRehber = Clomosy.ClDataSetFromJSON(JsonStr);</div><div>&nbsp; LsvRehber.clLoadProListViewDataFromDataset(DataRehber);</div><div>&nbsp; RehberForm.Run;</div><div>}</div><div><br></div><div>void BtnRehberBelgeClick; { GlobalLookupType = 'BELGE'; OpenRehber; }</div><div>void BtnBakimKoduRehberClick; { GlobalLookupType = 'BAKIM'; OpenRehber; }</div><div>void BtnMakineKoduRehberClick; { GlobalLookupType = 'MAKINE'; OpenRehber; }</div><div>void BtnBaglantiRehberClick; { GlobalLookupType = 'BAGLANTI'; OpenRehber; }</div><div>void BtnCariKoduRehberClick; { GlobalLookupType = 'CARI'; OpenRehber; }</div><div>void BtnKodRehberClick; { GlobalLookupType = 'FILTRE_KOD'; OpenRehber; }</div><div><br></div><div>void OnFiltreKisitSecildi;</div><div>{</div><div>&nbsp; SecilenStokKodu = LsvKisitUyanlar.clSelectedItemData(clCaption);</div><div>&nbsp; SecilenStokAdi = LsvKisitUyanlar.clSelectedItemData(clText);</div><div>&nbsp; EdtBilesenMiktar.Text = '1';</div><div>}</div><div><br></div><div>void FormBilesenEkleClick;</div><div>var&nbsp;</div><div>&nbsp; YeniBilesen: String;</div><div>{</div><div>&nbsp; if (SecilenStokKodu == '') { ShowMessage('Lütfen önce yukarıdaki listeden bir stok seçiniz!'); Exit; }</div><div>&nbsp; if (EdtBilesenMiktar.Text == '') { ShowMessage('Lütfen eklenecek miktarı giriniz!'); Exit; }</div><div>&nbsp; if (JsonEkleneceklerHavuzu &lt;&gt; '') { JsonEkleneceklerHavuzu = JsonEkleneceklerHavuzu + ','; }</div><div>&nbsp; YeniBilesen = '{"MAIN_TEXT":"' + SecilenStokKodu + '", "SUB_TEXT":"' + SecilenStokAdi + '", "TEXT1":"' + EdtBilesenMiktar.Text + '", "TEXT2":"Adet", "TEXT3":"0.00", "TEXT4":"0.00"}';</div><div>&nbsp; JsonEkleneceklerHavuzu = JsonEkleneceklerHavuzu + YeniBilesen;</div><div>&nbsp; LsvEklenecekler.clLoadProListViewDataFromDataset(Clomosy.ClDataSetFromJSON('&#091;' + JsonEkleneceklerHavuzu + '&#093;'));</div><div>&nbsp; SecilenStokKodu = '';</div><div>&nbsp; SecilenStokAdi = '';</div><div>&nbsp; EdtBilesenMiktar.Text = '';</div><div>}</div><div><br></div><div>void FormAktarClick;</div><div>var&nbsp;</div><div>&nbsp; AnaHavuz: String;</div><div>{</div><div>&nbsp; if (JsonEkleneceklerHavuzu == '') { ShowMessage('Aktarılacak bileşen bulunamadı.'); Exit; }</div><div>&nbsp; AnaHavuz = Trim(MyJsonItems);</div><div>&nbsp; if ((AnaHavuz == '') || (AnaHavuz == '&#091;&#093;'))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; &nbsp;AnaHavuz = '&#091;' + JsonEkleneceklerHavuzu + '&#093;';</div><div>&nbsp; }</div><div>&nbsp; else</div><div>&nbsp; {</div><div>&nbsp; &nbsp; &nbsp;AnaHavuz = Copy(AnaHavuz, 1, Length(AnaHavuz) - 1) + ',' + JsonEkleneceklerHavuzu + '&#093;';</div><div>&nbsp; }</div><div>&nbsp; MyJsonItems = AnaHavuz;</div><div>&nbsp; GridGuncelle;</div><div>&nbsp; ShowMessage('Malzemeler tabloya başarıyla aktarıldı!');</div><div>&nbsp; StokFiltreForm.Close;</div><div>&nbsp; ScrollForm.ScrollTo(0, 10000);&nbsp;</div><div>&nbsp; ScrollForm.ScrollTo(0, -1100);&nbsp;</div><div>}</div><div><br></div><div>void FormFiltreAraClick;</div><div>var</div><div>&nbsp; q: TclSQLQuery;</div><div>&nbsp; JsonStr: String;</div><div>&nbsp; FStr: String;</div><div>&nbsp; SearchKodu: String;</div><div>{</div><div>&nbsp; SearchKodu = EdtFiltreStokKodu.Text;</div><div>&nbsp; if (SearchKodu == 'Stok Kodu Ara...') { SearchKodu = ''; }</div><div>&nbsp; FStr = '1=1 AND ISNULL(PASIF_KART,0)=0';</div><div>&nbsp; if (SearchKodu &lt;&gt; '') { FStr = FStr + ' AND STOK_KODU LIKE ''%' + SearchKodu + '%'''; }</div><div>&nbsp; JsonStr = '&#091;';</div><div>&nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; try</div><div>&nbsp; &nbsp; Clomosy.DBSQLServerConnect('SQL Server','192.168.1.39','sa','1','ATIKER_YAZILIM',50000);</div><div>&nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; q.SQL.Text = 'SELECT TOP 100 STOK_KODU, REPLACE(REPLACE(STOK_ADI, CHAR(34), ''''), CHAR(92), '''') AS STOK_ADI FROM &#091;PRG_VIEW_STREHBER&#093; WITH (NOLOCK) WHERE ' + FStr + ' ORDER BY STOK_KODU COLLATE SQL_Latin1_General_CP1_CI_AS ASC';</div><div>&nbsp; &nbsp; q.Open;</div><div>&nbsp; &nbsp; while (not q.Eof)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; if (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + q.FieldByName('STOK_KODU').AsString + '", ' + '"SUB_TEXT":"' + q.FieldByName('STOK_ADI').AsString + '"}';</div><div>&nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; finally</div><div>&nbsp; &nbsp; q.Free;</div><div>&nbsp; }</div><div>&nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayıt Bulunamadı", "SUB_TEXT":"Kriterlere uygun stok yok."}&#093;'; }</div><div>&nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; LsvKisitUyanlar.clLoadProListViewDataFromDataset(Clomosy.ClDataSetFromJSON(JsonStr));</div><div>}</div><div><br></div><div>void BuildStokFiltreForm;</div><div>var</div><div>&nbsp; NS: String;</div><div>{</div><div>&nbsp; gCounter = gCounter + 1;</div><div>&nbsp; NS = IntToStr(gCounter);</div><div>&nbsp; JsonEkleneceklerHavuzu = '';&nbsp;</div><div>&nbsp; SecilenStokKodu = '';&nbsp;</div><div>&nbsp; SecilenStokAdi = '';</div><div><br></div><div>&nbsp; StokFiltreForm = TclForm.Create(Self);&nbsp;</div><div>&nbsp; StokFiltreForm.SetFormColor(ThemeBgColor, ThemeBgColor, clGVertical);</div><div><br></div><div>&nbsp; PnlFiltreSag = StokFiltreForm.AddNewProPanel(StokFiltreForm, 'PnlFiltreSag' + NS);&nbsp;</div><div>&nbsp; PnlFiltreSag.Align = alClient;</div><div><br></div><div>&nbsp; PnlFiltreSagUst = StokFiltreForm.AddNewProPanel(PnlFiltreSag, 'PnlFiltreSagUst' + NS);</div><div>&nbsp; PnlFiltreSagUst.Align = alTop;</div><div>&nbsp; PnlFiltreSagUst.Height = 280;</div><div>&nbsp; PnlFiltreSagUst.Margins.Bottom = 10;</div><div>&nbsp; StyleInputPanel(PnlFiltreSagUst);</div><div><br></div><div>&nbsp; PnlFiltreAramaKutu = StokFiltreForm.AddNewProPanel(PnlFiltreSagUst, 'PnlFiltreAramaKutu' + NS);</div><div>&nbsp; PnlFiltreAramaKutu.Align = alTop;</div><div>&nbsp; PnlFiltreAramaKutu.Height = 65;</div><div>&nbsp; PnlFiltreAramaKutu.Margins.Top = 10;</div><div>&nbsp; PnlFiltreAramaKutu.Margins.Left = 10;</div><div>&nbsp; PnlFiltreAramaKutu.Margins.Right = 10;</div><div>&nbsp; StyleInputPanel(PnlFiltreAramaKutu);</div><div><br></div><div>&nbsp; LblFiltreStokKodu = StokFiltreForm.AddNewProLabel(PnlFiltreAramaKutu, 'LblFiltreStokKodu' + NS, 'Stok Kodu (Rehberden Seçin)');</div><div>&nbsp; LblFiltreStokKodu.Align = alTop;</div><div>&nbsp; LblFiltreStokKodu.Height = 18;</div><div>&nbsp; LblFiltreStokKodu.Margins.Left = 10;</div><div>&nbsp; LblFiltreStokKodu.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(LblFiltreStokKodu);</div><div><br></div><div>&nbsp; BtnFiltreAra = StokFiltreForm.AddNewProButton(PnlFiltreAramaKutu, 'BtnFiltreAra' + NS, 'Listele');</div><div>&nbsp; BtnFiltreAra.Align = alRight;</div><div>&nbsp; BtnFiltreAra.Width = 80;</div><div>&nbsp; BtnFiltreAra.Margins.Right = 10;</div><div>&nbsp; BtnFiltreAra.Margins.Bottom = 7;</div><div>&nbsp; StylePrimaryButton(BtnFiltreAra);</div><div>&nbsp; StokFiltreForm.AddNewEvent(BtnFiltreAra, tbeOnClick, 'FormFiltreAraClick');</div><div><br></div><div>&nbsp; BtnKodRehber = StokFiltreForm.AddNewProButton(PnlFiltreAramaKutu, 'BtnKodRehber' + NS, '&#128269;');</div><div>&nbsp; BtnKodRehber.Align = alRight;</div><div>&nbsp; BtnKodRehber.Width = 45;</div><div>&nbsp; BtnKodRehber.Margins.Right = 5;</div><div>&nbsp; BtnKodRehber.Margins.Bottom = 7;</div><div>&nbsp; StyleActionButton(BtnKodRehber);</div><div>&nbsp; StokFiltreForm.AddNewEvent(BtnKodRehber, tbeOnClick, 'BtnKodRehberClick');</div><div><br></div><div>&nbsp; EdtFiltreStokKodu = StokFiltreForm.AddNewProEdit(PnlFiltreAramaKutu, 'EdtFiltreStokKodu' + NS, '');</div><div>&nbsp; EdtFiltreStokKodu.Align = alClient;</div><div>&nbsp; EdtFiltreStokKodu.Margins.Left = 10;</div><div>&nbsp; EdtFiltreStokKodu.Margins.Right = 5;</div><div>&nbsp; EdtFiltreStokKodu.Margins.Bottom = 7;</div><div>&nbsp; StyleInputEdit(EdtFiltreStokKodu);</div><div><br></div><div>&nbsp; LsvKisitUyanlar = StokFiltreForm.AddNewProListView(PnlFiltreSagUst, 'LsvKisitUyanlar' + NS);&nbsp;</div><div>&nbsp; LsvKisitUyanlar.Align = alClient;</div><div>&nbsp; LsvKisitUyanlar.Margins.Top = 10;</div><div>&nbsp; LsvKisitUyanlar.Margins.Bottom = 10;</div><div>&nbsp; LsvKisitUyanlar.Margins.Left = 10;</div><div>&nbsp; LsvKisitUyanlar.Margins.Right = 10;</div><div>&nbsp; LsvKisitUyanlar.ListType = 'vertical';</div><div>&nbsp; LsvKisitUyanlar.clProSettings.ItemHeight = 60;</div><div>&nbsp; LsvKisitUyanlar.clProSettings.ItemSpace = 5;</div><div>&nbsp; LsvKisitUyanlar.clProSettings.ColCount = 1;</div><div>&nbsp; LsvKisitUyanlar.clProSettings.ViewType = lvIcon;</div><div>&nbsp; LsvKisitUyanlar.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; LsvKisitUyanlar.SetclProSettings(LsvKisitUyanlar.clProSettings);</div><div><br></div><div>&nbsp; LsvKisitDP = StokFiltreForm.AddNewProListViewDesignerPanel(LsvKisitUyanlar, 'LsvKisitDP' + NS);</div><div>&nbsp; LsvKisitDP.Align = alTop;</div><div>&nbsp; LsvKisitDP.Height = 55;</div><div>&nbsp; LsvKisitDP.clProSettings.BackgroundColor = clAlphaColor.clWhite;</div><div>&nbsp; LsvKisitDP.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeBorderColor);</div><div>&nbsp; LsvKisitDP.clProSettings.BorderWidth = 1;</div><div>&nbsp; LsvKisitDP.clProSettings.IsRound = True;</div><div>&nbsp; LsvKisitDP.clProSettings.RoundHeight = 6;</div><div>&nbsp; LsvKisitDP.clProSettings.RoundWidth = 6;</div><div>&nbsp; LsvKisitDP.SetclProSettings(LsvKisitDP.clProSettings);</div><div><br></div><div>&nbsp; LblKisitD1 = StokFiltreForm.AddNewProLabel(LsvKisitDP, 'LblKisitD1_' + NS, '');</div><div>&nbsp; LblKisitD1.Align = alTop;</div><div>&nbsp; LblKisitD1.Height = 22;</div><div>&nbsp; LblKisitD1.Margins.Left = 10;</div><div>&nbsp; LblKisitD1.Margins.Top = 5;</div><div>&nbsp; LblKisitD1.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor);</div><div>&nbsp; LblKisitD1.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; LblKisitD1.clProSettings.FontSize = UiFontSize;</div><div>&nbsp; LblKisitD1.SetclProSettings(LblKisitD1.clProSettings);</div><div><br></div><div>&nbsp; LblKisitD2 = StokFiltreForm.AddNewProLabel(LsvKisitDP, 'LblKisitD2_' + NS, '');</div><div>&nbsp; LblKisitD2.Align = alTop;</div><div>&nbsp; LblKisitD2.Height = 20;</div><div>&nbsp; LblKisitD2.Margins.Left = 10;</div><div>&nbsp; LblKisitD2.clProSettings.FontColor = clAlphaColor.clHexToColor('#64748B');</div><div>&nbsp; LblKisitD2.clProSettings.FontSize = UiFontSize - 2;</div><div>&nbsp; LblKisitD2.SetclProSettings(LblKisitD2.clProSettings);</div><div><br></div><div>&nbsp; LsvKisitDP.AddPanelObject(LblKisitD1, clCaption);</div><div>&nbsp; LsvKisitDP.AddPanelObject(LblKisitD2, clText);</div><div>&nbsp; LsvKisitUyanlar.SetDesignerPanel(LsvKisitDP);</div><div>&nbsp; StokFiltreForm.AddNewEvent(LsvKisitUyanlar, tbeOnItemClick, 'OnFiltreKisitSecildi');</div><div><br></div><div>&nbsp; PnlFiltreSagAlt = StokFiltreForm.AddNewProPanel(PnlFiltreSag, 'PnlFiltreSagAlt' + NS);</div><div>&nbsp; PnlFiltreSagAlt.Align = alClient;</div><div>&nbsp; StyleInputPanel(PnlFiltreSagAlt);</div><div><br></div><div>&nbsp; PnlEklemeKutu = StokFiltreForm.AddNewProPanel(PnlFiltreSagAlt, 'PnlEklemeKutu' + NS);</div><div>&nbsp; PnlEklemeKutu.Align = alTop;</div><div>&nbsp; PnlEklemeKutu.Height = 65;</div><div>&nbsp; PnlEklemeKutu.Margins.Top = 10;</div><div>&nbsp; PnlEklemeKutu.Margins.Left = 10;</div><div>&nbsp; PnlEklemeKutu.Margins.Right = 10;</div><div>&nbsp; StyleInputPanel(PnlEklemeKutu);</div><div><br></div><div>&nbsp; BtnBilesenEkle = StokFiltreForm.AddNewProButton(PnlEklemeKutu, 'BtnBilesenEkle' + NS, 'Ekle');</div><div>&nbsp; BtnBilesenEkle.Align = alRight;</div><div>&nbsp; BtnBilesenEkle.Width = 80;</div><div>&nbsp; BtnBilesenEkle.Margins.Right = 10;</div><div>&nbsp; BtnBilesenEkle.Margins.Bottom = 7;</div><div>&nbsp; StylePrimaryButton(BtnBilesenEkle);</div><div>&nbsp; StokFiltreForm.AddNewEvent(BtnBilesenEkle, tbeOnClick, 'FormBilesenEkleClick');</div><div><br></div><div>&nbsp; EdtBilesenMiktar = StokFiltreForm.AddNewProEdit(PnlEklemeKutu, 'EdtBilesenMiktar' + NS, '');</div><div>&nbsp; EdtBilesenMiktar.Align = alClient;</div><div>&nbsp; EdtBilesenMiktar.TextPrompt = 'Miktar Girin...';</div><div>&nbsp; EdtBilesenMiktar.Margins.Left = 10;</div><div>&nbsp; EdtBilesenMiktar.Margins.Right = 10;</div><div>&nbsp; EdtBilesenMiktar.Margins.Bottom = 7;</div><div>&nbsp; StyleInputEdit(EdtBilesenMiktar);</div><div><br></div><div>&nbsp; LsvEklenecekler = StokFiltreForm.AddNewProListView(PnlFiltreSagAlt, 'LsvEklenecekler' + NS);</div><div>&nbsp; LsvEklenecekler.Align = alClient;</div><div>&nbsp; LsvEklenecekler.Margins.Top = 10;</div><div>&nbsp; LsvEklenecekler.Margins.Bottom = 10;</div><div>&nbsp; LsvEklenecekler.Margins.Left = 10;</div><div>&nbsp; LsvEklenecekler.Margins.Right = 10;</div><div>&nbsp; LsvEklenecekler.ListType = 'vertical';</div><div>&nbsp; LsvEklenecekler.clProSettings.ItemHeight = 65;</div><div>&nbsp; LsvEklenecekler.clProSettings.ItemSpace = 5;</div><div>&nbsp; LsvEklenecekler.clProSettings.ColCount = 1;</div><div>&nbsp; LsvEklenecekler.clProSettings.ViewType = lvIcon;</div><div>&nbsp; LsvEklenecekler.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; LsvEklenecekler.SetclProSettings(LsvEklenecekler.clProSettings);</div><div><br></div><div>&nbsp; LsvEklenecekDP = StokFiltreForm.AddNewProListViewDesignerPanel(LsvEklenecekler, 'LsvEklenecekDP' + NS);</div><div>&nbsp; LsvEklenecekDP.Align = alTop;</div><div>&nbsp; LsvEklenecekDP.Height = 60;</div><div>&nbsp; LsvEklenecekDP.clProSettings.BackgroundColor = clAlphaColor.clWhite;</div><div>&nbsp; LsvEklenecekDP.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeBorderColor);</div><div>&nbsp; LsvEklenecekDP.clProSettings.BorderWidth = 1;</div><div>&nbsp; LsvEklenecekDP.clProSettings.IsRound = True;</div><div>&nbsp; LsvEklenecekDP.clProSettings.RoundHeight = 6;</div><div>&nbsp; LsvEklenecekDP.clProSettings.RoundWidth = 6;</div><div>&nbsp; LsvEklenecekDP.SetclProSettings(LsvEklenecekDP.clProSettings);</div><div><br></div><div>&nbsp; LblEkleD1 = StokFiltreForm.AddNewProLabel(LsvEklenecekDP, 'LblEkleD1_' + NS, '');</div><div>&nbsp; LblEkleD1.Align = alTop;</div><div>&nbsp; LblEkleD1.Height = 22;</div><div>&nbsp; LblEkleD1.Margins.Left = 10;</div><div>&nbsp; LblEkleD1.Margins.Top = 5;</div><div>&nbsp; LblEkleD1.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor);</div><div>&nbsp; LblEkleD1.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; LblEkleD1.clProSettings.FontSize = UiFontSize;</div><div>&nbsp; LblEkleD1.SetclProSettings(LblEkleD1.clProSettings);</div><div><br></div><div>&nbsp; LblEkleD2 = StokFiltreForm.AddNewProLabel(LsvEklenecekDP, 'LblEkleD2_' + NS, '');</div><div>&nbsp; LblEkleD2.Align = alTop;</div><div>&nbsp; LblEkleD2.Height = 20;</div><div>&nbsp; LblEkleD2.Margins.Left = 10;</div><div>&nbsp; LblEkleD2.clProSettings.FontColor = clAlphaColor.clHexToColor('#64748B');</div><div>&nbsp; LblEkleD2.clProSettings.FontSize = UiFontSize - 2;</div><div>&nbsp; LblEkleD2.SetclProSettings(LblEkleD2.clProSettings);</div><div><br></div><div>&nbsp; LblEkleD3 = StokFiltreForm.AddNewProLabel(LsvEklenecekDP, 'LblEkleD3_' + NS, '');</div><div>&nbsp; LblEkleD3.Align = alRight;</div><div>&nbsp; LblEkleD3.Width = 80;</div><div>&nbsp; LblEkleD3.Margins.Right = 10;</div><div>&nbsp; LblEkleD3.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeKoyuRenk);</div><div>&nbsp; LblEkleD3.clProSettings.FontSize = UiFontSize;</div><div>&nbsp; LblEkleD3.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; LblEkleD3.SetclProSettings(LblEkleD3.clProSettings);</div><div><br></div><div>&nbsp; LsvEklenecekDP.AddPanelObject(LblEkleD1, clCaption);</div><div>&nbsp; LsvEklenecekDP.AddPanelObject(LblEkleD2, clText);</div><div>&nbsp; LsvEklenecekDP.AddPanelObject(LblEkleD3, clText2);</div><div>&nbsp; LsvEklenecekler.SetDesignerPanel(LsvEklenecekDP);</div><div><br></div><div>&nbsp; PnlAktarKutu = StokFiltreForm.AddNewProPanel(PnlFiltreSagAlt, 'PnlAktarKutu' + NS);</div><div>&nbsp; PnlAktarKutu.Align = alBottom;</div><div>&nbsp; PnlAktarKutu.Height = 60;</div><div>&nbsp; StyleInputPanel(PnlAktarKutu);</div><div><br></div><div>&nbsp; BtnAktar = StokFiltreForm.AddNewProButton(PnlAktarKutu, 'BtnAktar' + NS, 'Ana Forma Aktar');</div><div>&nbsp; BtnAktar.Align = alClient;</div><div>&nbsp; BtnAktar.Margins.Left = 10;</div><div>&nbsp; BtnAktar.Margins.Right = 10;</div><div>&nbsp; BtnAktar.Margins.Top = 10;</div><div>&nbsp; BtnAktar.Margins.Bottom = 10;</div><div>&nbsp; StylePrimaryButton(BtnAktar);</div><div>&nbsp; StokFiltreForm.AddNewEvent(BtnAktar, tbeOnClick, 'FormAktarClick');</div><div><br></div><div>&nbsp; StokFiltreForm.Run;</div><div>}</div><div><br></div><div>void FormStokEkleClick;</div><div>{</div><div>&nbsp; BuildStokFiltreForm;</div><div>}</div><div><br></div><div>void TakePhotoClick;</div><div>{</div><div>&nbsp; Clomosy.ImageChooser(BakimForm, ImgPhoto);&nbsp;</div><div>}</div><div><br></div><div>void ApplyUiSettings;</div><div>{</div><div>&nbsp; LblNavTitle.Text = GetText('NAV_TITLE');</div><div>&nbsp; BtnYeni.Text = GetText('YENI');</div><div>&nbsp; BtnKaydet.Text = GetText('KAYDET');</div><div>&nbsp; BtnYazdir.Text = GetText('YAZDIR');</div><div>&nbsp;&nbsp;</div><div>&nbsp; LblSect1Title.Text = GetText('SECT1');</div><div>&nbsp; LblGridTitle.Text = GetText('SECT2');</div><div>&nbsp; LblPhotoTitle.Text = GetText('SECT3');</div><div>&nbsp; LblTalimatTitle.Text = GetText('SECT4');</div><div>&nbsp;&nbsp;</div><div>&nbsp; LblBelgeNo.Text = GetText('BELGE_NO');</div><div>&nbsp; LblTarih.Text = GetText('TARIH');</div><div>&nbsp; LblBakimTipi.Text = GetText('BAKIM_TIPI');</div><div>&nbsp; LblBakimTuru.Text = GetText('BAKIM_TURU');</div><div>&nbsp; LblBakimKodu.Text = GetText('BAKIM_KODU');</div><div>&nbsp; LblMakineKodu.Text = GetText('MAKINE_KODU');</div><div>&nbsp; LblBaglanti.Text = GetText('BAGLANTI');</div><div>&nbsp; LblCariKodu.Text = GetText('CARI_KODU');</div><div>&nbsp;&nbsp;</div><div>&nbsp; LblBaslangic.Text = GetText('BASLANGIC');</div><div>&nbsp; LblGirisZamani.Text = GetText('GIRIS_ZAMANI');</div><div>&nbsp; LblPlanlananBitis.Text = GetText('PLANLANAN');</div><div>&nbsp; LblBakimDurumu.Text = GetText('BAKIM_DURUMU');</div><div>&nbsp; LblKisiSayisi.Text = GetText('KISI_SAYISI');</div><div>&nbsp; LblOperatorGrup.Text = GetText('OP_GRUP');</div><div>&nbsp; LblOperator.Text = GetText('OPERATOR');</div><div>&nbsp; LblOperatorBilgisi.Text = GetText('OP_BILGI');</div><div>&nbsp; LblAciklama.Text = GetText('ACIKLAMA');</div><div>&nbsp;&nbsp;</div><div>&nbsp; BtnResimCek.Text = GetText('KAMERA');</div><div>&nbsp; BtnStokEkleAnaForm.Text = GetText('STOK_EKLE');</div><div>&nbsp; BtnOperatorKaydet.Text = GetText('OP_KAYDET');</div><div><br></div><div>&nbsp; CmbPlanlananBitis.Items.Clear;</div><div>&nbsp; if (gAktifDilIndex == 1)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; CmbPlanlananBitis.AddItem('Hourly', 'Saat');</div><div>&nbsp; &nbsp; CmbPlanlananBitis.AddItem('Daily', 'Gün');</div><div>&nbsp; &nbsp; CmbPlanlananBitis.AddItem('Monthly', 'Ay');</div><div>&nbsp; }</div><div>&nbsp; else</div><div>&nbsp; {</div><div>&nbsp; &nbsp; CmbPlanlananBitis.AddItem('Saat', 'Saat');</div><div>&nbsp; &nbsp; CmbPlanlananBitis.AddItem('Gün', 'Gün');</div><div>&nbsp; &nbsp; CmbPlanlananBitis.AddItem('Ay', 'Ay');</div><div>&nbsp; }</div><div><br></div><div>&nbsp; CmbBakimDurumu.Items.Clear;</div><div>&nbsp; CmbBakimDurumu.AddItem(GetText('BAKIM_YAPILDI'), 'Y');</div><div>&nbsp; CmbBakimDurumu.AddItem(GetText('BAKIM_YAPILMADI'), 'N');</div><div><br></div><div>&nbsp; CmbBakimTipi.Items.Clear;</div><div>&nbsp; CmbBakimTipi.AddItem('Rutin', 'Rutin');</div><div>&nbsp; CmbBakimTipi.AddItem('Arıza', 'Arıza');</div><div>&nbsp; CmbBakimTipi.AddItem('Periyodik', 'Periyodik');</div><div><br></div><div>&nbsp; CmbBakimTuru.Items.Clear;</div><div>&nbsp; CmbBakimTuru.AddItem('Mekanik', 'Mekanik');</div><div>&nbsp; CmbBakimTuru.AddItem('Elektrik', 'Elektrik');</div><div>&nbsp; CmbBakimTuru.AddItem('Yazılım', 'Yazılım');</div><div><br></div><div>&nbsp; CmbOperatorGrup.Items.Clear;</div><div>&nbsp; CmbOperatorGrup.AddItem('A Grubu', 'A');</div><div>&nbsp; CmbOperatorGrup.AddItem('B Grubu', 'B');</div><div>&nbsp; CmbOperatorGrup.AddItem('C Grubu', 'C');</div><div><br></div><div>&nbsp; CmbOperator.Items.Clear;</div><div>&nbsp; CmbOperator.AddItem('Ahmet Yılmaz', 'Ahmet');</div><div>&nbsp; CmbOperator.AddItem('Mehmet Demir', 'Mehmet');</div><div>&nbsp; CmbOperator.AddItem('Ali Kaya', 'Ali');</div><div><br></div><div>&nbsp; LblCol1.Text = GetText('GRID_COL1');</div><div>&nbsp; LblCol2.Text = GetText('GRID_COL2');</div><div>&nbsp; LblCol3.Text = GetText('GRID_COL3');</div><div>&nbsp; LblCol4.Text = GetText('GRID_COL4');</div><div>&nbsp; LblCol5.Text = GetText('GRID_COL5');</div><div>&nbsp; LblCol6.Text = GetText('GRID_COL6');</div><div>}</div><div><br></div><div>void DiliVeArayuzuGuncelle;</div><div>{</div><div>&nbsp; AyarlariYukle;</div><div>&nbsp; if (EdtBelgeNo &lt;&gt; nil)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ApplyUiSettings;</div><div>&nbsp; &nbsp; GridGuncelle;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void BtnYeniClick;</div><div>{</div><div>&nbsp; EdtBelgeNo.Text = '';</div><div>&nbsp; EdtBakimKodu.Text = '';</div><div>&nbsp; EdtMakineKodu.Text = '';&nbsp;</div><div>&nbsp; EdtBaglanti.Text = '';</div><div>&nbsp; EdtCariKodu.Text = '';</div><div>&nbsp; CmbPlanlananBitis.ItemIndex = -1;</div><div>&nbsp; CmbBakimTipi.ItemIndex = -1;</div><div>&nbsp; CmbBakimTuru.ItemIndex = -1;</div><div>&nbsp; CmbBakimDurumu.ItemIndex = -1;</div><div>&nbsp; CmbOperatorGrup.ItemIndex = -1;</div><div>&nbsp; CmbOperator.ItemIndex = -1;</div><div>&nbsp; EdtKisiSayisi.Text = '0';</div><div>&nbsp; EdtOperatorBilgisi.Text = '';</div><div>&nbsp; EdtAciklama.Text = '';</div><div>&nbsp; MemTabContent.Text = '';&nbsp;</div><div>&nbsp; SetCurrentDateTime;</div><div>&nbsp; MyJsonItems = '';</div><div>&nbsp; GridGuncelle;</div><div>&nbsp; ShowMessage(GetText('MSG_FORM_TEMIZLENDI'));</div><div>}</div><div><br></div><div>void BtnKaydetClick;</div><div>var</div><div>&nbsp; KayitDosyasi: TclStringList;</div><div>&nbsp; DosyaYolu, YeniKayit, LTarih, LAy, LYil: String;</div><div>{</div><div>&nbsp; if (EdtBelgeNo.Text == '')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage(GetText('MSG_BELGE_NO_GIRIN'));</div><div>&nbsp; &nbsp; Exit;</div><div>&nbsp; }</div><div>&nbsp; if (CmbBakimDurumu.ItemIndex == -1)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage(GetText('MSG_DURUM_SECIN'));</div><div>&nbsp; &nbsp; Exit;</div><div>&nbsp; }</div><div>&nbsp; DosyaYolu = clPathCombine('BakimVerileri.txt', Clomosy.AppFilesPath);</div><div>&nbsp; KayitDosyasi = Clomosy.StringListNew;</div><div>&nbsp; if (clFileExists(DosyaYolu, '')) { KayitDosyasi.LoadFromFile(DosyaYolu, 0); }</div><div>&nbsp; LTarih = DateToStr(Now);</div><div>&nbsp; LAy = Copy(LTarih, 4, 2);</div><div>&nbsp; LYil = Copy(LTarih, 7, 4);</div><div>&nbsp; YeniKayit = 'Bakım|' + EdtBelgeNo.Text + '|' + EdtMakineKodu.Text + '|' + EdtBakimKodu.Text + '|' + LTarih + '|' + CmbBakimDurumu.Text + '|' + LAy + '|' + LYil + '|' + CmbPlanlananBitis.Text;</div><div>&nbsp; KayitDosyasi.Add(YeniKayit);</div><div>&nbsp; KayitDosyasi.SaveToFile(DosyaYolu, 0);</div><div>&nbsp; KayitDosyasi.Free;</div><div>&nbsp; ShowMessage(GetText('MSG_KAYIT_BASARILI'));</div><div>}</div><div><br></div><div>void BtnYazdirClick;</div><div>{</div><div>&nbsp; ShowMessage('Yazdırılıyor: ' + EdtBelgeNo.Text);</div><div>}</div><div><br></div><div>void BtnOperatorKaydetClick;</div><div>{</div><div>&nbsp; if (EdtOperatorBilgisi.Text == '')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage(GetText('MSG_OP_BILGI_GIRIN'));</div><div>&nbsp; &nbsp; Exit;</div><div>&nbsp; }</div><div>&nbsp; if (CmbYeniOperatorGrup.ItemIndex == -1)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage(GetText('MSG_OP_GRUP_SECIN'));</div><div>&nbsp; &nbsp; Exit;</div><div>&nbsp; }</div><div>&nbsp; ShowMessage(GetText('MSG_OP_KAYDEDILDI'));</div><div>&nbsp; EdtOperatorBilgisi.Text = '';</div><div>&nbsp; CmbYeniOperatorGrup.ItemIndex = -1;</div><div>}</div><div><br></div><div>{</div><div>&nbsp; BakimForm = TclForm.Create(Self);</div><div>&nbsp; BakimForm.LytTopBar.Visible = False;</div><div>&nbsp; BakimForm.BtnGoBack.Visible = False;</div><div>&nbsp; BakimForm.BtnFormMenu.Visible = False;</div><div>&nbsp; BakimForm.AddNewEvent(BakimForm, tbeOnVirtualKeyboardShown, 'OnKeyboardShow');</div><div>&nbsp; BakimForm.AddNewEvent(BakimForm, tbeOnVirtualKeyboardHidden, 'OnKeyboardHide');</div><div>&nbsp; BakimForm.AddNewEvent(BakimForm, tbeOnFormActivate, 'DiliVeArayuzuGuncelle');</div><div><br></div><div>&nbsp; UiFontSize = 15;</div><div>&nbsp; OkunanFontAdi = 'Arial';&nbsp;</div><div>&nbsp; gAktifDilIndex = 0;</div><div>&nbsp; gCounter = 0;</div><div>&nbsp;&nbsp;</div><div>&nbsp; AyarlariYukle;</div><div><br></div><div>&nbsp; PnlNavBar = BakimForm.AddNewProPanel(BakimForm, 'PnlNavBar');</div><div>&nbsp; PnlNavBar.Align = alTop;</div><div>&nbsp; PnlNavBar.Height = 92;</div><div>&nbsp; StyleHeaderBar(PnlNavBar);</div><div><br></div><div>&nbsp; BtnGeri = BakimForm.AddNewProButton(PnlNavBar, 'BtnGeri', '&lt;');</div><div>&nbsp; BtnGeri.Align = alLeft;&nbsp;</div><div>&nbsp; BtnGeri.Width = 48;&nbsp;</div><div>&nbsp; BtnGeri.Margins.Top = 40;</div><div>&nbsp; BtnGeri.Margins.Bottom = 0;</div><div>&nbsp; BtnGeri.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; BtnGeri.clProSettings.BorderWidth = 0;&nbsp;</div><div>&nbsp; BtnGeri.clProSettings.IsFill = False;</div><div>&nbsp; BtnGeri.clProSettings.FontSize = 20;&nbsp;</div><div>&nbsp; BtnGeri.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; BtnGeri.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; BtnGeri.SetclProSettings(BtnGeri.clProSettings);</div><div>&nbsp; BakimForm.AddNewEvent(BtnGeri, tbeOnClick, 'GoBack');</div><div><br></div><div>&nbsp; LblNavTitle = BakimForm.AddNewProLabel(PnlNavBar, 'LblNavTitle', '');</div><div>&nbsp; LblNavTitle.Align = alClient;&nbsp;</div><div>&nbsp; LblNavTitle.Margins.Top = 40;</div><div>&nbsp; LblNavTitle.Margins.Left = 10;</div><div>&nbsp; LblNavTitle.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; LblNavTitle.clProSettings.FontSize = UiFontSize + 4;</div><div>&nbsp; LblNavTitle.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; LblNavTitle.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; LblNavTitle.SetclProSettings(LblNavTitle.clProSettings);</div><div><br></div><div>&nbsp; PnlHeaderTop = BakimForm.AddNewProPanel(BakimForm, 'PnlHeaderTop');</div><div>&nbsp; PnlHeaderTop.Align = alTop;</div><div>&nbsp; PnlHeaderTop.Height = 55;</div><div>&nbsp; StyleHeaderBar(PnlHeaderTop);</div><div><br></div><div>&nbsp; BtnYeni = BakimForm.AddNewProButton(PnlHeaderTop, 'BtnYeni', '');</div><div>&nbsp; BtnYeni.Align = alLeft;&nbsp;</div><div>&nbsp; BtnYeni.Width = 90;&nbsp;</div><div>&nbsp; BtnYeni.Margins.Left = 15;&nbsp;</div><div>&nbsp; BtnYeni.Margins.Top = 10;&nbsp;</div><div>&nbsp; BtnYeni.Margins.Bottom = 10;</div><div>&nbsp; StyleTopBtnYeni(BtnYeni);</div><div>&nbsp; BakimForm.AddNewEvent(BtnYeni, tbeOnClick, 'BtnYeniClick');</div><div><br></div><div>&nbsp; BtnKaydet = BakimForm.AddNewProButton(PnlHeaderTop, 'BtnKaydet', '');</div><div>&nbsp; BtnKaydet.Align = alLeft;&nbsp;</div><div>&nbsp; BtnKaydet.Width = 90;&nbsp;</div><div>&nbsp; BtnKaydet.Margins.Left = 10;&nbsp;</div><div>&nbsp; BtnKaydet.Margins.Top = 10;&nbsp;</div><div>&nbsp; BtnKaydet.Margins.Bottom = 10;</div><div>&nbsp; StyleTopBtnKaydet(BtnKaydet);</div><div>&nbsp; BakimForm.AddNewEvent(BtnKaydet, tbeOnClick, 'BtnKaydetClick');</div><div><br></div><div>&nbsp; BtnYazdir = BakimForm.AddNewProButton(PnlHeaderTop, 'BtnYazdir', '');</div><div>&nbsp; BtnYazdir.Align = alLeft;&nbsp;</div><div>&nbsp; BtnYazdir.Width = 90;&nbsp;</div><div>&nbsp; BtnYazdir.Margins.Left = 10;&nbsp;</div><div>&nbsp; BtnYazdir.Margins.Top = 10;&nbsp;</div><div>&nbsp; BtnYazdir.Margins.Bottom = 10;</div><div>&nbsp; StyleTopBtnYazdir(BtnYazdir);</div><div>&nbsp; BakimForm.AddNewEvent(BtnYazdir, tbeOnClick, 'BtnYazdirClick');</div><div><br></div><div>&nbsp; ScrollForm = BakimForm.AddNewVertScrollBox(BakimForm, 'ScrollForm');</div><div>&nbsp; ScrollForm.Align = alClient;</div><div><br></div><div>&nbsp; PnlMainCard = BakimForm.AddNewProPanel(ScrollForm, 'PnlMainCard');</div><div>&nbsp; PnlMainCard.Align = alTop;</div><div>&nbsp; PnlMainCard.Height = 1600;</div><div>&nbsp; PnlMainCard.Margins.Top = 10;</div><div>&nbsp; PnlMainCard.Margins.Bottom = 20;</div><div>&nbsp; PnlMainCard.Margins.Left = 10;</div><div>&nbsp; PnlMainCard.Margins.Right = 10;</div><div>&nbsp; StyleMainCard(PnlMainCard);</div><div><br></div><div>&nbsp; LblSect1Title = BakimForm.AddNewProLabel(PnlMainCard, 'LblSect1Title', '');</div><div>&nbsp; LblSect1Title.Align = alTop;</div><div>&nbsp; LblSect1Title.Height = 35;</div><div>&nbsp; LblSect1Title.Margins.Left = 15;</div><div>&nbsp; LblSect1Title.Margins.Top = 15;</div><div>&nbsp; StyleSectionTitle(LblSect1Title);</div><div><br></div><div>&nbsp; GrpBelgeNo = BakimForm.AddNewProPanel(PnlMainCard, 'GrpBelgeNo');</div><div>&nbsp; GrpBelgeNo.Align = alTop;</div><div>&nbsp; GrpBelgeNo.Height = 65;</div><div>&nbsp; GrpBelgeNo.Margins.Top = 10;</div><div>&nbsp; GrpBelgeNo.Margins.Left = 15;</div><div>&nbsp; GrpBelgeNo.Margins.Right = 15;</div><div>&nbsp; StyleInputPanel(GrpBelgeNo);</div><div><br></div><div>&nbsp; LblBelgeNo = BakimForm.AddNewProLabel(GrpBelgeNo, 'LblBelgeNo', '');</div><div>&nbsp; LblBelgeNo.Align = alTop;</div><div>&nbsp; LblBelgeNo.Height = 18;</div><div>&nbsp; LblBelgeNo.Margins.Left = 10;</div><div>&nbsp; LblBelgeNo.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(LblBelgeNo);</div><div><br></div><div>&nbsp; BtnRehberAc = BakimForm.AddNewProButton(GrpBelgeNo, 'BtnRehberAc', '&#128269;');</div><div>&nbsp; BtnRehberAc.Align = alRight;</div><div>&nbsp; BtnRehberAc.Width = 45;</div><div>&nbsp; BtnRehberAc.Margins.Right = 10;</div><div>&nbsp; BtnRehberAc.Margins.Bottom = 7;</div><div>&nbsp; StyleActionButton(BtnRehberAc);</div><div>&nbsp; BakimForm.AddNewEvent(BtnRehberAc, tbeOnClick, 'BtnRehberBelgeClick');</div><div><br></div><div>&nbsp; EdtBelgeNo = BakimForm.AddNewProEdit(GrpBelgeNo, 'EdtBelgeNo', '');</div><div>&nbsp; EdtBelgeNo.Align = alClient;</div><div>&nbsp; EdtBelgeNo.Margins.Left = 10;</div><div>&nbsp; EdtBelgeNo.Margins.Right = 5;</div><div>&nbsp; EdtBelgeNo.Margins.Bottom = 7;</div><div>&nbsp; StyleReadonlyEdit(EdtBelgeNo);</div><div><br></div><div>&nbsp; GrpTarih = BakimForm.AddNewProPanel(PnlMainCard, 'GrpTarih');</div><div>&nbsp; GrpTarih.Align = alTop;</div><div>&nbsp; GrpTarih.Height = 65;</div><div>&nbsp; GrpTarih.Margins.Top = 10;</div><div>&nbsp; GrpTarih.Margins.Left = 15;</div><div>&nbsp; GrpTarih.Margins.Right = 15;</div><div>&nbsp; StyleInputPanel(GrpTarih);</div><div><br></div><div>&nbsp; LblTarih = BakimForm.AddNewProLabel(GrpTarih, 'LblTarih', '');</div><div>&nbsp; LblTarih.Align = alTop;</div><div>&nbsp; LblTarih.Height = 18;</div><div>&nbsp; LblTarih.Margins.Left = 10;</div><div>&nbsp; LblTarih.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(LblTarih);</div><div><br></div><div>&nbsp; EdtTarih = BakimForm.AddNewProEdit(GrpTarih, 'EdtTarih', '');</div><div>&nbsp; EdtTarih.Align = alClient;</div><div>&nbsp; EdtTarih.Margins.Left = 10;</div><div>&nbsp; EdtTarih.Margins.Right = 10;</div><div>&nbsp; EdtTarih.Margins.Bottom = 7;</div><div>&nbsp; StyleReadonlyEdit(EdtTarih);</div><div><br></div><div>&nbsp; GrpBakimTipi = BakimForm.AddNewProPanel(PnlMainCard, 'GrpBakimTipi');</div><div>&nbsp; GrpBakimTipi.Align = alTop;</div><div>&nbsp; GrpBakimTipi.Height = 65;</div><div>&nbsp; GrpBakimTipi.Margins.Top = 10;</div><div>&nbsp; GrpBakimTipi.Margins.Left = 15;</div><div>&nbsp; GrpBakimTipi.Margins.Right = 15;</div><div>&nbsp; StyleInputPanel(GrpBakimTipi);</div><div><br></div><div>&nbsp; LblBakimTipi = BakimForm.AddNewProLabel(GrpBakimTipi, 'LblBakimTipi', '');</div><div>&nbsp; LblBakimTipi.Align = alTop;</div><div>&nbsp; LblBakimTipi.Height = 18;</div><div>&nbsp; LblBakimTipi.Margins.Left = 10;</div><div>&nbsp; LblBakimTipi.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(LblBakimTipi);</div><div><br></div><div>&nbsp; CmbBakimTipi = BakimForm.AddNewComboBox(GrpBakimTipi, 'CmbBakimTipi');</div><div>&nbsp; CmbBakimTipi.Align = alClient;</div><div>&nbsp; CmbBakimTipi.Margins.Left = 10;</div><div>&nbsp; CmbBakimTipi.Margins.Right = 10;</div><div>&nbsp; CmbBakimTipi.Margins.Bottom = 7;</div><div><br></div><div>&nbsp; GrpBakimTuru = BakimForm.AddNewProPanel(PnlMainCard, 'GrpBakimTuru');</div><div>&nbsp; GrpBakimTuru.Align = alTop;</div><div>&nbsp; GrpBakimTuru.Height = 65;</div><div>&nbsp; GrpBakimTuru.Margins.Top = 10;</div><div>&nbsp; GrpBakimTuru.Margins.Left = 15;</div><div>&nbsp; GrpBakimTuru.Margins.Right = 15;</div><div>&nbsp; StyleInputPanel(GrpBakimTuru);</div><div><br></div><div>&nbsp; LblBakimTuru = BakimForm.AddNewProLabel(GrpBakimTuru, 'LblBakimTuru', '');</div><div>&nbsp; LblBakimTuru.Align = alTop;</div><div>&nbsp; LblBakimTuru.Height = 18;</div><div>&nbsp; LblBakimTuru.Margins.Left = 10;</div><div>&nbsp; LblBakimTuru.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(LblBakimTuru);</div><div><br></div><div>&nbsp; CmbBakimTuru = BakimForm.AddNewComboBox(GrpBakimTuru, 'CmbBakimTuru');</div><div>&nbsp; CmbBakimTuru.Align = alClient;</div><div>&nbsp; CmbBakimTuru.Margins.Left = 10;</div><div>&nbsp; CmbBakimTuru.Margins.Right = 10;</div><div>&nbsp; CmbBakimTuru.Margins.Bottom = 7;</div><div><br></div><div>&nbsp; GrpBakimKodu = BakimForm.AddNewProPanel(PnlMainCard, 'GrpBakimKodu');</div><div>&nbsp; GrpBakimKodu.Align = alTop;</div><div>&nbsp; GrpBakimKodu.Height = 65;</div><div>&nbsp; GrpBakimKodu.Margins.Top = 10;</div><div>&nbsp; GrpBakimKodu.Margins.Left = 15;</div><div>&nbsp; GrpBakimKodu.Margins.Right = 15;</div><div>&nbsp; StyleInputPanel(GrpBakimKodu);</div><div><br></div><div>&nbsp; LblBakimKodu = BakimForm.AddNewProLabel(GrpBakimKodu, 'LblBakimKodu', '');</div><div>&nbsp; LblBakimKodu.Align = alTop;</div><div>&nbsp; LblBakimKodu.Height = 18;</div><div>&nbsp; LblBakimKodu.Margins.Left = 10;</div><div>&nbsp; LblBakimKodu.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(LblBakimKodu);</div><div><br></div><div>&nbsp; BtnBakimKoduRehber = BakimForm.AddNewProButton(GrpBakimKodu, 'BtnBakimKoduRehber', '&#128269;');</div><div>&nbsp; BtnBakimKoduRehber.Align = alRight;</div><div>&nbsp; BtnBakimKoduRehber.Width = 45;</div><div>&nbsp; BtnBakimKoduRehber.Margins.Right = 10;</div><div>&nbsp; BtnBakimKoduRehber.Margins.Bottom = 7;</div><div>&nbsp; StyleActionButton(BtnBakimKoduRehber);</div><div>&nbsp; BakimForm.AddNewEvent(BtnBakimKoduRehber, tbeOnClick, 'BtnBakimKoduRehberClick');</div><div><br></div><div>&nbsp; EdtBakimKodu = BakimForm.AddNewProEdit(GrpBakimKodu, 'EdtBakimKodu', '');</div><div>&nbsp; EdtBakimKodu.Align = alClient;</div><div>&nbsp; EdtBakimKodu.Margins.Left = 10;</div><div>&nbsp; EdtBakimKodu.Margins.Right = 5;</div><div>&nbsp; EdtBakimKodu.Margins.Bottom = 7;</div><div>&nbsp; StyleReadonlyEdit(EdtBakimKodu);</div><div><br></div><div>&nbsp; GrpMakineKodu = BakimForm.AddNewProPanel(PnlMainCard, 'GrpMakineKodu');</div><div>&nbsp; GrpMakineKodu.Align = alTop;</div><div>&nbsp; GrpMakineKodu.Height = 65;</div><div>&nbsp; GrpMakineKodu.Margins.Top = 10;</div><div>&nbsp; GrpMakineKodu.Margins.Left = 15;</div><div>&nbsp; GrpMakineKodu.Margins.Right = 15;</div><div>&nbsp; StyleInputPanel(GrpMakineKodu);</div><div><br></div><div>&nbsp; LblMakineKodu = BakimForm.AddNewProLabel(GrpMakineKodu, 'LblMakineKodu', '');</div><div>&nbsp; LblMakineKodu.Align = alTop;</div><div>&nbsp; LblMakineKodu.Height = 18;</div><div>&nbsp; LblMakineKodu.Margins.Left = 10;</div><div>&nbsp; LblMakineKodu.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(LblMakineKodu);</div><div><br></div><div>&nbsp; BtnMakineKoduRehber = BakimForm.AddNewProButton(GrpMakineKodu, 'BtnMakineKoduRehber', '&#128269;');</div><div>&nbsp; BtnMakineKoduRehber.Align = alRight;</div><div>&nbsp; BtnMakineKoduRehber.Width = 45;</div><div>&nbsp; BtnMakineKoduRehber.Margins.Right = 10;</div><div>&nbsp; BtnMakineKoduRehber.Margins.Bottom = 7;</div><div>&nbsp; StyleActionButton(BtnMakineKoduRehber);</div><div>&nbsp; BakimForm.AddNewEvent(BtnMakineKoduRehber, tbeOnClick, 'BtnMakineKoduRehberClick');</div><div><br></div><div>&nbsp; EdtMakineKodu = BakimForm.AddNewProEdit(GrpMakineKodu, 'EdtMakineKodu', '');</div><div>&nbsp; EdtMakineKodu.Align = alClient;</div><div>&nbsp; EdtMakineKodu.Margins.Left = 10;</div><div>&nbsp; EdtMakineKodu.Margins.Right = 5;</div><div>&nbsp; EdtMakineKodu.Margins.Bottom = 7;</div><div>&nbsp; StyleReadonlyEdit(EdtMakineKodu);</div><div><br></div><div>&nbsp; GrpBaglanti = BakimForm.AddNewProPanel(PnlMainCard, 'GrpBaglanti');</div><div>&nbsp; GrpBaglanti.Align = alTop;</div><div>&nbsp; GrpBaglanti.Height = 65;</div><div>&nbsp; GrpBaglanti.Margins.Top = 10;</div><div>&nbsp; GrpBaglanti.Margins.Left = 15;</div><div>&nbsp; GrpBaglanti.Margins.Right = 15;</div><div>&nbsp; StyleInputPanel(GrpBaglanti);</div><div><br></div><div>&nbsp; LblBaglanti = BakimForm.AddNewProLabel(GrpBaglanti, 'LblBaglanti', '');</div><div>&nbsp; LblBaglanti.Align = alTop;</div><div>&nbsp; LblBaglanti.Height = 18;</div><div>&nbsp; LblBaglanti.Margins.Left = 10;</div><div>&nbsp; LblBaglanti.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(LblBaglanti);</div><div><br></div><div>&nbsp; BtnBaglantiRehber = BakimForm.AddNewProButton(GrpBaglanti, 'BtnBaglantiRehber', '&#128269;');</div><div>&nbsp; BtnBaglantiRehber.Align = alRight;</div><div>&nbsp; BtnBaglantiRehber.Width = 45;</div><div>&nbsp; BtnBaglantiRehber.Margins.Right = 10;</div><div>&nbsp; BtnBaglantiRehber.Margins.Bottom = 7;</div><div>&nbsp; StyleActionButton(BtnBaglantiRehber);</div><div>&nbsp; BakimForm.AddNewEvent(BtnBaglantiRehber, tbeOnClick, 'BtnBaglantiRehberClick');</div><div><br></div><div>&nbsp; EdtBaglanti = BakimForm.AddNewProEdit(GrpBaglanti, 'EdtBaglanti', '');</div><div>&nbsp; EdtBaglanti.Align = alClient;</div><div>&nbsp; EdtBaglanti.Margins.Left = 10;</div><div>&nbsp; EdtBaglanti.Margins.Right = 5;</div><div>&nbsp; EdtBaglanti.Margins.Bottom = 7;</div><div>&nbsp; StyleReadonlyEdit(EdtBaglanti);</div><div><br></div><div>&nbsp; GrpCariKodu = BakimForm.AddNewProPanel(PnlMainCard, 'GrpCariKodu');</div><div>&nbsp; GrpCariKodu.Align = alTop;</div><div>&nbsp; GrpCariKodu.Height = 65;</div><div>&nbsp; GrpCariKodu.Margins.Top = 10;</div><div>&nbsp; GrpCariKodu.Margins.Left = 15;</div><div>&nbsp; GrpCariKodu.Margins.Right = 15;</div><div>&nbsp; StyleInputPanel(GrpCariKodu);</div><div><br></div><div>&nbsp; LblCariKodu = BakimForm.AddNewProLabel(GrpCariKodu, 'LblCariKodu', '');</div><div>&nbsp; LblCariKodu.Align = alTop;</div><div>&nbsp; LblCariKodu.Height = 18;</div><div>&nbsp; LblCariKodu.Margins.Left = 10;</div><div>&nbsp; LblCariKodu.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(LblCariKodu);</div><div><br></div><div>&nbsp; BtnCariKoduRehber = BakimForm.AddNewProButton(GrpCariKodu, 'BtnCariKoduRehber', '&#128269;');</div><div>&nbsp; BtnCariKoduRehber.Align = alRight;</div><div>&nbsp; BtnCariKoduRehber.Width = 45;</div><div>&nbsp; BtnCariKoduRehber.Margins.Right = 10;</div><div>&nbsp; BtnCariKoduRehber.Margins.Bottom = 7;</div><div>&nbsp; StyleActionButton(BtnCariKoduRehber);</div><div>&nbsp; BakimForm.AddNewEvent(BtnCariKoduRehber, tbeOnClick, 'BtnCariKoduRehberClick');</div><div><br></div><div>&nbsp; EdtCariKodu = BakimForm.AddNewProEdit(GrpCariKodu, 'EdtCariKodu', '');</div><div>&nbsp; EdtCariKodu.Align = alClient;</div><div>&nbsp; EdtCariKodu.Margins.Left = 10;</div><div>&nbsp; EdtCariKodu.Margins.Right = 5;</div><div>&nbsp; EdtCariKodu.Margins.Bottom = 7;</div><div>&nbsp; StyleReadonlyEdit(EdtCariKodu);</div><div><br></div><div>&nbsp; GrpBaslangic = BakimForm.AddNewProPanel(PnlMainCard, 'GrpBaslangic');</div><div>&nbsp; GrpBaslangic.Align = alTop;</div><div>&nbsp; GrpBaslangic.Height = 65;</div><div>&nbsp; GrpBaslangic.Margins.Top = 10;</div><div>&nbsp; GrpBaslangic.Margins.Left = 15;</div><div>&nbsp; GrpBaslangic.Margins.Right = 15;</div><div>&nbsp; StyleInputPanel(GrpBaslangic);</div><div><br></div><div>&nbsp; LblBaslangic = BakimForm.AddNewProLabel(GrpBaslangic, 'LblBaslangic', '');</div><div>&nbsp; LblBaslangic.Align = alTop;</div><div>&nbsp; LblBaslangic.Height = 18;</div><div>&nbsp; LblBaslangic.Margins.Left = 10;</div><div>&nbsp; LblBaslangic.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(LblBaslangic);</div><div><br></div><div>&nbsp; EdtBaslangicSaat = BakimForm.AddNewProEdit(GrpBaslangic, 'EdtBaslangicSaat', '');</div><div>&nbsp; EdtBaslangicSaat.Align = alRight;</div><div>&nbsp; EdtBaslangicSaat.Width = 100;</div><div>&nbsp; EdtBaslangicSaat.Margins.Right = 10;</div><div>&nbsp; EdtBaslangicSaat.Margins.Bottom = 7;</div><div>&nbsp; StyleReadonlyEdit(EdtBaslangicSaat);</div><div><br></div><div>&nbsp; EdtBaslangic = BakimForm.AddNewProEdit(GrpBaslangic, 'EdtBaslangic', '');</div><div>&nbsp; EdtBaslangic.Align = alClient;</div><div>&nbsp; EdtBaslangic.Margins.Left = 10;</div><div>&nbsp; EdtBaslangic.Margins.Right = 5;</div><div>&nbsp; EdtBaslangic.Margins.Bottom = 7;</div><div>&nbsp; StyleReadonlyEdit(EdtBaslangic);</div><div><br></div><div>&nbsp; GrpGirisZamani = BakimForm.AddNewProPanel(PnlMainCard, 'GrpGirisZamani');</div><div>&nbsp; GrpGirisZamani.Align = alTop;</div><div>&nbsp; GrpGirisZamani.Height = 65;</div><div>&nbsp; GrpGirisZamani.Margins.Top = 10;</div><div>&nbsp; GrpGirisZamani.Margins.Left = 15;</div><div>&nbsp; GrpGirisZamani.Margins.Right = 15;</div><div>&nbsp; StyleInputPanel(GrpGirisZamani);</div><div><br></div><div>&nbsp; LblGirisZamani = BakimForm.AddNewProLabel(GrpGirisZamani, 'LblGirisZamani', '');</div><div>&nbsp; LblGirisZamani.Align = alTop;</div><div>&nbsp; LblGirisZamani.Height = 18;</div><div>&nbsp; LblGirisZamani.Margins.Left = 10;</div><div>&nbsp; LblGirisZamani.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(LblGirisZamani);</div><div><br></div><div>&nbsp; EdtGirisZamani = BakimForm.AddNewProEdit(GrpGirisZamani, 'EdtGirisZamani', '');</div><div>&nbsp; EdtGirisZamani.Align = alClient;</div><div>&nbsp; EdtGirisZamani.Margins.Left = 10;</div><div>&nbsp; EdtGirisZamani.Margins.Right = 10;</div><div>&nbsp; EdtGirisZamani.Margins.Bottom = 7;</div><div>&nbsp; StyleReadonlyEdit(EdtGirisZamani);</div><div><br></div><div>&nbsp; GrpPlanlananBitis = BakimForm.AddNewProPanel(PnlMainCard, 'GrpPlanlananBitis');</div><div>&nbsp; GrpPlanlananBitis.Align = alTop;</div><div>&nbsp; GrpPlanlananBitis.Height = 65;</div><div>&nbsp; GrpPlanlananBitis.Margins.Top = 10;</div><div>&nbsp; GrpPlanlananBitis.Margins.Left = 15;</div><div>&nbsp; GrpPlanlananBitis.Margins.Right = 15;</div><div>&nbsp; StyleInputPanel(GrpPlanlananBitis);</div><div><br></div><div>&nbsp; LblPlanlananBitis = BakimForm.AddNewProLabel(GrpPlanlananBitis, 'LblPlanlananBitis', '');</div><div>&nbsp; LblPlanlananBitis.Align = alTop;</div><div>&nbsp; LblPlanlananBitis.Height = 18;</div><div>&nbsp; LblPlanlananBitis.Margins.Left = 10;</div><div>&nbsp; LblPlanlananBitis.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(LblPlanlananBitis);</div><div><br></div><div>&nbsp; CmbPlanlananBitis = BakimForm.AddNewComboBox(GrpPlanlananBitis, 'CmbPlanlananBitis');</div><div>&nbsp; CmbPlanlananBitis.Align = alClient;</div><div>&nbsp; CmbPlanlananBitis.Margins.Left = 10;</div><div>&nbsp; CmbPlanlananBitis.Margins.Right = 10;</div><div>&nbsp; CmbPlanlananBitis.Margins.Bottom = 7;</div><div><br></div><div>&nbsp; GrpBakimDurumu = BakimForm.AddNewProPanel(PnlMainCard, 'GrpBakimDurumu');</div><div>&nbsp; GrpBakimDurumu.Align = alTop;</div><div>&nbsp; GrpBakimDurumu.Height = 65;</div><div>&nbsp; GrpBakimDurumu.Margins.Top = 10;</div><div>&nbsp; GrpBakimDurumu.Margins.Left = 15;</div><div>&nbsp; GrpBakimDurumu.Margins.Right = 15;</div><div>&nbsp; StyleInputPanel(GrpBakimDurumu);</div><div><br></div><div>&nbsp; LblBakimDurumu = BakimForm.AddNewProLabel(GrpBakimDurumu, 'LblBakimDurumu', '');</div><div>&nbsp; LblBakimDurumu.Align = alTop;</div><div>&nbsp; LblBakimDurumu.Height = 18;</div><div>&nbsp; LblBakimDurumu.Margins.Left = 10;</div><div>&nbsp; LblBakimDurumu.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(LblBakimDurumu);</div><div><br></div><div>&nbsp; CmbBakimDurumu = BakimForm.AddNewComboBox(GrpBakimDurumu, 'CmbBakimDurumu');</div><div>&nbsp; CmbBakimDurumu.Align = alClient;</div><div>&nbsp; CmbBakimDurumu.Margins.Left = 10;</div><div>&nbsp; CmbBakimDurumu.Margins.Right = 10;</div><div>&nbsp; CmbBakimDurumu.Margins.Bottom = 7;</div><div><br></div><div>&nbsp; GrpKisiSayisi = BakimForm.AddNewProPanel(PnlMainCard, 'GrpKisiSayisi');</div><div>&nbsp; GrpKisiSayisi.Align = alTop;</div><div>&nbsp; GrpKisiSayisi.Height = 65;</div><div>&nbsp; GrpKisiSayisi.Margins.Top = 10;</div><div>&nbsp; GrpKisiSayisi.Margins.Left = 15;</div><div>&nbsp; GrpKisiSayisi.Margins.Right = 15;</div><div>&nbsp; StyleInputPanel(GrpKisiSayisi);</div><div><br></div><div>&nbsp; LblKisiSayisi = BakimForm.AddNewProLabel(GrpKisiSayisi, 'LblKisiSayisi', '');</div><div>&nbsp; LblKisiSayisi.Align = alTop;</div><div>&nbsp; LblKisiSayisi.Height = 18;</div><div>&nbsp; LblKisiSayisi.Margins.Left = 10;</div><div>&nbsp; LblKisiSayisi.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(LblKisiSayisi);</div><div><br></div><div>&nbsp; EdtKisiSayisi = BakimForm.AddNewProEdit(GrpKisiSayisi, 'EdtKisiSayisi', '');</div><div>&nbsp; EdtKisiSayisi.Align = alClient;</div><div>&nbsp; EdtKisiSayisi.Margins.Left = 10;</div><div>&nbsp; EdtKisiSayisi.Margins.Right = 10;</div><div>&nbsp; EdtKisiSayisi.Margins.Bottom = 7;</div><div>&nbsp; StyleInputEdit(EdtKisiSayisi);</div><div>&nbsp; BindInputFocus(EdtKisiSayisi);</div><div>&nbsp; BakimForm.AddNewEvent(EdtKisiSayisi, tbeOnEnter, 'KlvKisiSayisi');</div><div><br></div><div>&nbsp; GrpOperatorGrup = BakimForm.AddNewProPanel(PnlMainCard, 'GrpOperatorGrup');</div><div>&nbsp; GrpOperatorGrup.Align = alTop;</div><div>&nbsp; GrpOperatorGrup.Height = 65;</div><div>&nbsp; GrpOperatorGrup.Margins.Top = 10;</div><div>&nbsp; GrpOperatorGrup.Margins.Left = 15;</div><div>&nbsp; GrpOperatorGrup.Margins.Right = 15;</div><div>&nbsp; StyleInputPanel(GrpOperatorGrup);</div><div><br></div><div>&nbsp; LblOperatorGrup = BakimForm.AddNewProLabel(GrpOperatorGrup, 'LblOperatorGrup', '');</div><div>&nbsp; LblOperatorGrup.Align = alTop;</div><div>&nbsp; LblOperatorGrup.Height = 18;</div><div>&nbsp; LblOperatorGrup.Margins.Left = 10;</div><div>&nbsp; LblOperatorGrup.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(LblOperatorGrup);</div><div><br></div><div>&nbsp; CmbOperatorGrup = BakimForm.AddNewComboBox(GrpOperatorGrup, 'CmbOperatorGrup');</div><div>&nbsp; CmbOperatorGrup.Align = alClient;</div><div>&nbsp; CmbOperatorGrup.Margins.Left = 10;</div><div>&nbsp; CmbOperatorGrup.Margins.Right = 10;</div><div>&nbsp; CmbOperatorGrup.Margins.Bottom = 7;</div><div><br></div><div>&nbsp; GrpOperator = BakimForm.AddNewProPanel(PnlMainCard, 'GrpOperator');</div><div>&nbsp; GrpOperator.Align = alTop;</div><div>&nbsp; GrpOperator.Height = 65;</div><div>&nbsp; GrpOperator.Margins.Top = 10;</div><div>&nbsp; GrpOperator.Margins.Left = 15;</div><div>&nbsp; GrpOperator.Margins.Right = 15;</div><div>&nbsp; StyleInputPanel(GrpOperator);</div><div><br></div><div>&nbsp; LblOperator = BakimForm.AddNewProLabel(GrpOperator, 'LblOperator', '');</div><div>&nbsp; LblOperator.Align = alTop;</div><div>&nbsp; LblOperator.Height = 18;</div><div>&nbsp; LblOperator.Margins.Left = 10;</div><div>&nbsp; LblOperator.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(LblOperator);</div><div><br></div><div>&nbsp; CmbOperator = BakimForm.AddNewComboBox(GrpOperator, 'CmbOperator');</div><div>&nbsp; CmbOperator.Align = alClient;</div><div>&nbsp; CmbOperator.Margins.Left = 10;</div><div>&nbsp; CmbOperator.Margins.Right = 10;</div><div>&nbsp; CmbOperator.Margins.Bottom = 7;</div><div><br></div><div>&nbsp; GrpOperatorBilgisi = BakimForm.AddNewProPanel(PnlMainCard, 'GrpOperatorBilgisi');</div><div>&nbsp; GrpOperatorBilgisi.Align = alTop;</div><div>&nbsp; GrpOperatorBilgisi.Height = 65;</div><div>&nbsp; GrpOperatorBilgisi.Margins.Top = 10;</div><div>&nbsp; GrpOperatorBilgisi.Margins.Left = 15;</div><div>&nbsp; GrpOperatorBilgisi.Margins.Right = 15;</div><div>&nbsp; StyleInputPanel(GrpOperatorBilgisi);</div><div><br></div><div>&nbsp; LblOperatorBilgisi = BakimForm.AddNewProLabel(GrpOperatorBilgisi, 'LblOperatorBilgisi', '');</div><div>&nbsp; LblOperatorBilgisi.Align = alTop;</div><div>&nbsp; LblOperatorBilgisi.Height = 18;</div><div>&nbsp; LblOperatorBilgisi.Margins.Left = 10;</div><div>&nbsp; LblOperatorBilgisi.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(LblOperatorBilgisi);</div><div><br></div><div>&nbsp; BtnOperatorKaydet = BakimForm.AddNewProButton(GrpOperatorBilgisi, 'BtnOperatorKaydet', 'Ekle');</div><div>&nbsp; BtnOperatorKaydet.Align = alRight;</div><div>&nbsp; BtnOperatorKaydet.Width = 60;</div><div>&nbsp; BtnOperatorKaydet.Margins.Right = 10;</div><div>&nbsp; BtnOperatorKaydet.Margins.Bottom = 7;</div><div>&nbsp; StylePrimaryButton(BtnOperatorKaydet);</div><div>&nbsp; BakimForm.AddNewEvent(BtnOperatorKaydet, tbeOnClick, 'BtnOperatorKaydetClick');</div><div><br></div><div>&nbsp; CmbYeniOperatorGrup = BakimForm.AddNewComboBox(GrpOperatorBilgisi, 'CmbYeniOperatorGrup');</div><div>&nbsp; CmbYeniOperatorGrup.Align = alRight;</div><div>&nbsp; CmbYeniOperatorGrup.Width = 90;</div><div>&nbsp; CmbYeniOperatorGrup.Margins.Right = 5;</div><div>&nbsp; CmbYeniOperatorGrup.Margins.Bottom = 7;</div><div>&nbsp; CmbYeniOperatorGrup.AddItem('A Grubu', 'A');</div><div>&nbsp; CmbYeniOperatorGrup.AddItem('B Grubu', 'B');</div><div>&nbsp; CmbYeniOperatorGrup.AddItem('C Grubu', 'C');</div><div><br></div><div>&nbsp; EdtOperatorBilgisi = BakimForm.AddNewProEdit(GrpOperatorBilgisi, 'EdtOperatorBilgisi', '');</div><div>&nbsp; EdtOperatorBilgisi.Align = alClient;</div><div>&nbsp; EdtOperatorBilgisi.Margins.Left = 10;</div><div>&nbsp; EdtOperatorBilgisi.Margins.Right = 5;</div><div>&nbsp; EdtOperatorBilgisi.Margins.Bottom = 7;</div><div>&nbsp; StyleInputEdit(EdtOperatorBilgisi);</div><div>&nbsp; BindInputFocus(EdtOperatorBilgisi);</div><div>&nbsp; BakimForm.AddNewEvent(EdtOperatorBilgisi, tbeOnEnter, 'KlvOperatorBilgisi');</div><div><br></div><div>&nbsp; GrpAciklama = BakimForm.AddNewProPanel(PnlMainCard, 'GrpAciklama');</div><div>&nbsp; GrpAciklama.Align = alTop;</div><div>&nbsp; GrpAciklama.Height = 65;</div><div>&nbsp; GrpAciklama.Margins.Top = 10;</div><div>&nbsp; GrpAciklama.Margins.Left = 15;</div><div>&nbsp; GrpAciklama.Margins.Right = 15;</div><div>&nbsp; StyleInputPanel(GrpAciklama);</div><div><br></div><div>&nbsp; LblAciklama = BakimForm.AddNewProLabel(GrpAciklama, 'LblAciklama', '');</div><div>&nbsp; LblAciklama.Align = alTop;</div><div>&nbsp; LblAciklama.Height = 18;</div><div>&nbsp; LblAciklama.Margins.Left = 10;</div><div>&nbsp; LblAciklama.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(LblAciklama);</div><div><br></div><div>&nbsp; EdtAciklama = BakimForm.AddNewProEdit(GrpAciklama, 'EdtAciklama', '');</div><div>&nbsp; EdtAciklama.Align = alClient;</div><div>&nbsp; EdtAciklama.Margins.Left = 10;</div><div>&nbsp; EdtAciklama.Margins.Right = 10;</div><div>&nbsp; EdtAciklama.Margins.Bottom = 7;</div><div>&nbsp; StyleInputEdit(EdtAciklama);</div><div>&nbsp; BindInputFocus(EdtAciklama);</div><div>&nbsp; BakimForm.AddNewEvent(EdtAciklama, tbeOnEnter, 'KlvAciklama');</div><div><br></div><div>&nbsp; LblGridTitle = BakimForm.AddNewProLabel(PnlMainCard, 'LblGridTitle', '');</div><div>&nbsp; LblGridTitle.Align = alTop;</div><div>&nbsp; LblGridTitle.Height = 35;</div><div>&nbsp; LblGridTitle.Margins.Left = 15;</div><div>&nbsp; LblGridTitle.Margins.Top = 15;</div><div>&nbsp; StyleSectionTitle(LblGridTitle);</div><div><br></div><div>&nbsp; HScrollGrid = BakimForm.AddNewHorzScrollBox(PnlMainCard, 'HScrollGrid');</div><div>&nbsp; HScrollGrid.Align = alTop;</div><div>&nbsp; HScrollGrid.Height = 170;</div><div>&nbsp; HScrollGrid.Margins.Left = 15;</div><div>&nbsp; HScrollGrid.Margins.Right = 15;</div><div>&nbsp; HScrollGrid.Margins.Top = 5;</div><div><br></div><div>&nbsp; PnlGridContainer = BakimForm.AddNewProPanel(HScrollGrid, 'PnlGridContainer');</div><div>&nbsp; PnlGridContainer.Align = alLeft;</div><div>&nbsp; PnlGridContainer.Width = 600;</div><div>&nbsp; PnlGridContainer.Height = 160;</div><div>&nbsp; StyleInputPanel(PnlGridContainer);</div><div><br></div><div>&nbsp; PnlGridHeader = BakimForm.AddNewProPanel(PnlGridContainer, 'PnlGridHeader');</div><div>&nbsp; PnlGridHeader.Align = alTop;</div><div>&nbsp; PnlGridHeader.Height = 30;</div><div>&nbsp; PnlGridHeader.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(ThemeKoyuRenk);</div><div>&nbsp; PnlGridHeader.clProSettings.IsFill = True;</div><div>&nbsp; PnlGridHeader.SetclProSettings(PnlGridHeader.clProSettings);</div><div><br></div><div>&nbsp; LblCol1 = BakimForm.AddNewProLabel(PnlGridHeader, 'LblCol1', '');</div><div>&nbsp; LblCol1.Align = alLeft; LblCol1.Width = 80; LblCol1.Height = 30;</div><div>&nbsp; LblCol1.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; LblCol1.clProSettings.FontSize = UiFontSize - 2; LblCol1.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblCol1.clProSettings.FontVertAlign = palCenter; LblCol1.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; LblCol1.SetclProSettings(LblCol1.clProSettings);</div><div><br></div><div>&nbsp; LblCol2 = BakimForm.AddNewProLabel(PnlGridHeader, 'LblCol2', '');</div><div>&nbsp; LblCol2.Align = alLeft; LblCol2.Width = 150; LblCol2.Height = 30;</div><div>&nbsp; LblCol2.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; LblCol2.clProSettings.FontSize = UiFontSize - 2; LblCol2.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblCol2.clProSettings.FontVertAlign = palCenter; LblCol2.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; LblCol2.SetclProSettings(LblCol2.clProSettings);</div><div><br></div><div>&nbsp; LblCol3 = BakimForm.AddNewProLabel(PnlGridHeader, 'LblCol3', '');</div><div>&nbsp; LblCol3.Align = alLeft; LblCol3.Width = 60; LblCol3.Height = 30;</div><div>&nbsp; LblCol3.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; LblCol3.clProSettings.FontSize = UiFontSize - 2; LblCol3.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblCol3.clProSettings.FontVertAlign = palCenter; LblCol3.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; LblCol3.SetclProSettings(LblCol3.clProSettings);</div><div><br></div><div>&nbsp; LblCol4 = BakimForm.AddNewProLabel(PnlGridHeader, 'LblCol4', '');</div><div>&nbsp; LblCol4.Align = alLeft; LblCol4.Width = 60; LblCol4.Height = 30;</div><div>&nbsp; LblCol4.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; LblCol4.clProSettings.FontSize = UiFontSize - 2; LblCol4.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblCol4.clProSettings.FontVertAlign = palCenter; LblCol4.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; LblCol4.SetclProSettings(LblCol4.clProSettings);</div><div><br></div><div>&nbsp; LblCol5 = BakimForm.AddNewProLabel(PnlGridHeader, 'LblCol5', '');</div><div>&nbsp; LblCol5.Align = alLeft; LblCol5.Width = 80; LblCol5.Height = 30;</div><div>&nbsp; LblCol5.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; LblCol5.clProSettings.FontSize = UiFontSize - 2; LblCol5.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblCol5.clProSettings.FontVertAlign = palCenter; LblCol5.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; LblCol5.SetclProSettings(LblCol5.clProSettings);</div><div><br></div><div>&nbsp; LblCol6 = BakimForm.AddNewProLabel(PnlGridHeader, 'LblCol6', '');</div><div>&nbsp; LblCol6.Align = alLeft; LblCol6.Width = 80; LblCol6.Height = 30;</div><div>&nbsp; LblCol6.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; LblCol6.clProSettings.FontSize = UiFontSize - 2; LblCol6.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblCol6.clProSettings.FontVertAlign = palCenter; LblCol6.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; LblCol6.SetclProSettings(LblCol6.clProSettings);</div><div><br></div><div>&nbsp; ListGrid = BakimForm.AddNewProListView(PnlGridContainer, 'ListGrid');</div><div>&nbsp; ListGrid.Align = alClient;</div><div>&nbsp; ListGrid.ListType = 'vertical';</div><div>&nbsp; ListGrid.clProSettings.ItemHeight = 45;</div><div>&nbsp; ListGrid.clProSettings.ItemSpace = 2;</div><div>&nbsp; ListGrid.clProSettings.ColCount = 1;</div><div>&nbsp; ListGrid.clProSettings.ViewType = lvIcon;</div><div>&nbsp; ListGrid.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; ListGrid.SetclProSettings(ListGrid.clProSettings);</div><div><br></div><div>&nbsp; ListGridDesigner = BakimForm.AddNewProListViewDesignerPanel(ListGrid, 'ListGridDesigner');</div><div>&nbsp; ListGridDesigner.Align = alTop;</div><div>&nbsp; ListGridDesigner.Height = 40;</div><div>&nbsp; ListGridDesigner.Width = 600;</div><div>&nbsp; ListGridDesigner.clProSettings.BackgroundColor = clAlphaColor.clWhite;</div><div>&nbsp; ListGridDesigner.clProSettings.IsRound = False;</div><div>&nbsp; ListGridDesigner.clProSettings.BorderWidth = 0;</div><div>&nbsp; ListGridDesigner.SetclProSettings(ListGridDesigner.clProSettings);</div><div><br></div><div>&nbsp; LblD1 = BakimForm.AddNewProLabel(ListGridDesigner, 'LblGridD1', '');</div><div>&nbsp; LblD1.Align = alLeft; LblD1.Width = 80; LblD1.Height = 40;</div><div>&nbsp; LblD1.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor);</div><div>&nbsp; LblD1.clProSettings.FontSize = UiFontSize - 2; LblD1.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblD1.clProSettings.FontVertAlign = palCenter;</div><div>&nbsp; LblD1.SetclProSettings(LblD1.clProSettings);</div><div><br></div><div>&nbsp; LblD2 = BakimForm.AddNewProLabel(ListGridDesigner, 'LblGridD2', '');</div><div>&nbsp; LblD2.Align = alLeft; LblD2.Width = 150; LblD2.Height = 40;</div><div>&nbsp; LblD2.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor);</div><div>&nbsp; LblD2.clProSettings.FontSize = UiFontSize - 2; LblD2.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblD2.clProSettings.FontVertAlign = palCenter;</div><div>&nbsp; LblD2.SetclProSettings(LblD2.clProSettings);</div><div><br></div><div>&nbsp; LblD3 = BakimForm.AddNewProLabel(ListGridDesigner, 'LblGridD3', '');</div><div>&nbsp; LblD3.Align = alLeft; LblD3.Width = 60; LblD3.Height = 40;</div><div>&nbsp; LblD3.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor);</div><div>&nbsp; LblD3.clProSettings.FontSize = UiFontSize - 2; LblD3.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblD3.clProSettings.FontVertAlign = palCenter;</div><div>&nbsp; LblD3.SetclProSettings(LblD3.clProSettings);</div><div><br></div><div>&nbsp; LblD4 = BakimForm.AddNewProLabel(ListGridDesigner, 'LblGridD4', '');</div><div>&nbsp; LblD4.Align = alLeft; LblD4.Width = 60; LblD4.Height = 40;</div><div>&nbsp; LblD4.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor);</div><div>&nbsp; LblD4.clProSettings.FontSize = UiFontSize - 2; LblD4.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblD4.clProSettings.FontVertAlign = palCenter;</div><div>&nbsp; LblD4.SetclProSettings(LblD4.clProSettings);</div><div><br></div><div>&nbsp; LblD5 = BakimForm.AddNewProLabel(ListGridDesigner, 'LblGridD5', '');</div><div>&nbsp; LblD5.Align = alLeft; LblD5.Width = 80; LblD5.Height = 40;</div><div>&nbsp; LblD5.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor);</div><div>&nbsp; LblD5.clProSettings.FontSize = UiFontSize - 2; LblD5.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblD5.clProSettings.FontVertAlign = palCenter;</div><div>&nbsp; LblD5.SetclProSettings(LblD5.clProSettings);</div><div><br></div><div>&nbsp; LblD6 = BakimForm.AddNewProLabel(ListGridDesigner, 'LblGridD6', '');</div><div>&nbsp; LblD6.Align = alLeft; LblD6.Width = 80; LblD6.Height = 40;</div><div>&nbsp; LblD6.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor);</div><div>&nbsp; LblD6.clProSettings.FontSize = UiFontSize - 2; LblD6.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; LblD6.clProSettings.FontVertAlign = palCenter;</div><div>&nbsp; LblD6.SetclProSettings(LblD6.clProSettings);</div><div><br></div><div>&nbsp; ListGridDesigner.AddPanelObject(LblD1, clCaption);</div><div>&nbsp; ListGridDesigner.AddPanelObject(LblD2, clText);</div><div>&nbsp; ListGridDesigner.AddPanelObject(LblD3, clText2);</div><div>&nbsp; ListGridDesigner.AddPanelObject(LblD4, clText3);</div><div>&nbsp; ListGridDesigner.AddPanelObject(LblD5, clText4);</div><div>&nbsp; ListGridDesigner.AddPanelObject(LblD6, clText5);</div><div>&nbsp; ListGrid.SetDesignerPanel(ListGridDesigner);</div><div><br></div><div>&nbsp; BtnStokEkleAnaForm = BakimForm.AddNewProButton(PnlMainCard, 'BtnStokEkleAnaForm', '');</div><div>&nbsp; BtnStokEkleAnaForm.Align = alTop;</div><div>&nbsp; BtnStokEkleAnaForm.Height = 45;</div><div>&nbsp; BtnStokEkleAnaForm.Margins.Top = 10;</div><div>&nbsp; BtnStokEkleAnaForm.Margins.Left = 15;</div><div>&nbsp; BtnStokEkleAnaForm.Margins.Right = 15;</div><div>&nbsp; StyleUncoloredOutlineButton(BtnStokEkleAnaForm);</div><div>&nbsp; BakimForm.AddNewEvent(BtnStokEkleAnaForm, tbeOnClick, 'FormStokEkleClick');</div><div><br></div><div>&nbsp; LblPhotoTitle = BakimForm.AddNewProLabel(PnlMainCard, 'LblPhotoTitle', '');</div><div>&nbsp; LblPhotoTitle.Align = alTop;</div><div>&nbsp; LblPhotoTitle.Height = 35;</div><div>&nbsp; LblPhotoTitle.Margins.Left = 15;</div><div>&nbsp; LblPhotoTitle.Margins.Top = 15;</div><div>&nbsp; StyleSectionTitle(LblPhotoTitle);</div><div><br></div><div>&nbsp; PnlPhotoKutu = BakimForm.AddNewProPanel(PnlMainCard, 'PnlPhotoKutu');</div><div>&nbsp; PnlPhotoKutu.Align = alTop;</div><div>&nbsp; PnlPhotoKutu.Height = 110;</div><div>&nbsp; PnlPhotoKutu.Margins.Left = 15;</div><div>&nbsp; PnlPhotoKutu.Margins.Right = 15;</div><div>&nbsp; PnlPhotoKutu.Margins.Top = 5;</div><div>&nbsp; StyleInputPanel(PnlPhotoKutu);</div><div><br></div><div>&nbsp; BtnResimCek = BakimForm.AddNewProButton(PnlPhotoKutu, 'BtnResimCek', '');</div><div>&nbsp; BtnResimCek.Align = alRight;</div><div>&nbsp; BtnResimCek.Width = 140;</div><div>&nbsp; BtnResimCek.Margins.Right = 15;</div><div>&nbsp; BtnResimCek.Margins.Top = 15;</div><div>&nbsp; BtnResimCek.Margins.Bottom = 15;</div><div>&nbsp; StylePrimaryButton(BtnResimCek);</div><div>&nbsp; BakimForm.AddNewEvent(BtnResimCek, tbeOnClick, 'TakePhotoClick');</div><div><br></div><div>&nbsp; ImgPhoto = BakimForm.AddNewImage(PnlPhotoKutu, 'ImgPhoto');</div><div>&nbsp; ImgPhoto.Align = alClient;</div><div>&nbsp; ImgPhoto.Margins.Left = 15;</div><div>&nbsp; ImgPhoto.Margins.Top = 15;</div><div>&nbsp; ImgPhoto.Margins.Bottom = 15;</div><div>&nbsp; ImgPhoto.Margins.Right = 15;</div><div><br></div><div>&nbsp; LblTalimatTitle = BakimForm.AddNewProLabel(PnlMainCard, 'LblTalimatTitle', '');</div><div>&nbsp; LblTalimatTitle.Align = alTop;</div><div>&nbsp; LblTalimatTitle.Height = 35;</div><div>&nbsp; LblTalimatTitle.Margins.Left = 15;</div><div>&nbsp; LblTalimatTitle.Margins.Top = 15;</div><div>&nbsp; StyleSectionTitle(LblTalimatTitle);</div><div><br></div><div>&nbsp; PnlTalimatKutu = BakimForm.AddNewProPanel(PnlMainCard, 'PnlTalimatKutu');</div><div>&nbsp; PnlTalimatKutu.Align = alTop;</div><div>&nbsp; PnlTalimatKutu.Height = 150;</div><div>&nbsp; PnlTalimatKutu.Margins.Left = 15;</div><div>&nbsp; PnlTalimatKutu.Margins.Right = 15;</div><div>&nbsp; PnlTalimatKutu.Margins.Top = 5;</div><div>&nbsp; StyleInputPanel(PnlTalimatKutu);</div><div><br></div><div>&nbsp; MemTabContent = BakimForm.AddNewMemo(PnlTalimatKutu, 'MemTabContent','');</div><div>&nbsp; MemTabContent.Align = alClient;</div><div>&nbsp; MemTabContent.Margins.Left = 10;</div><div>&nbsp; MemTabContent.Margins.Right = 10;</div><div>&nbsp; MemTabContent.Margins.Top = 10;</div><div>&nbsp; MemTabContent.Margins.Bottom = 10;</div><div>&nbsp; MemTabContent.ReadOnly = True;</div><div>&nbsp; MemTabContent.Text = GetText('TALIMAT_METNI');</div><div>&nbsp; MyJsonItems = '';</div><div>&nbsp; SetCurrentDateTime;</div><div>&nbsp; ApplyUiSettings;</div><div>&nbsp; GridGuncelle;</div><div><br></div><div>&nbsp; BakimForm.Run;</div><div>}</div><div><br><br><br></div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496"</a> integrity="sha512-ZE9pZaUXND66v380QUtch/5sE9tPFh2zg45pR2PB0CVkCtOREv2AJKkSidISWkysEuQ0EH8faUU5du78bx87UQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Wed, 08 Jul 2026 17:56:06 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1606&amp;PID=3712#3712</guid>
  </item> 
  <item>
   <title><![CDATA[stok ekleme : Var BakimForm, RehberForm, StokFiltreForm:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1606&amp;PID=3711#3711</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=249">kayra12</a><br /><strong>Konu:</strong> 1606<br /><strong>Gönderim Zamanı:</strong> 08&nbsp;Temmuz&nbsp;2026 Saat 17:01<br /><br /><div><br></div><div>Var</div><div>&nbsp; BakimForm, RehberForm, StokFiltreForm: TclGameForm;</div><div>&nbsp; LsvRehber: TClProListView;&nbsp;</div><div>&nbsp; EdtAramaRehber: TclProEdit;</div><div>&nbsp; DataRehber: TclJsonQuery;</div><div>&nbsp; GlobalLookupType: String;&nbsp;</div><div><br></div><div>&nbsp; PnlNavBar, PnlHeaderTop, PnlMainCard: TclProPanel;</div><div>&nbsp; BtnScroll: TclHorzScrollBox;</div><div>&nbsp; LblNavTitle, LblSect1Title, LblGridTitle, LblPhotoTitle, LblTalimatTitle: TClProLabel;</div><div>&nbsp; BtnGeri, BtnYeni, BtnKaydet, BtnYazdir, BtnResimCek, BtnOperatorKaydet: TClProButton;&nbsp;</div><div>&nbsp; BtnRehberAc, BtnBakimKoduRehber, BtnMakineKoduRehber, BtnBaglantiRehber, BtnCariKoduRehber: TClProButton;</div><div>&nbsp; GrpBelgeNo, GrpTarih, GrpBakimTipi, GrpBakimTuru, GrpBakimKodu, GrpMakineKodu, GrpBaglanti, GrpCariKodu: TclProPanel;</div><div>&nbsp; GrpBaslangic, GrpGirisZamani, GrpPlanlananBitis, GrpBakimDurumu, GrpKisiSayisi, GrpOperatorGrup, GrpOperator, GrpOperatorBilgisi, GrpAciklama: TclProPanel;</div><div>&nbsp; LblBelgeNo, LblTarih, LblBakimTipi, LblBakimTuru, LblBakimKodu, LblMakineKodu, LblBaglanti, LblCariKodu: TClProLabel;</div><div>&nbsp; LblBaslangic, LblGirisZamani, LblPlanlananBitis, LblBakimDurumu, LblKisiSayisi, LblOperatorGrup, LblOperator, LblOperatorBilgisi, LblAciklama: TClProLabel;</div><div>&nbsp; EdtBelgeNo, EdtTarih, EdtBakimKodu, EdtMakineKodu, EdtBaglanti, EdtCariKodu: TclProEdit;</div><div>&nbsp; EdtBaslangic, EdtBaslangicSaat, EdtGirisZamani, EdtKisiSayisi, EdtOperatorBilgisi, EdtAciklama: TclProEdit;</div><div>&nbsp; CmbBakimTipi, CmbBakimTuru, CmbOperatorGrup, CmbOperator, CmbYeniOperatorGrup, CmbPlanlananBitis, CmbBakimDurumu: TClComboBox;</div><div><br></div><div>&nbsp; // TABLO TASARIMI İÇİN BİLEŞENLER</div><div>&nbsp; HScrollGrid: TclHorzScrollBox;</div><div>&nbsp; PnlGridContainer, PnlGridHeader, PnlGridTitleArea: TclProPanel;</div><div>&nbsp; ListGrid: TClProListView;&nbsp;</div><div>&nbsp; ListGridDesigner: TClProListViewDesignerPanel;</div><div>&nbsp; LblCol1, LblCol2, LblCol3, LblCol4, LblCol5, LblCol6: TClProLabel;</div><div>&nbsp; LblD1, LblD2, LblD3, LblD4, LblD5, LblD6: TClProLabel;</div><div>&nbsp; BtnStokEkleAnaForm: TClProButton;&nbsp;</div><div><br></div><div>&nbsp; PnlTalimatKutu, PnlPhotoKutu: TclProPanel;</div><div>&nbsp; MemTabContent: TclMemo;</div><div>&nbsp; ScrollForm: TclVertScrollBox;</div><div>&nbsp; ImgPhoto, ImgBelge, ImgBakim, ImgMakine, ImgBaglanti, ImgCari: TclImage;</div><div><br></div><div>&nbsp; MyJsonItems, KayitliOperatorA, KayitliOperatorB, KayitliOperatorC: String;</div><div>&nbsp; UiFontSize, OkunanStilIndex: Integer;</div><div>&nbsp; OkunanFontAdi: String;</div><div>&nbsp; ThemeKoyuRenk, ThemeAcikRenk: String;</div><div>&nbsp; ThemeBgColor, ThemeBorderColor, ThemeTextColor: String;</div><div><br></div><div>&nbsp; gAktifDilIndex: Integer;</div><div>&nbsp; gTabletModuAktif: Integer;</div><div>&nbsp; gTabletYonIndex: Integer;</div><div>&nbsp; gCounter: Integer; // EŞSİZ İSİMLENDİRME İÇİN SAYAÇ</div><div><br></div><div>&nbsp; // STOK FILTRELEME FORMU BİLEŞENLERİ</div><div>&nbsp; PnlFiltreSag, PnlFiltreSagUst, PnlFiltreSagAlt, PnlFiltreAramaKutu, PnlEklemeKutu, PnlAktarKutu: TclProPanel;</div><div>&nbsp; LsvKisitUyanlar, LsvEklenecekler: TClProListView;</div><div>&nbsp; LsvKisitDP, LsvEklenecekDP: TclProListViewDesignerPanel;</div><div>&nbsp; LblKisitD1, LblKisitD2, LblEkleD1, LblEkleD2, LblEkleD3, LblFiltreStokKodu: TClProLabel;</div><div>&nbsp; BtnKodRehber: TclProButton;</div><div>&nbsp; EdtFiltreStokKodu, EdtBilesenMiktar: TclProEdit;</div><div>&nbsp; BtnFiltreAra, BtnBilesenEkle, BtnAktar: TClProButton;</div><div>&nbsp; JsonEkleneceklerHavuzu, SecilenStokKodu, SecilenStokAdi: String;</div><div><br></div><div>void OnKeyboardShow; { ScrollForm.Margins.Bottom = BakimForm.clVKBoundsHeight; }</div><div>void OnKeyboardHide; { ScrollForm.Margins.Bottom = 0; }</div><div><br></div><div>// =====================================================================</div><div>// --- DİL MOTORU ---</div><div>// =====================================================================</div><div>function GetText(Key: String): String;</div><div>{</div><div>&nbsp; Result = Key;</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (gAktifDilIndex == 1) {&nbsp;</div><div>&nbsp; &nbsp; if (Key == 'NAV_TITLE') { Result = 'Maintenance Movements'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'YENI') { Result = 'New'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'KAYDET') { Result = 'Save'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'YAZDIR') { Result = 'Print'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'SECT1') { Result = '1. GENERAL INFO'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'SECT2') { Result = '2. MATERIAL &amp; COST'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'SECT3') { Result = '3. VISUALS'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'SECT4') { Result = '4. INSTRUCTIONS'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BELGE_NO') { Result = 'Doc No:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'TARIH') { Result = 'Date:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_TIPI') { Result = 'Maint. Type:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_TURU') { Result = 'Maint. Category:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_KODU') { Result = 'Maint. Code:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MAKINE_KODU') { Result = 'Machine Code:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAGLANTI') { Result = 'Connection:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'CARI_KODU') { Result = 'Current Code:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BASLANGIC') { Result = 'Start Date/Time:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GIRIS_ZAMANI') { Result = 'Entry Time:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'PLANLANAN') { Result = 'Planned End Time:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_DURUMU') { Result = 'Maintenance Status:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_YAPILDI') { Result = 'Done (Completed)'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_YAPILMADI') { Result = 'Not Done (Pending)'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'KISI_SAYISI') { Result = 'Headcount:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'OP_GRUP') { Result = 'Operator Group:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'OPERATOR') { Result = 'Operator in Charge:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'OP_BILGI') { Result = 'New Operator Info:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ACIKLAMA') { Result = 'Description:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'KAMERA') { Result = 'Open Camera'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'OP_KAYDET') { Result = 'Save'; }</div><div>&nbsp; &nbsp; else if (Key == 'TALIMAT_METNI') { Result = '1. Cut off machine power.' + #13#10 + '2. Attach safety lock.' + #13#10 + '3. Check bearing housings.' + #13#10 + '4. Tighten and align.' + #13#10 + '5. Perform a test run.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_FORM_TEMIZLENDI') { Result = 'Form cleared.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_BELGE_NO_GIRIN') { Result = 'Please enter Doc No before saving!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_DURUM_SECIN') { Result = 'Please select maintenance status!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_BASARILI') { Result = 'SAVE SUCCESSFUL!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_EKLENEN_VERI') { Result = 'Added Data: '; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_BILGI_GIRIN') { Result = 'Please enter Operator Info first.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_GRUP_SECIN') { Result = 'Please select a group for the operator.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_KAYDEDILDI') { Result = 'Operator saved.'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BELGE') { Result = 'Search Document...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL1') { Result = 'Item Code'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL2') { Result = 'Item Name'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL3') { Result = 'Qty'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL4') { Result = 'Unit'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL5') { Result = 'Price'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL6') { Result = 'Amount'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'STOK_EKLE') { Result = '+ Add Stock'; }</div><div>&nbsp; &nbsp; else if (Key == 'LST_BOS') { Result = 'No material records found.'; }</div><div>&nbsp; }&nbsp;</div><div>&nbsp; else if (gAktifDilIndex == 2) {&nbsp;</div><div>&nbsp; &nbsp; if (Key == 'NAV_TITLE') { Result = 'Wartungsbewegungen'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'YENI') { Result = 'Neu'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'KAYDET') { Result = 'Speichern'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'YAZDIR') { Result = 'Drucken'; }</div><div>&nbsp; &nbsp; else if (Key == 'SECT1') { Result = '1. ALLGEMEINE INFO'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'SECT2') { Result = '2. MATERIAL &amp; KOSTEN'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'SECT3') { Result = '3. VISUALS'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'SECT4') { Result = '4. ANWEISUNGEN'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BELGE_NO') { Result = 'Dokumenten-Nr.:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'TARIH') { Result = 'Datum:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_TIPI') { Result = 'Wartungsart:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_TURU') { Result = 'Wartungskategorie:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_KODU') { Result = 'Wartungscode:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MAKINE_KODU') { Result = 'Maschinencode:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAGLANTI') { Result = 'Verbindung:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'CARI_KODU') { Result = 'Aktueller Code:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BASLANGIC') { Result = 'Startdatum/-zeit:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GIRIS_ZAMANI') { Result = 'Eintrittszeit:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'PLANLANAN') { Result = 'Geplante Endzeit:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_DURUMU') { Result = 'Wartungsstatus:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_YAPILDI') { Result = 'Erledigt'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_YAPILMADI') { Result = 'Nicht Erledigt'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'KISI_SAYISI') { Result = 'Kopfzahl:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'OP_GRUP') { Result = 'Bedienergruppe:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'OPERATOR') { Result = 'Zuständiger Bediener:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'OP_BILGI') { Result = 'Neue Bedienerinfo:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ACIKLAMA') { Result = 'Beschreibung:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'KAMERA') { Result = 'Kamera öffnen'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'OP_KAYDET') { Result = 'Speichern'; }</div><div>&nbsp; &nbsp; else if (Key == 'TALIMAT_METNI') { Result = '1. Maschinenstrom abschalten.' + #13#10 + '2. Sicherheitsschloss anbringen.' + #13#10 + '3. Lagergehäuse prüfen.' + #13#10 + '4. Festziehen und ausrichten.' + #13#10 + '5. Testlauf durchführen.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_FORM_TEMIZLENDI') { Result = 'Formular geleert.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_BELGE_NO_GIRIN') { Result = 'Bitte Dokumenten-Nr. vor dem Speichern eingeben!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_DURUM_SECIN') { Result = 'Bitte Wartungsstatus auswählen!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_BASARILI') { Result = 'SPEICHERN ERFOLGREICH!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_EKLENEN_VERI') { Result = 'Hinzugefügte Daten: '; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_BILGI_GIRIN') { Result = 'Bitte zuerst Bedienerinfo eingeben.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_GRUP_SECIN') { Result = 'Bitte eine Gruppe für den Bediener auswählen.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_KAYDEDILDI') { Result = 'Bediener gespeichert.'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BELGE') { Result = 'Dokument suchen...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL1') { Result = 'Artikelnr.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL2') { Result = 'Artikelname'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL3') { Result = 'Menge'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL4') { Result = 'Einh.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL5') { Result = 'Preis'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL6') { Result = 'Betrag'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'STOK_EKLE') { Result = '+ Bestand Hzfg'; }</div><div>&nbsp; &nbsp; else if (Key == 'LST_BOS') { Result = 'Keine Materialdatensätze gefunden.'; }</div><div>&nbsp; }</div><div>&nbsp; else if (gAktifDilIndex == 3) {&nbsp;</div><div>&nbsp; &nbsp; if (Key == 'NAV_TITLE') { Result = 'Mouvements de Maint'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'YENI') { Result = 'Nouveau'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'KAYDET') { Result = 'Enregistrer'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'YAZDIR') { Result = 'Imprimer'; }</div><div>&nbsp; &nbsp; else if (Key == 'SECT1') { Result = '1. INFOS GENERALES'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'SECT2') { Result = '2. MATERIEL ET COUT'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'SECT3') { Result = '3. VISUELS'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'SECT4') { Result = '4. INSTRUCTIONS'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BELGE_NO') { Result = 'N Doc:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'TARIH') { Result = 'Date:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_TIPI') { Result = 'Type Maint.:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_TURU') { Result = 'Categorie Maint.:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_KODU') { Result = 'Code Maint.:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MAKINE_KODU') { Result = 'Code Machine:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAGLANTI') { Result = 'Connexion:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'CARI_KODU') { Result = 'Code Courant:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BASLANGIC') { Result = 'Date/Heure Debut:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GIRIS_ZAMANI') { Result = 'Heure d Entree:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'PLANLANAN') { Result = 'Heure de Fin Prevue:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_DURUMU') { Result = 'Statut de Maint.:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_YAPILDI') { Result = 'Fait (Termine)'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_YAPILMADI') { Result = 'Non Fait (En attente)'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'KISI_SAYISI') { Result = 'Effectif:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'OP_GRUP') { Result = 'Groupe d Operateurs:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'OPERATOR') { Result = 'Operateur Responsable:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'OP_BILGI') { Result = 'Infos Nouvel Operateur:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ACIKLAMA') { Result = 'Description:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'KAMERA') { Result = 'Ouvrir Camera'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'OP_KAYDET') { Result = 'Enregistrer'; }</div><div>&nbsp; &nbsp; else if (Key == 'TALIMAT_METNI') { Result = '1. Couper l alimentation.' + #13#10 + '2. Fixer le verrou de securite.' + #13#10 + '3. Verifier les paliers.' + #13#10 + '4. Serrer et aligner.' + #13#10 + '5. Faire un essai.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_FORM_TEMIZLENDI') { Result = 'Formulaire efface.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_BELGE_NO_GIRIN') { Result = 'Veuillez saisir le N Doc avant d enregistrer !'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_DURUM_SECIN') { Result = 'Veuillez selectionner le statut !'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_BASARILI') { Result = 'ENREGISTREMENT REUSSI !'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_EKLENEN_VERI') { Result = 'Donnees ajoutees : '; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_BILGI_GIRIN') { Result = 'Veuillez d abord saisir les infos de l operateur.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_GRUP_SECIN') { Result = 'Veuillez selectionner un groupe pour l operateur.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_KAYDEDILDI') { Result = 'Operateur enregistre.'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BELGE') { Result = 'Rechercher un document...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL1') { Result = 'Code Article'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL2') { Result = 'Nom Article'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL3') { Result = 'Qte'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL4') { Result = 'Unite'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL5') { Result = 'Prix'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL6') { Result = 'Montant'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'STOK_EKLE') { Result = '+ Ajouter Stock'; }</div><div>&nbsp; &nbsp; else if (Key == 'LST_BOS') { Result = 'Aucun enregistrement de materiel trouve.'; }</div><div>&nbsp; }</div><div>&nbsp; else {&nbsp;</div><div>&nbsp; &nbsp; if (Key == 'NAV_TITLE') { Result = 'Bakım Hareketleri'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'YENI') { Result = 'Yeni'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'KAYDET') { Result = 'Kaydet'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'YAZDIR') { Result = 'Yazdır'; }</div><div>&nbsp; &nbsp; else if (Key == 'SECT1') { Result = '1. GENEL BİLGİLER'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'SECT2') { Result = 'Kullanılan Malzemeler'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'SECT3') { Result = '3. GÖRSEL'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'SECT4') { Result = '4. BAKIM TALİMATLARI'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BELGE_NO') { Result = 'Belge No:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'TARIH') { Result = 'Tarih:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_TIPI') { Result = 'Bakım Tipi:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_TURU') { Result = 'Bakım Türü:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_KODU') { Result = 'Bakım Kodu:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MAKINE_KODU') { Result = 'Makine Kodu:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAGLANTI') { Result = 'Bakım Bağlantısı:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'CARI_KODU') { Result = 'Bakım Cari Kodu:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BASLANGIC') { Result = 'Başlangıç Trh/Saat:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GIRIS_ZAMANI') { Result = 'Giriş Zamanı:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'PLANLANAN') { Result = 'Planlanan Bitiş Süresi:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_DURUMU') { Result = 'Bakım Durumu:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_YAPILDI') { Result = 'Yapıldı (Tamamlandı)'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'BAKIM_YAPILMADI') { Result = 'Yapılmadı (Bekliyor)'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'KISI_SAYISI') { Result = 'Kişi Sayısı:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'OP_GRUP') { Result = 'Operatör Grubu:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'OPERATOR') { Result = 'Sorumlu Operatör:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'OP_BILGI') { Result = 'Yeni Operatör (Ad Soyad):'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ACIKLAMA') { Result = 'Genel Açıklama:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'KAMERA') { Result = 'Kamera / Galeri Aç'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'OP_KAYDET') { Result = 'Kaydet'; }</div><div>&nbsp; &nbsp; else if (Key == 'TALIMAT_METNI') { Result = '1. Makine enerjisini kesin.' + #13#10 + '2. Guvenlik kilidini takin.' + #13#10 + '3. Rulman yataklarini kontrol edin.' + #13#10 + '4. Sikma ve hizalama yapin.' + #13#10 + '5. Test calismasi yapin.'; }</div><div>&nbsp; &nbsp; else if (Key == 'MSG_FORM_TEMIZLENDI') { Result = 'Form temizlendi.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_BELGE_NO_GIRIN') { Result = 'Lütfen kaydetmeden önce Belge No giriniz!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_DURUM_SECIN') { Result = 'Lütfen bakım durumunu seçiniz!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_BASARILI') { Result = 'KAYIT BAŞARILI!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_EKLENEN_VERI') { Result = 'Eklenen Veri: '; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_BILGI_GIRIN') { Result = 'Lütfen önce Operatör Bilgisi giriniz.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_GRUP_SECIN') { Result = 'Lütfen kaydedilecek operatörün grubunu seçiniz.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_KAYDEDILDI') { Result = 'Operatör kaydedildi.'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BELGE') { Result = 'Belge No Ara...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL1') { Result = 'Stok Kodu'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL2') { Result = 'Stok Adı'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL3') { Result = 'Miktar'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL4') { Result = 'Ölçü Br.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL5') { Result = 'Br. Fiyat'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GRID_COL6') { Result = 'Tutar'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'STOK_EKLE') { Result = '+ Stok Ekle'; }</div><div>&nbsp; &nbsp; else if (Key == 'LST_BOS') { Result = 'Malzeme kaydı bulunamadı.'; }</div><div>&nbsp; }</div><div>}</div><div><br></div><div>// =====================================================================</div><div>// --- ORTAK DOSYA FORMATINA UYGUN OKUMA MOTORU ---</div><div>// =====================================================================</div><div>void AyarlariYukle;</div><div>var</div><div>&nbsp; OkunanDosyaYolu, TemaKodu, tmpStr : String;</div><div>&nbsp; YuklenenAyarlar: TclStringList;</div><div>&nbsp; OkunanBoyutIndex: Integer;</div><div>{</div><div>&nbsp; UiFontSize = 15; OkunanFontAdi = 'Arial';</div><div>&nbsp; gAktifDilIndex = 0; TemaKodu = '0';</div><div><br></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;= 5)&nbsp;</div><div>&nbsp; &nbsp; {&nbsp;</div><div>&nbsp; &nbsp; &nbsp; TemaKodu = Clomosy.StringListItemString(YuklenenAyarlar, 0);</div><div>&nbsp; &nbsp; &nbsp; tmpStr = Clomosy.StringListItemString(YuklenenAyarlar, 1);</div><div>&nbsp; &nbsp; &nbsp; if (tmpStr &lt;&gt; '') {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; OkunanBoyutIndex = StrToInt(tmpStr);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (OkunanBoyutIndex == 0) { UiFontSize = 15; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else if (OkunanBoyutIndex == 1) { UiFontSize = 17; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else if (OkunanBoyutIndex == 2) { UiFontSize = 19; }</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; tmpStr = Clomosy.StringListItemString(YuklenenAyarlar, 2);</div><div>&nbsp; &nbsp; &nbsp; if (tmpStr &lt;&gt; '') { gAktifDilIndex = StrToInt(tmpStr); }</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; if (YuklenenAyarlar.Count &gt;= 6) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; tmpStr = Clomosy.StringListItemString(YuklenenAyarlar, 5);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (tmpStr &lt;&gt; '') { OkunanFontAdi = tmpStr; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; tmpStr = Clomosy.StringListItemString(YuklenenAyarlar, 6);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (tmpStr &lt;&gt; '') { OkunanStilIndex = StrToInt(tmpStr); }</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; if (YuklenenAyarlar &lt;&gt; nil) { YuklenenAyarlar.Free; }</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (TemaKodu == '1') { BakimForm.SetFormColor('#111827','#2563EB',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '2') { BakimForm.SetFormColor('#0F172A','#0EA5E9',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '3') { BakimForm.SetFormColor('#14532D','#22C55E',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '4') { BakimForm.SetFormColor('#312E81','#8B5CF6',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '5') { BakimForm.SetFormColor('#78350F','#F59E0B',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '6') { BakimForm.SetFormColor('#7F1D1D','#EF4444',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '7') { BakimForm.SetFormColor('#831843','#EC4899',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '8') { BakimForm.SetFormColor('#172554','#3B82F6',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '9') { BakimForm.SetFormColor('#064E3B','#10B981',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '10') { BakimForm.SetFormColor('#450A0A','#F97316',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '11') { BakimForm.SetFormColor('#082F49','#06B6D4',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '12') { BakimForm.SetFormColor('#020617','#4F46E5',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '13') { BakimForm.SetFormColor('#4A044E','#D946EF',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '14') { BakimForm.SetFormColor('#7F1D1D','#F59E0B',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '15') { BakimForm.SetFormColor('#451A03','#EAB308',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '16') { BakimForm.SetFormColor('#4C0519','#F43F5E',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '17') { BakimForm.SetFormColor('#022C22','#84CC16',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '18') { BakimForm.SetFormColor('#1E293B','#64748B',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '19') { BakimForm.SetFormColor('#2E1065','#A855F7',clGVertical); }&nbsp;</div><div>&nbsp; else if (TemaKodu == '20') { BakimForm.SetFormColor('#3F3F46','#A1A1AA',clGVertical); }&nbsp;</div><div>&nbsp; else { BakimForm.SetFormColor('#334155','#94A3B8',clGVertical); }&nbsp;</div><div><br></div><div>&nbsp; ThemeBgColor = '#FFFFFF'; ThemeBorderColor = '#CBD5E1'; ThemeTextColor = '#111827';</div><div>&nbsp; if (TemaKodu == '0') { ThemeKoyuRenk = '#334155'; ThemeAcikRenk = '#94A3B8'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '1') { ThemeKoyuRenk = '#111827'; ThemeAcikRenk = '#2563EB'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '2') { ThemeKoyuRenk = '#0F172A'; ThemeAcikRenk = '#0EA5E9'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '3') { ThemeKoyuRenk = '#14532D'; ThemeAcikRenk = '#22C55E'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '4') { ThemeKoyuRenk = '#312E81'; ThemeAcikRenk = '#8B5CF6'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '5') { ThemeKoyuRenk = '#78350F'; ThemeAcikRenk = '#F59E0B'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '6') { ThemeKoyuRenk = '#7F1D1D'; ThemeAcikRenk = '#EF4444'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '7') { ThemeKoyuRenk = '#831843'; ThemeAcikRenk = '#EC4899'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '8') { ThemeKoyuRenk = '#172554'; ThemeAcikRenk = '#3B82F6'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '9') { ThemeKoyuRenk = '#064E3B'; ThemeAcikRenk = '#10B981'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '10') { ThemeKoyuRenk = '#450A0A'; ThemeAcikRenk = '#F97316'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '11') { ThemeKoyuRenk = '#082F49'; ThemeAcikRenk = '#06B6D4'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '12') { ThemeKoyuRenk = '#020617'; ThemeAcikRenk = '#4F46E5'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '13') { ThemeKoyuRenk = '#4A044E'; ThemeAcikRenk = '#D946EF'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '14') { ThemeKoyuRenk = '#7F1D1D'; ThemeAcikRenk = '#F59E0B'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '15') { ThemeKoyuRenk = '#451A03'; ThemeAcikRenk = '#EAB308'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '16') { ThemeKoyuRenk = '#4C0519'; ThemeAcikRenk = '#F43F5E'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '17') { ThemeKoyuRenk = '#022C22'; ThemeAcikRenk = '#84CC16'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '18') { ThemeKoyuRenk = '#1E293B'; ThemeAcikRenk = '#64748B'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '19') { ThemeKoyuRenk = '#2E1065'; ThemeAcikRenk = '#A855F7'; }&nbsp;</div><div>&nbsp; else if (TemaKodu == '20') { ThemeKoyuRenk = '#3F3F46'; ThemeAcikRenk = '#A1A1AA'; }</div><div>}</div><div><br></div><div>// =====================================================================</div><div>// TEMA VE STİL PROSEDÜRLERİ&nbsp;</div><div>// =====================================================================</div><div>void StyleMainCard(APanel: TclProPanel); { APanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(ThemeBgColor); APanel.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeBorderColor); APanel.clProSettings.BorderWidth = 1;</div><div>&nbsp; APanel.clProSettings.IsFill = True; APanel.clProSettings.IsRound = True; APanel.clProSettings.RoundHeight = 16; APanel.clProSettings.RoundWidth = 16; APanel.SetclProSettings(APanel.clProSettings); }</div><div>void StyleHeaderBar(APanel: TclProPanel); { APanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(ThemeKoyuRenk);</div><div>&nbsp; APanel.clProSettings.BorderWidth = 0; APanel.clProSettings.IsFill = True; APanel.SetclProSettings(APanel.clProSettings); }</div><div><br></div><div>void StyleTopBtnYeni(AButton: TClProButton);</div><div>{ AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#6B7280'); AButton.clProSettings.FontColor = clAlphaColor.clWhite; AButton.clProSettings.BorderWidth = 0; AButton.clProSettings.IsFill = True; AButton.clProSettings.IsRound = True; AButton.clProSettings.RoundHeight = 8;</div><div>&nbsp; AButton.clProSettings.RoundWidth = 8; AButton.clProSettings.FontSize = UiFontSize; AButton.clProSettings.FontName = OkunanFontAdi; AButton.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; AButton.SetclProSettings(AButton.clProSettings); }</div><div>void StyleTopBtnKaydet(AButton: TClProButton); { AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#6B7280');</div><div>&nbsp; AButton.clProSettings.FontColor = clAlphaColor.clWhite; AButton.clProSettings.BorderWidth = 0; AButton.clProSettings.IsFill = True; AButton.clProSettings.IsRound = True; AButton.clProSettings.RoundHeight = 8; AButton.clProSettings.RoundWidth = 8;</div><div>&nbsp; AButton.clProSettings.FontSize = UiFontSize; AButton.clProSettings.FontName = OkunanFontAdi; AButton.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; AButton.SetclProSettings(AButton.clProSettings); }</div><div>void StyleTopBtnYazdir(AButton: TClProButton); { AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#6B7280'); AButton.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; AButton.clProSettings.BorderWidth = 0; AButton.clProSettings.IsFill = True; AButton.clProSettings.IsRound = True; AButton.clProSettings.RoundHeight = 8; AButton.clProSettings.RoundWidth = 8; AButton.clProSettings.FontSize = UiFontSize;</div><div>&nbsp; AButton.clProSettings.FontName = OkunanFontAdi; AButton.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; AButton.SetclProSettings(AButton.clProSettings); }</div><div><br></div><div>void StyleActionButton(AButton: TClProButton); { AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F8FAFC'); AButton.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor); AButton.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeBorderColor);</div><div>&nbsp; AButton.clProSettings.BorderWidth = 1; AButton.clProSettings.IsFill = True; AButton.clProSettings.IsRound = True; AButton.clProSettings.RoundHeight = 8; AButton.clProSettings.RoundWidth = 8; AButton.clProSettings.FontSize = UiFontSize;</div><div>&nbsp; AButton.clProSettings.FontName = OkunanFontAdi; AButton.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; AButton.SetclProSettings(AButton.clProSettings); }</div><div>void StylePrimaryButton(AButton: TClProButton); { AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(ThemeKoyuRenk); AButton.clProSettings.FontColor = clAlphaColor.clWhite; AButton.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeKoyuRenk);</div><div>&nbsp; AButton.clProSettings.BorderWidth = 1; AButton.clProSettings.IsFill = True; AButton.clProSettings.IsRound = True; AButton.clProSettings.RoundHeight = 8; AButton.clProSettings.RoundWidth = 8; AButton.clProSettings.FontSize = UiFontSize;</div><div>&nbsp; AButton.clProSettings.FontName = OkunanFontAdi; AButton.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; AButton.SetclProSettings(AButton.clProSettings); }</div><div>void StyleDangerButton(AButton: TClProButton); { AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#EF4444'); AButton.clProSettings.FontColor = clAlphaColor.clWhite; AButton.clProSettings.BorderWidth = 0;</div><div>&nbsp; AButton.clProSettings.IsFill = True; AButton.clProSettings.IsRound = True; AButton.clProSettings.RoundHeight = 8; AButton.clProSettings.RoundWidth = 8; AButton.clProSettings.FontSize = UiFontSize; AButton.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; AButton.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; AButton.SetclProSettings(AButton.clProSettings); }</div><div><br></div><div>void StyleUncoloredOutlineButton(AButton: TClProButton);&nbsp;</div><div>{&nbsp;</div><div>&nbsp; AButton.clProSettings.FontColor = clAlphaColor.clHexToColor('#334155');&nbsp;</div><div>&nbsp; AButton.clProSettings.BorderColor = clAlphaColor.clHexToColor('#94A3B8');&nbsp;</div><div>&nbsp; AButton.clProSettings.BorderWidth = 2;&nbsp;</div><div>&nbsp; AButton.clProSettings.IsFill = False;&nbsp;</div><div>&nbsp; AButton.clProSettings.IsRound = True;&nbsp;</div><div>&nbsp; AButton.clProSettings.RoundHeight = 8;&nbsp;</div><div>&nbsp; AButton.clProSettings.RoundWidth = 8;&nbsp;</div><div>&nbsp; AButton.clProSettings.FontSize = UiFontSize;&nbsp;</div><div>&nbsp; AButton.clProSettings.FontName = OkunanFontAdi;&nbsp;</div><div>&nbsp; AButton.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;&nbsp;</div><div>&nbsp; AButton.SetclProSettings(AButton.clProSettings);&nbsp;</div><div>}</div><div><br></div><div>void StyleInputPanel(APanel: TclProPanel); { APanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F8FAFC'); APanel.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeBorderColor); APanel.clProSettings.BorderWidth = 1; APanel.clProSettings.IsFill = True;</div><div>&nbsp; APanel.clProSettings.IsRound = True; APanel.clProSettings.RoundHeight = 8; APanel.clProSettings.RoundWidth = 8; APanel.SetclProSettings(APanel.clProSettings); }</div><div>void StyleInputLabel(ALabel: TClProLabel); { ALabel.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor); ALabel.clProSettings.FontSize = UiFontSize;</div><div>&nbsp; ALabel.clProSettings.FontName = OkunanFontAdi; if (OkunanStilIndex == 0) { ALabel.clProSettings.TextSettings.Font.Style = &#091;&#093;;</div><div>&nbsp; } else if (OkunanStilIndex == 1) { ALabel.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; } ALabel.SetclProSettings(ALabel.clProSettings); }</div><div>void StyleInputEdit(AEdit: TclProEdit); { AEdit.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor);</div><div>&nbsp; AEdit.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeBorderColor); AEdit.clProSettings.BackgroundColor = clAlphaColor.clWhite; AEdit.clProSettings.BorderWidth = 1; AEdit.clProSettings.IsFill = True; AEdit.clProSettings.IsRound = True; AEdit.clProSettings.RoundHeight = 6;</div><div>&nbsp; AEdit.clProSettings.RoundWidth = 6; AEdit.clProSettings.FontSize = UiFontSize; AEdit.clProSettings.FontName = OkunanFontAdi; AEdit.SetclProSettings(AEdit.clProSettings); }</div><div>void StyleReadonlyEdit(AEdit: TclProEdit); {&nbsp;</div><div>&nbsp; AEdit.clProSettings.FontColor = clAlphaColor.clHexToColor('#000000');</div><div>&nbsp; AEdit.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeBorderColor);&nbsp;</div><div>&nbsp; AEdit.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#E2E8F0');&nbsp;</div><div>&nbsp; AEdit.clProSettings.BorderWidth = 1;&nbsp;</div><div>&nbsp; AEdit.clProSettings.IsFill = True;&nbsp;</div><div>&nbsp; AEdit.clProSettings.IsRound = True;&nbsp;</div><div>&nbsp; AEdit.clProSettings.RoundHeight = 6;</div><div>&nbsp; AEdit.clProSettings.RoundWidth = 6;&nbsp;</div><div>&nbsp; AEdit.clProSettings.FontSize = UiFontSize + 1;&nbsp;</div><div>&nbsp; AEdit.clProSettings.FontName = OkunanFontAdi;&nbsp;</div><div>&nbsp; AEdit.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;&nbsp;</div><div>&nbsp; AEdit.SetclProSettings(AEdit.clProSettings);&nbsp;</div><div>}</div><div>void StyleInputFocus; var FocusEdit: TclProEdit;</div><div>{ FocusEdit = TclProEdit(BakimForm.ClSender); FocusEdit.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeAcikRenk); FocusEdit.clProSettings.BorderWidth = 2; FocusEdit.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF'); FocusEdit.SetclProSettings(FocusEdit.clProSettings); }</div><div>void StyleInputBlur; var BlurEdit: TclProEdit;</div><div>{ BlurEdit = TclProEdit(BakimForm.ClSender); StyleInputEdit(BlurEdit); }</div><div>void BindInputFocus(AEdit: TclProEdit); { BakimForm.AddNewEvent(AEdit, tbeOnEnter, 'StyleInputFocus'); BakimForm.AddNewEvent(AEdit, tbeOnExit, 'StyleInputBlur'); }</div><div><br></div><div>void KlvKisiSayisi; { StyleInputFocus;</div><div>&nbsp; ScrollForm.ScrollTo(0, 10000); ScrollForm.ScrollTo(0, -587); }</div><div>void KlvOperatorBilgisi; { StyleInputFocus; ScrollForm.ScrollTo(0, 10000); ScrollForm.ScrollTo(0, -773); }</div><div>void KlvAciklama; { StyleInputFocus; ScrollForm.ScrollTo(0, 10000); ScrollForm.ScrollTo(0, -836);</div><div>}</div><div><br></div><div>void StyleSectionTitle(ALabel: TClProLabel); { ALabel.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeKoyuRenk); ALabel.clProSettings.FontSize = UiFontSize + 2; ALabel.clProSettings.FontName = OkunanFontAdi; ALabel.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; ALabel.SetclProSettings(ALabel.clProSettings);</div><div>}</div><div><br></div><div>// =====================================================================</div><div>// FONKSİYONLAR, BUTONLAR VE İŞLEMLER</div><div>// =====================================================================</div><div>void GoBack; { BakimForm.Close; }</div><div>void SetCurrentDateTime; { EdtTarih.Text = DateToStr(Now); EdtBaslangic.Text = DateToStr(Now);</div><div>&nbsp; EdtBaslangicSaat.Text = TimeToStr(Now); EdtGirisZamani.Text = DateToStr(Now) + ' ' + TimeToStr(Now); }</div><div><br></div><div>// TABLOYU DOLDURAN FONKSİYON</div><div>void GridGuncelle;</div><div>{</div><div>&nbsp; if (MyJsonItems == '') {&nbsp;</div><div>&nbsp; &nbsp; ListGrid.clLoadProListViewDataFromDataset(Clomosy.ClDataSetFromJSON('&#091;{"MAIN_TEXT":"' + GetText('LST_BOS') + '"}&#093;'));&nbsp;</div><div>&nbsp; }</div><div>&nbsp; else {&nbsp;</div><div>&nbsp; &nbsp; ListGrid.clLoadProListViewDataFromDataset(Clomosy.ClDataSetFromJSON(MyJsonItems));</div><div>&nbsp; }</div><div>}</div><div><br></div><div>// =====================================================================</div><div>// SQL REHBER SİSTEMİ</div><div>// =====================================================================</div><div>void OnRehberArama;</div><div>{</div><div>&nbsp; if (DataRehber == nil) { Exit; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (EdtAramaRehber.Text == '')&nbsp;</div><div>&nbsp; {&nbsp;</div><div>&nbsp; &nbsp; DataRehber.Filtered = False;&nbsp;</div><div>&nbsp; &nbsp; DataRehber.Filter = '';</div><div>&nbsp; }</div><div>&nbsp; else&nbsp;</div><div>&nbsp; {&nbsp;</div><div>&nbsp; &nbsp; DataRehber.Filter = 'MAIN_TEXT Like ' + Chr(39) + '%' + EdtAramaRehber.Text + '%' + Chr(39);</div><div>&nbsp; &nbsp; DataRehber.Filtered = True;&nbsp;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void OnRehberSec;</div><div>var SecilenDeger: String;</div><div>{&nbsp;</div><div>&nbsp; SecilenDeger = LsvRehber.clSelectedItemData(clCaption);</div><div>&nbsp; if (GlobalLookupType == 'BELGE')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtBelgeNo.Text = SecilenDeger;</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'MAKINE')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtMakineKodu.Text = SecilenDeger;</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'BAKIM')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtBakimKodu.Text = SecilenDeger;</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'BAGLANTI')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtBaglanti.Text = SecilenDeger;</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'CARI')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtCariKodu.Text = SecilenDeger;</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'FILTRE_KOD')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtFiltreStokKodu.Text = SecilenDeger;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; RehberForm.Close;</div><div>}</div><div><br></div><div>void BuildRehberForm;</div><div>var&nbsp;</div><div>&nbsp; RehberDP: TclProListViewDesignerPanel;&nbsp;</div><div>&nbsp; RehberLblMain: TclProLabel;</div><div>&nbsp; RehberLblSub: TclProLabel;</div><div>&nbsp; NS: String;</div><div>{</div><div>&nbsp; gCounter = gCounter + 1;</div><div>&nbsp; NS = IntToStr(gCounter);</div><div><br></div><div>&nbsp; RehberForm = TclForm.Create(Self);&nbsp;</div><div>&nbsp; RehberForm.SetFormColor(ThemeKoyuRenk, ThemeAcikRenk, clGVertical);</div><div>&nbsp;&nbsp;</div><div>&nbsp; EdtAramaRehber = RehberForm.AddNewProEdit(RehberForm, 'EdtAramaRehber' + NS, 'Ara...');&nbsp;</div><div>&nbsp; EdtAramaRehber.Align = alTop; EdtAramaRehber.Margins.Top = 10; EdtAramaRehber.Margins.Left = 10; EdtAramaRehber.Margins.Right = 10; EdtAramaRehber.Height = 40;</div><div>&nbsp; EdtAramaRehber.clProSettings.FontSize = 14;</div><div>&nbsp; RehberForm.AddNewEvent(EdtAramaRehber, tbeOnChange, 'OnRehberArama');</div><div><br></div><div>&nbsp; LsvRehber = RehberForm.AddNewProListView(RehberForm, 'LsvRehber' + NS);&nbsp;</div><div>&nbsp; LsvRehber.Align = alClient; LsvRehber.Margins.Top = 10; LsvRehber.ListType = 'vertical';</div><div>&nbsp; LsvRehber.clProSettings.ItemHeight = 65; LsvRehber.clProSettings.ItemSpace = 5; LsvRehber.clProSettings.ColCount = 1; LsvRehber.clProSettings.ViewType = lvIcon; LsvRehber.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF'); LsvRehber.SetclProSettings(LsvRehber.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; RehberDP = RehberForm.AddNewProListViewDesignerPanel(LsvRehber, 'RehberDP' + NS);</div><div>&nbsp; RehberDP.Align = alTop; RehberDP.Height = 60; RehberDP.Width = 350; RehberDP.clProSettings.BackgroundColor = clAlphaColor.clWhite; RehberDP.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeBorderColor); RehberDP.clProSettings.BorderWidth = 1;</div><div>&nbsp; RehberDP.clProSettings.IsRound = True; RehberDP.clProSettings.RoundHeight = 8; RehberDP.clProSettings.RoundWidth = 8; RehberDP.SetclProSettings(RehberDP.clProSettings);</div><div><br></div><div>&nbsp; // NOT: Veri bağlamasının (JSON) kusursuz çalışması için label isimleri sabit bırakıldı ('MAIN_TEXT', 'SUB_TEXT')</div><div>&nbsp; RehberLblMain = RehberForm.AddNewProLabel(RehberDP, 'MAIN_TEXT', ''); RehberLblMain.Align = alTop;</div><div>&nbsp; RehberLblMain.Height = 25; RehberLblMain.Margins.Left = 10; RehberLblMain.Margins.Top = 5; RehberLblMain.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor); RehberLblMain.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; RehberLblMain.clProSettings.FontSize = UiFontSize; RehberLblMain.SetclProSettings(RehberLblMain.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; RehberLblSub = RehberForm.AddNewProLabel(RehberDP, 'SUB_TEXT', ''); RehberLblSub.Align = alTop; RehberLblSub.Height = 25; RehberLblSub.Margins.Left = 10; RehberLblSub.clProSettings.FontColor = clAlphaColor.clHexToColor('#64748B');</div><div>&nbsp; RehberLblSub.clProSettings.FontSize = UiFontSize - 2; RehberLblSub.SetclProSettings(RehberLblSub.clProSettings);</div><div><br></div><div>&nbsp; RehberDP.AddPanelObject(RehberLblMain, clCaption); RehberDP.AddPanelObject(RehberLblSub, clText); LsvRehber.SetDesignerPanel(RehberDP);</div><div>&nbsp; RehberForm.AddNewEvent(LsvRehber, tbeOnItemClick, 'OnRehberSec');</div><div>}</div><div><br></div><div>void OpenRehber;</div><div>var&nbsp;</div><div>&nbsp; JsonStr: String;</div><div>&nbsp; q: TclSQLQuery;</div><div>{</div><div>&nbsp; Clomosy.DBSQLServerConnect('SQL Server','192.168.1.39','sa','1','ATIKER_YAZILIM',50000);</div><div>&nbsp; BuildRehberForm;</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (GlobalLookupType == 'FILTRE_KOD')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = 'Stok Kodu Seç...';</div><div>&nbsp; &nbsp; JsonStr = '&#091;';</div><div>&nbsp; &nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SELECT TOP 100 STOK_KODU AS KOD, REPLACE(REPLACE(STOK_ADI, CHAR(34), ''''), CHAR(92), '''') AS ADI FROM &#091;PRG_VIEW_STREHBER&#093; WITH(NOLOCK) WHERE ISNULL(PASIF_KART,0)=0 ORDER BY STOK_KODU COLLATE SQL_Latin1_General_CP1_CI_AS ASC';</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 (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + q.FieldByName('KOD').AsString + '", ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '"SUB_TEXT":"' + q.FieldByName('ADI').AsString + '"}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; }</div><div>&nbsp; &nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'BELGE')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = GetText('ARA_BELGE');</div><div>&nbsp; &nbsp; JsonStr = '&#091;';</div><div><br></div><div>&nbsp; &nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'SELECT * FROM (SELECT TOP 100 PERCENT BELGE_NO,TARIH,MAKINE_KODU, REPLACE(REPLACE(MAKINE_ADI, CHAR(34), ''''), CHAR(92), '''') AS MAKINE_ADI,BAKIM_KODU,BAKIM_ACIKLAMA,BAS_TAR,BAS_SAAT,BIT_TAR,BIT_SAAT ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'FROM &#091;TBLURTBAKIMHR&#093; WITH (NOLOCK) ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'INNER JOIN &#091;TBLURTMAKINESB&#093; WITH (NOLOCK) ON MAKINE_KODU_RECID = TBLURTMAKINESB.REC_NO ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'INNER JOIN &#091;TBLURTBAKIMSB&#093; WITH (NOLOCK) ON BAKIM_KODU_RECID = TBLURTBAKIMSB.REC_NO) AS REHBERSQL ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'ORDER BY BELGE_NO COLLATE SQL_Latin1_General_CP1_CI_AS ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</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 (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + q.FieldByName('BELGE_NO').AsString + '", ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '"SUB_TEXT":"Makine: ' + q.FieldByName('MAKINE_KODU').AsString + ' - ' + q.FieldByName('MAKINE_ADI').AsString + '"}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;</div><div>&nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; }</div><div>&nbsp; &nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'MAKINE')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = GetText('ARA_MAKINE');</div><div>&nbsp; &nbsp; JsonStr = '&#091;';</div><div>&nbsp; &nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'SELECT * FROM (SELECT TOP 100 PERCENT MAKINE_KODU, REPLACE(REPLACE(MAKINE_ADI, CHAR(34), ''''), CHAR(92), '''') AS MAKINE_ADI FROM &#091;TBLURTMAKINESB&#093; WITH (NOLOCK) ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'WHERE REC_NO IN (SELECT MAKINE_RECID FROM &#091;TBLURTMAKINEKULLANICI&#093; WITH (NOLOCK) WHERE KULLANICI_NO=1) ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'AND ISNULL(PASIF_KART,0) = 0 ) AS REHBERSQL ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'ORDER BY MAKINE_KODU SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</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 (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + q.FieldByName('MAKINE_KODU').AsString + '", ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '"SUB_TEXT":"' + q.FieldByName('MAKINE_ADI').AsString + '"}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;</div><div>&nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; }</div><div>&nbsp; &nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'BAKIM')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = GetText('ARA_BAKIM');</div><div>&nbsp; &nbsp; JsonStr = '&#091;';</div><div>&nbsp; &nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'SELECT * FROM (SELECT TOP 100 PERCENT BAKIM_KODU, REPLACE(REPLACE(BAKIM_ACIKLAMA, CHAR(34), ''''), CHAR(92), '''') AS BAKIM_ACIKLAMA ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'FROM &#091;TBLURTBAKIMSB&#093; WITH (NOLOCK) ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'WHERE BAKIMTIP IS NULL AND BAKIM_TURU IS NULL) AS REHBERSQL ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'ORDER BY BAKIM_KODU ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</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 (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + q.FieldByName('BAKIM_KODU').AsString + '", ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '"SUB_TEXT":"' + q.FieldByName('BAKIM_ACIKLAMA').AsString + '"}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;</div><div>&nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; }</div><div>&nbsp; &nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'BAGLANTI')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = GetText('ARA_BAGLANTI');</div><div>&nbsp; &nbsp; JsonStr = '&#091;';</div><div>&nbsp; &nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'SELECT * FROM (SELECT TOP 100 PERCENT TARIH FROM PrgFn_MakBakTakvimOlustur (''04.13.2026'',''0'', 12,''G'',1) ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'WHERE CONVERT(VARCHAR,TARIH,104) NOT IN (SELECT ISNULL(BAKIM_BAGLANTI_ALAN,'''') FROM &#091;TBLURTBAKIMHR&#093; WITH (NOLOCK) ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'WHERE BAKIM_KODU_RECID= 7 AND MAKINE_KODU_RECID=1 AND PERIYOT_TIPI=2 AND BAKIM_BAGLANTI_ALAN&lt;&gt;''16.04.2026'') ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;') AS REHBERSQL ORDER BY TARIH ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</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 (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + q.FieldByName('TARIH').AsString + '", ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '"SUB_TEXT":""}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;</div><div>&nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; }</div><div>&nbsp; &nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'CARI')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = GetText('ARA_CARI');</div><div>&nbsp; &nbsp; JsonStr = '&#091;';</div><div>&nbsp; &nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'SELECT * FROM (SELECT TOP 100 PERCENT CARI_KODU, REPLACE(REPLACE(CARI_ADI, CHAR(34), ''''), CHAR(92), '''') AS CARI_ADI FROM &#091;TBLCARISB&#093; WITH (NOLOCK) ) AS REHBERSQL ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'ORDER BY CARI_KODU COLLATE SQL_Latin1_General_CP1_CI_AS ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</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 (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + q.FieldByName('CARI_KODU').AsString + '", ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '"SUB_TEXT":"' + q.FieldByName('CARI_ADI').AsString + '"}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;</div><div>&nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; }</div><div>&nbsp; &nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div><br></div><div>&nbsp; DataRehber = Clomosy.ClDataSetFromJSON(JsonStr);</div><div>&nbsp; LsvRehber.clLoadProListViewDataFromDataset(DataRehber);</div><div>&nbsp; RehberForm.Run;</div><div>}</div><div><br></div><div>void BtnRehberBelgeClick; { GlobalLookupType = 'BELGE'; OpenRehber; }</div><div>void BtnBakimKoduRehberClick; { GlobalLookupType = 'BAKIM'; OpenRehber; }</div><div>void BtnMakineKoduRehberClick; { GlobalLookupType = 'MAKINE'; OpenRehber; }</div><div>void BtnBaglantiRehberClick; { GlobalLookupType = 'BAGLANTI'; OpenRehber; }</div><div>void BtnCariKoduRehberClick; { GlobalLookupType = 'CARI'; OpenRehber; }</div><div>void BtnKodRehberClick; { GlobalLookupType = 'FILTRE_KOD'; OpenRehber; }</div><div><br></div><div><br></div><div>// =====================================================================</div><div>// STOK FILTRELEME &amp; EKLEME İŞLEMLERİ&nbsp;</div><div>// =====================================================================</div><div>void OnFiltreKisitSecildi;</div><div>{</div><div>&nbsp; SecilenStokKodu = LsvKisitUyanlar.clSelectedItemData(clCaption);</div><div>&nbsp; SecilenStokAdi = LsvKisitUyanlar.clSelectedItemData(clText);</div><div>&nbsp; EdtBilesenMiktar.Text = '1';</div><div>}</div><div><br></div><div>void FormBilesenEkleClick;</div><div>var&nbsp;</div><div>&nbsp; YeniBilesen: String;</div><div>{</div><div>&nbsp; if (SecilenStokKodu == '') { ShowMessage('Lütfen önce yukarıdaki listeden bir stok seçiniz!'); Exit; }</div><div>&nbsp; if (EdtBilesenMiktar.Text == '') { ShowMessage('Lütfen eklenecek miktarı giriniz!'); Exit; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (JsonEkleneceklerHavuzu &lt;&gt; '') { JsonEkleneceklerHavuzu = JsonEkleneceklerHavuzu + ','; }</div><div>&nbsp; YeniBilesen = '{"MAIN_TEXT":"' + SecilenStokKodu + '", "SUB_TEXT":"' + SecilenStokAdi + '", "TEXT1":"' + EdtBilesenMiktar.Text + '", "TEXT2":"Adet", "TEXT3":"0.00", "TEXT4":"0.00"}';</div><div>&nbsp; JsonEkleneceklerHavuzu = JsonEkleneceklerHavuzu + YeniBilesen;</div><div>&nbsp;&nbsp;</div><div>&nbsp; LsvEklenecekler.clLoadProListViewDataFromDataset(Clomosy.ClDataSetFromJSON('&#091;' + JsonEkleneceklerHavuzu + '&#093;'));</div><div>&nbsp; SecilenStokKodu = ''; SecilenStokAdi = ''; EdtBilesenMiktar.Text = '';</div><div>}</div><div><br></div><div>void FormAktarClick;</div><div>var&nbsp;</div><div>&nbsp; AnaHavuz: String;</div><div>{</div><div>&nbsp; if (JsonEkleneceklerHavuzu == '') { ShowMessage('Aktarılacak bileşen bulunamadı.'); Exit; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; AnaHavuz = Trim(MyJsonItems);</div><div>&nbsp;&nbsp;</div><div>&nbsp; if ((AnaHavuz == '') || (AnaHavuz == '&#091;&#093;')) {</div><div>&nbsp; &nbsp; &nbsp;AnaHavuz = '&#091;' + JsonEkleneceklerHavuzu + '&#093;';</div><div>&nbsp; } else {</div><div>&nbsp; &nbsp; &nbsp;AnaHavuz = Copy(AnaHavuz, 1, Length(AnaHavuz) - 1) + ',' + JsonEkleneceklerHavuzu + '&#093;';</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; MyJsonItems = AnaHavuz;</div><div>&nbsp; GridGuncelle;</div><div>&nbsp;&nbsp;</div><div>&nbsp; ShowMessage('Malzemeler tabloya başarıyla aktarıldı!');</div><div>&nbsp; StokFiltreForm.Close;</div><div>&nbsp;&nbsp;</div><div>&nbsp; ScrollForm.ScrollTo(0, 10000);&nbsp;</div><div>&nbsp; ScrollForm.ScrollTo(0, -1100);&nbsp;</div><div>}</div><div><br></div><div>void FormFiltreAraClick;</div><div>var</div><div>&nbsp; q: TclSQLQuery;</div><div>&nbsp; JsonStr: String;</div><div>&nbsp; FStr: String;</div><div>&nbsp; SearchKodu: String;</div><div>{</div><div>&nbsp; SearchKodu = EdtFiltreStokKodu.Text;</div><div>&nbsp; if (SearchKodu == 'Stok Kodu Ara...') { SearchKodu = ''; }</div><div><br></div><div>&nbsp; FStr = '1=1 AND ISNULL(PASIF_KART,0)=0';</div><div>&nbsp; if (SearchKodu &lt;&gt; '') { FStr = FStr + ' AND STOK_KODU LIKE ''%' + SearchKodu + '%'''; }</div><div><br></div><div>&nbsp; JsonStr = '&#091;';</div><div>&nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; try</div><div>&nbsp; &nbsp; Clomosy.DBSQLServerConnect('SQL Server','192.168.1.39','sa','1','ATIKER_YAZILIM',50000);</div><div>&nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; q.SQL.Text = 'SELECT TOP 100 STOK_KODU, REPLACE(REPLACE(STOK_ADI, CHAR(34), ''''), CHAR(92), '''') AS STOK_ADI FROM &#091;PRG_VIEW_STREHBER&#093; WITH (NOLOCK) WHERE ' + FStr + ' ORDER BY STOK_KODU COLLATE SQL_Latin1_General_CP1_CI_AS ASC';</div><div>&nbsp; &nbsp; q.Open;</div><div><br></div><div>&nbsp; &nbsp; while (not q.Eof)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; if (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + q.FieldByName('STOK_KODU').AsString + '", ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '"SUB_TEXT":"' + q.FieldByName('STOK_ADI').AsString + '"}';</div><div>&nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; finally</div><div>&nbsp; &nbsp; q.Free;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayıt Bulunamadı", "SUB_TEXT":"Kriterlere uygun stok yok."}&#093;'; }</div><div>&nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div><br></div><div>&nbsp; LsvKisitUyanlar.clLoadProListViewDataFromDataset(Clomosy.ClDataSetFromJSON(JsonStr));</div><div>}</div><div>void BuildStokFiltreForm;</div><div>var</div><div>&nbsp; NS: String;</div><div>{</div><div>&nbsp; // Her açılışta benzersiz bir isim suffix'i (NS) üretilir</div><div>&nbsp; gCounter = gCounter + 1;</div><div>&nbsp; NS = IntToStr(gCounter);</div><div><br></div><div>&nbsp; JsonEkleneceklerHavuzu = '';&nbsp;</div><div>&nbsp; SecilenStokKodu = '';&nbsp;</div><div>&nbsp; SecilenStokAdi = '';</div><div><br></div><div>&nbsp; // Form her seferinde temiz ve sıfır bir pointer ile oluşturulur</div><div>&nbsp; StokFiltreForm = TclForm.Create(Self);&nbsp;</div><div>&nbsp; StokFiltreForm.SetFormColor(ThemeBgColor, ThemeBgColor, clGVertical);</div><div><br></div><div>&nbsp; PnlFiltreSag = StokFiltreForm.AddNewProPanel(StokFiltreForm, 'PnlFiltreSag' + NS);&nbsp;</div><div>&nbsp; PnlFiltreSag.Align = alClient;</div><div><br></div><div>&nbsp; PnlFiltreSagUst = StokFiltreForm.AddNewProPanel(PnlFiltreSag, 'PnlFiltreSagUst' + NS);</div><div>&nbsp; PnlFiltreSagUst.Align = alTop; PnlFiltreSagUst.Height = 300; PnlFiltreSagUst.Margins.Bottom = 10;</div><div>&nbsp; StyleInputPanel(PnlFiltreSagUst);</div><div><br></div><div>&nbsp; PnlFiltreAramaKutu = StokFiltreForm.AddNewProPanel(PnlFiltreSagUst, 'PnlFiltreAramaKutu' + NS);</div><div>&nbsp; PnlFiltreAramaKutu.Align = alTop; PnlFiltreAramaKutu.Height = 65; PnlFiltreAramaKutu.Margins.Top = 10;</div><div>&nbsp; PnlFiltreAramaKutu.Margins.Left = 10; PnlFiltreAramaKutu.Margins.Right = 10;</div><div>&nbsp; StyleInputPanel(PnlFiltreAramaKutu);</div><div><br></div><div>&nbsp; LblFiltreStokKodu = StokFiltreForm.AddNewProLabel(PnlFiltreAramaKutu, 'LblFiltreStokKodu' + NS, 'Stok Kodu (Rehberden Seçin)');</div><div>&nbsp; LblFiltreStokKodu.Align = alTop; LblFiltreStokKodu.Height = 18; LblFiltreStokKodu.Margins.Left = 10; LblFiltreStokKodu.Margins.Top = 6; StyleInputLabel(LblFiltreStokKodu);</div><div><br></div><div>&nbsp; BtnFiltreAra = StokFiltreForm.AddNewProButton(PnlFiltreAramaKutu, 'BtnFiltreAra' + NS, 'Listele');</div><div>&nbsp; BtnFiltreAra.Align = alRight; BtnFiltreAra.Width = 80; BtnFiltreAra.Margins.Right = 10; BtnFiltreAra.Margins.Bottom = 7;</div><div>&nbsp; StylePrimaryButton(BtnFiltreAra); StokFiltreForm.AddNewEvent(BtnFiltreAra, tbeOnClick, 'FormFiltreAraClick');</div><div><br></div><div>&nbsp; BtnKodRehber = StokFiltreForm.AddNewProButton(PnlFiltreAramaKutu, 'BtnKodRehber' + NS, '&#128269;');</div><div>&nbsp; BtnKodRehber.Align = alRight; BtnKodRehber.Width = 45; BtnKodRehber.Margins.Right = 5; BtnKodRehber.Margins.Bottom = 7;</div><div>&nbsp; StyleActionButton(BtnKodRehber); StokFiltreForm.AddNewEvent(BtnKodRehber, tbeOnClick, 'BtnKodRehberClick');</div><div><br></div><div>&nbsp; EdtFiltreStokKodu = StokFiltreForm.AddNewProEdit(PnlFiltreAramaKutu, 'EdtFiltreStokKodu' + NS, '');</div><div>&nbsp; EdtFiltreStokKodu.Align = alClient; EdtFiltreStokKodu.Margins.Left = 10; EdtFiltreStokKodu.Margins.Right = 5; EdtFiltreStokKodu.Margins.Bottom = 7; StyleInputEdit(EdtFiltreStokKodu);</div><div><br></div><div>&nbsp; LsvKisitUyanlar = StokFiltreForm.AddNewProListView(PnlFiltreSagUst, 'LsvKisitUyanlar' + NS);&nbsp;</div><div>&nbsp; LsvKisitUyanlar.Align = alClient; LsvKisitUyanlar.Margins.Top = 10; LsvKisitUyanlar.Margins.Left = 10; LsvKisitUyanlar.Margins.Right = 10; LsvKisitUyanlar.Margins.Bottom = 10;</div><div>&nbsp; LsvKisitUyanlar.ListType = 'vertical'; LsvKisitUyanlar.clProSettings.ItemHeight = 40;</div><div>&nbsp; LsvKisitDP = StokFiltreForm.AddNewProListViewDesignerPanel(LsvKisitUyanlar, 'LsvKisitDP' + NS); LsvKisitDP.Align = alTop; LsvKisitDP.Height = 40;</div><div><br></div><div>&nbsp; // Tüm iç component isimlerine çakışmayı engellemek için "+ NS" eklendi</div><div>&nbsp; LblKisitD1 = StokFiltreForm.AddNewProLabel(LsvKisitDP, 'LblKisitD1' + NS, ''); LblKisitD1.Align = alLeft; LblKisitD1.Width = 100;</div><div>&nbsp; LblKisitD2 = StokFiltreForm.AddNewProLabel(LsvKisitDP, 'LblKisitD2' + NS, ''); LblKisitD2.Align = alClient; LblKisitD2.Margins.Left = 10;</div><div>&nbsp; LsvKisitDP.AddPanelObject(LblKisitD1, clCaption); LsvKisitDP.AddPanelObject(LblKisitD2, clText);</div><div>&nbsp; LsvKisitUyanlar.SetDesignerPanel(LsvKisitDP);</div><div>&nbsp; StokFiltreForm.AddNewEvent(LsvKisitUyanlar, tbeOnItemClick, 'OnFiltreKisitSecildi');</div><div><br></div><div>&nbsp; PnlFiltreSagAlt = StokFiltreForm.AddNewProPanel(PnlFiltreSag, 'PnlFiltreSagAlt' + NS);</div><div>&nbsp; PnlFiltreSagAlt.Align = alClient; StyleInputPanel(PnlFiltreSagAlt);</div><div><br></div><div>&nbsp; PnlAktarKutu = StokFiltreForm.AddNewProPanel(PnlFiltreSagAlt, 'PnlAktarKutu' + NS);</div><div>&nbsp; PnlAktarKutu.Align = alBottom; PnlAktarKutu.Height = 50; PnlAktarKutu.Margins.Bottom = 10;</div><div>&nbsp; BtnAktar = StokFiltreForm.AddNewProButton(PnlAktarKutu, 'BtnAktar' + NS, 'Aktar &gt;&gt;');</div><div>&nbsp; BtnAktar.Align = alRight; BtnAktar.Width = 120; BtnAktar.Margins.Right = 10;</div><div>&nbsp; StylePrimaryButton(BtnAktar); StokFiltreForm.AddNewEvent(BtnAktar, tbeOnClick, 'FormAktarClick');</div><div><br></div><div>&nbsp; PnlEklemeKutu = StokFiltreForm.AddNewProPanel(PnlFiltreSagAlt, 'PnlEklemeKutu' + NS);</div><div>&nbsp; PnlEklemeKutu.Align = alTop; PnlEklemeKutu.Height = 50; PnlEklemeKutu.Margins.Top = 10;</div><div><br></div><div>&nbsp; BtnBilesenEkle = StokFiltreForm.AddNewProButton(PnlEklemeKutu, 'BtnBilesenEkle' + NS, 'Bileşen Ekle');</div><div>&nbsp; BtnBilesenEkle.Align = alRight; BtnBilesenEkle.Width = 100; BtnBilesenEkle.Margins.Right = 10;</div><div>&nbsp; StyleActionButton(BtnBilesenEkle); StokFiltreForm.AddNewEvent(BtnBilesenEkle, tbeOnClick, 'FormBilesenEkleClick');</div><div><br></div><div>&nbsp; EdtBilesenMiktar = StokFiltreForm.AddNewProEdit(PnlEklemeKutu, 'EdtBilesenMiktar' + NS, '1');</div><div>&nbsp; EdtBilesenMiktar.Align = alRight; EdtBilesenMiktar.Width = 80; EdtBilesenMiktar.Margins.Right = 10; StyleInputEdit(EdtBilesenMiktar);</div><div><br></div><div>&nbsp; LsvEklenecekler = StokFiltreForm.AddNewProListView(PnlFiltreSagAlt, 'LsvEklenecekler' + NS);&nbsp;</div><div>&nbsp; LsvEklenecekler.Align = alClient; LsvEklenecekler.Margins.Top = 10; LsvEklenecekler.Margins.Left = 10; LsvEklenecekler.Margins.Right = 10; LsvEklenecekler.Margins.Bottom = 10;</div><div>&nbsp; LsvEklenecekler.ListType = 'vertical'; LsvEklenecekler.clProSettings.ItemHeight = 40;</div><div>&nbsp; LsvEklenecekDP = StokFiltreForm.AddNewProListViewDesignerPanel(LsvEklenecekler, 'LsvEklenecekDP' + NS); LsvEklenecekDP.Align = alTop; LsvEklenecekDP.Height = 40;</div><div><br></div><div>&nbsp; LblEkleD1 = StokFiltreForm.AddNewProLabel(LsvEklenecekDP, 'LblEkleD1' + NS, ''); LblEkleD1.Align = alLeft; LblEkleD1.Width = 100;</div><div>&nbsp; LblEkleD2 = StokFiltreForm.AddNewProLabel(LsvEklenecekDP, 'LblEkleD2' + NS, ''); LblEkleD2.Align = alLeft; LblEkleD2.Width = 150; LblEkleD2.Margins.Left = 10;</div><div>&nbsp; LblEkleD3 = StokFiltreForm.AddNewProLabel(LsvEklenecekDP, 'LblEkleD3' + NS, ''); LblEkleD3.Align = alClient; LblEkleD3.Margins.Left = 10;</div><div><br></div><div>&nbsp; LsvEklenecekDP.AddPanelObject(LblEkleD1, clCaption); LsvEklenecekDP.AddPanelObject(LblEkleD2, clText); LsvEklenecekDP.AddPanelObject(LblEkleD3, clText1);</div><div>&nbsp; LsvEklenecekler.SetDesignerPanel(LsvEklenecekDP);</div><div><br></div><div>&nbsp; // Bu satırlar artık tamamen taze ve yeni üretilmiş olan listview referanslarını tetiklediği için asla çökmeyecek</div><div>&nbsp; LsvKisitUyanlar.clLoadProListViewDataFromDataset(Clomosy.ClDataSetFromJSON('&#091;{"MAIN_TEXT":"Stok Kodu Ara...", "SUB_TEXT":""}&#093;'));</div><div>&nbsp; LsvEklenecekler.clLoadProListViewDataFromDataset(Clomosy.ClDataSetFromJSON('&#091;{"MAIN_TEXT":"Eklenecek Stok Yok", "SUB_TEXT":""}&#093;'));</div><div><br></div><div>&nbsp; StokFiltreForm.Run;</div><div>}</div><div><br></div><div><br></div><div>// =====================================================================</div><div>// FONTA GÖRE TABLO GENİŞLİĞİNİ OTOMATİK AYARLAYAN MÜKEMMEL SİSTEM</div><div>// =====================================================================</div><div>void ApplyFontScale;</div><div>{</div><div>&nbsp; LblNavTitle.clProSettings.FontSize = UiFontSize + 4; LblNavTitle.clProSettings.FontName = OkunanFontAdi; LblNavTitle.SetclProSettings(LblNavTitle.clProSettings);</div><div>&nbsp; StyleInputLabel(LblBelgeNo); StyleInputLabel(LblTarih); StyleInputLabel(LblBakimTipi); StyleInputLabel(LblBakimTuru); StyleInputLabel(LblBakimKodu);</div><div>&nbsp; StyleInputLabel(LblMakineKodu); StyleInputLabel(LblBaglanti); StyleInputLabel(LblCariKodu); StyleInputLabel(LblBaslangic);</div><div>&nbsp; StyleInputLabel(LblGirisZamani); StyleInputLabel(LblPlanlananBitis);</div><div>&nbsp; StyleInputLabel(LblBakimDurumu); StyleInputLabel(LblKisiSayisi); StyleInputLabel(LblOperatorGrup); StyleInputLabel(LblOperator); StyleInputLabel(LblOperatorBilgisi); StyleInputLabel(LblAciklama);</div><div>&nbsp;&nbsp;</div><div>&nbsp; StyleReadonlyEdit(EdtBelgeNo); StyleReadonlyEdit(EdtTarih); StyleReadonlyEdit(EdtBakimKodu);</div><div>&nbsp; StyleReadonlyEdit(EdtMakineKodu); StyleReadonlyEdit(EdtBaglanti); StyleReadonlyEdit(EdtCariKodu); StyleReadonlyEdit(EdtBaslangic); StyleReadonlyEdit(EdtBaslangicSaat); StyleReadonlyEdit(EdtGirisZamani);</div><div>&nbsp;&nbsp;</div><div>&nbsp; StyleInputEdit(EdtKisiSayisi); StyleInputEdit(EdtOperatorBilgisi); StyleInputEdit(EdtAciklama);</div><div>&nbsp; StyleSectionTitle(LblSect1Title); StyleSectionTitle(LblGridTitle); StyleSectionTitle(LblPhotoTitle); StyleSectionTitle(LblTalimatTitle);</div><div>&nbsp;&nbsp;</div><div>&nbsp; MemTabContent.TextSettings.Font.Size = UiFontSize;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // DİNAMİK TABLO GENİŞLETME İŞLEMLERİ</div><div>&nbsp; if (LblCol1 &lt;&gt; nil) {</div><div>&nbsp; &nbsp; if (UiFontSize == 15) {&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; PnlGridContainer.Width = 600; ListGrid.clProSettings.ItemHeight = 40; ListGridDesigner.Height = 40; PnlGridHeader.Height = 40;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; LblCol1.Width = 100; LblD1.Width = 100; LblCol2.Width = 150; LblD2.Width = 150; LblCol3.Width = 60; LblD3.Width = 60; LblCol4.Width = 70; LblD4.Width = 70; LblCol5.Width = 80; LblD5.Width = 80;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else if (UiFontSize == 17) {&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; PnlGridContainer.Width = 750; ListGrid.clProSettings.ItemHeight = 50; ListGridDesigner.Height = 50; PnlGridHeader.Height = 50;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; LblCol1.Width = 120; LblD1.Width = 120; LblCol2.Width = 200; LblD2.Width = 200; LblCol3.Width = 75; LblD3.Width = 75; LblCol4.Width = 85; LblD4.Width = 85; LblCol5.Width = 100; LblD5.Width = 100;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else {&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; PnlGridContainer.Width = 900; ListGrid.clProSettings.ItemHeight = 60; ListGridDesigner.Height = 60; PnlGridHeader.Height = 60;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; LblCol1.Width = 140; LblD1.Width = 140; LblCol2.Width = 250; LblD2.Width = 250; LblCol3.Width = 90; LblD3.Width = 90; LblCol4.Width = 100; LblD4.Width = 100; LblCol5.Width = 120; LblD5.Width = 120;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; LblCol1.clProSettings.FontSize = UiFontSize; LblCol1.SetclProSettings(LblCol1.clProSettings);</div><div>&nbsp; &nbsp; LblCol2.clProSettings.FontSize = UiFontSize; LblCol2.SetclProSettings(LblCol2.clProSettings);</div><div>&nbsp; &nbsp; LblCol3.clProSettings.FontSize = UiFontSize; LblCol3.SetclProSettings(LblCol3.clProSettings);</div><div>&nbsp; &nbsp; LblCol4.clProSettings.FontSize = UiFontSize; LblCol4.SetclProSettings(LblCol4.clProSettings);</div><div>&nbsp; &nbsp; LblCol5.clProSettings.FontSize = UiFontSize; LblCol5.SetclProSettings(LblCol5.clProSettings);</div><div>&nbsp; &nbsp; LblCol6.clProSettings.FontSize = UiFontSize; LblCol6.SetclProSettings(LblCol6.clProSettings);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; LblD1.clProSettings.FontSize = UiFontSize; LblD1.SetclProSettings(LblD1.clProSettings);</div><div>&nbsp; &nbsp; LblD2.clProSettings.FontSize = UiFontSize; LblD2.SetclProSettings(LblD2.clProSettings);</div><div>&nbsp; &nbsp; LblD3.clProSettings.FontSize = UiFontSize; LblD3.SetclProSettings(LblD3.clProSettings);</div><div>&nbsp; &nbsp; LblD4.clProSettings.FontSize = UiFontSize; LblD4.SetclProSettings(LblD4.clProSettings);</div><div>&nbsp; &nbsp; LblD5.clProSettings.FontSize = UiFontSize; LblD5.SetclProSettings(LblD5.clProSettings);</div><div>&nbsp; &nbsp; LblD6.clProSettings.FontSize = UiFontSize; LblD6.SetclProSettings(LblD6.clProSettings);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; ListGrid.SetclProSettings(ListGrid.clProSettings);</div><div>&nbsp; &nbsp; PnlGridHeader.SetclProSettings(PnlGridHeader.clProSettings);</div><div>&nbsp; &nbsp; ListGridDesigner.SetclProSettings(ListGridDesigner.clProSettings);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; GridGuncelle;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>// =====================================================================</div><div>// DİNAMİK ARAYÜZ YÖNETİCİSİ</div><div>// =====================================================================</div><div>void ApplyUiSettings;</div><div>{</div><div>&nbsp; LblNavTitle.Text = GetText('NAV_TITLE');</div><div>&nbsp; BtnYeni.Text = GetText('YENI'); BtnKaydet.Text = GetText('KAYDET'); BtnYazdir.Text = GetText('YAZDIR');</div><div>&nbsp;&nbsp;</div><div>&nbsp; LblSect1Title.Text = GetText('SECT1');&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; LblBelgeNo.Text = GetText('BELGE_NO');</div><div>&nbsp; LblTarih.Text = GetText('TARIH');</div><div>&nbsp; LblBakimTipi.Text = GetText('BAKIM_TIPI'); LblBakimTuru.Text = GetText('BAKIM_TURU');</div><div>&nbsp; LblBakimKodu.Text = GetText('BAKIM_KODU'); LblMakineKodu.Text = GetText('MAKINE_KODU');</div><div>&nbsp; LblBaglanti.Text = GetText('BAGLANTI');</div><div>&nbsp; LblCariKodu.Text = GetText('CARI_KODU');</div><div>&nbsp; LblBaslangic.Text = GetText('BASLANGIC'); LblGirisZamani.Text = GetText('GIRIS_ZAMANI');</div><div>&nbsp; LblPlanlananBitis.Text = GetText('PLANLANAN'); LblBakimDurumu.Text = GetText('BAKIM_DURUMU');&nbsp;</div><div>&nbsp; LblKisiSayisi.Text = GetText('KISI_SAYISI');</div><div>&nbsp; LblOperatorGrup.Text = GetText('OP_GRUP'); LblOperator.Text = GetText('OPERATOR');</div><div>&nbsp; LblOperatorBilgisi.Text = GetText('OP_BILGI'); LblAciklama.Text = GetText('ACIKLAMA');</div><div>&nbsp; LblGridTitle.Text = GetText('SECT2'); LblPhotoTitle.Text = GetText('SECT3');</div><div>&nbsp; BtnResimCek.Text = GetText('KAMERA'); LblTalimatTitle.Text = GetText('SECT4');</div><div>&nbsp; BtnOperatorKaydet.Text = GetText('OP_KAYDET');</div><div>&nbsp;&nbsp;</div><div>&nbsp; MemTabContent.Text = GetText('TALIMAT_METNI');</div><div><br></div><div>&nbsp; CmbBakimDurumu.Items.Clear;</div><div>&nbsp; CmbBakimDurumu.AddItem(GetText('BAKIM_YAPILDI'), 'Tamamlandi');</div><div>&nbsp; CmbBakimDurumu.AddItem(GetText('BAKIM_YAPILMADI'), 'Bekliyor');</div><div><br></div><div>&nbsp; CmbBakimTipi.Items.Clear;</div><div>&nbsp; CmbBakimTuru.Items.Clear;</div><div>&nbsp; CmbPlanlananBitis.Items.Clear;</div><div>&nbsp; CmbOperatorGrup.Items.Clear;</div><div>&nbsp; CmbYeniOperatorGrup.Items.Clear;</div><div><br></div><div>&nbsp; if (gAktifDilIndex == 1) { // İNGİLİZCE LİSTELER</div><div>&nbsp; &nbsp; CmbBakimTipi.AddItem('Machine Maintenance', 'Makine Bakimi');</div><div>&nbsp; &nbsp; CmbBakimTipi.AddItem('Mold Maintenance', 'Kalip Bakimi'); CmbBakimTipi.AddItem('Auxiliary Eq. Maintenance', 'Yardimci Ekipman Bakimi'); CmbBakimTipi.AddItem('Calibration', 'Kalibrasyon Bakimi'); CmbBakimTipi.AddItem('Verification', 'Dogrulama');</div><div>&nbsp; &nbsp; CmbBakimTuru.AddItem('Breakdown', 'Arizi'); CmbBakimTuru.AddItem('Periodic', 'Periyodik');</div><div>&nbsp; &nbsp; CmbBakimTuru.AddItem('Predictive', 'Kestirimci');</div><div>&nbsp; &nbsp; CmbPlanlananBitis.AddItem('Hourly', 'Saat'); CmbPlanlananBitis.AddItem('Daily', 'Günlük'); CmbPlanlananBitis.AddItem('Weekly', 'Haftalık');</div><div>&nbsp; &nbsp; CmbOperatorGrup.AddItem('All', 'ALL'); CmbOperatorGrup.AddItem('Group A', 'A'); CmbOperatorGrup.AddItem('Group B', 'B'); CmbOperatorGrup.AddItem('Group C', 'C');</div><div>&nbsp; &nbsp; CmbYeniOperatorGrup.AddItem('Group A', 'A'); CmbYeniOperatorGrup.AddItem('Group B', 'B'); CmbYeniOperatorGrup.AddItem('Group C', 'C');</div><div>&nbsp; }&nbsp;</div><div>&nbsp; else if (gAktifDilIndex == 2) { // ALMANCA LİSTELER</div><div>&nbsp; &nbsp; CmbBakimTipi.AddItem('Maschinenwartung', 'Makine Bakimi');</div><div>&nbsp; &nbsp; CmbBakimTipi.AddItem('Formenwartung', 'Kalip Bakimi'); CmbBakimTipi.AddItem('Zusatzgeräte-Wartung', 'Yardimci Ekipman Bakimi'); CmbBakimTipi.AddItem('Kalibrierung', 'Kalibrasyon Bakimi'); CmbBakimTipi.AddItem('Verifizierung', 'Dogrulama');</div><div>&nbsp; &nbsp; CmbBakimTuru.AddItem('Ausfall', 'Arizi'); CmbBakimTuru.AddItem('Periodisch', 'Periyodik'); CmbBakimTuru.AddItem('Prädiktiv', 'Kestirimci');</div><div>&nbsp; &nbsp; CmbPlanlananBitis.AddItem('Stündlich', 'Saat');</div><div>&nbsp; &nbsp; CmbPlanlananBitis.AddItem('Täglich', 'Günlük'); CmbPlanlananBitis.AddItem('Wöchentlich', 'Haftalık');</div><div>&nbsp; &nbsp; CmbOperatorGrup.AddItem('Alle', 'ALL'); CmbOperatorGrup.AddItem('Gruppe A', 'A'); CmbOperatorGrup.AddItem('Gruppe B', 'B'); CmbOperatorGrup.AddItem('Gruppe C', 'C');</div><div>&nbsp; &nbsp; CmbYeniOperatorGrup.AddItem('Gruppe A', 'A');</div><div>&nbsp; &nbsp; CmbYeniOperatorGrup.AddItem('Gruppe B', 'B'); CmbYeniOperatorGrup.AddItem('Gruppe C', 'C');</div><div>&nbsp; }</div><div>&nbsp; else if (gAktifDilIndex == 3) { // FRANSIZCA LİSTELER</div><div>&nbsp; &nbsp; CmbBakimTipi.AddItem('Maintenance Machine', 'Makine Bakimi');</div><div>&nbsp; &nbsp; CmbBakimTipi.AddItem('Maintenance Moule', 'Kalip Bakimi'); CmbBakimTipi.AddItem('Maintenance Équip. Aux.', 'Yardimci Ekipman Bakimi'); CmbBakimTipi.AddItem('Étalonnage', 'Kalibrasyon Bakimi'); CmbBakimTipi.AddItem('Vérification', 'Dogrulama');</div><div>&nbsp; &nbsp; CmbBakimTuru.AddItem('Panne', 'Arizi'); CmbBakimTuru.AddItem('Périodique', 'Periyodik');</div><div>&nbsp; &nbsp; CmbBakimTuru.AddItem('Prédictif', 'Kestirimci');</div><div>&nbsp; &nbsp; CmbPlanlananBitis.AddItem('Horaire', 'Saat'); CmbPlanlananBitis.AddItem('Quotidien', 'Günlük'); CmbPlanlananBitis.AddItem('Hebdomadaire', 'Haftalık');</div><div>&nbsp; &nbsp; CmbOperatorGrup.AddItem('Tout', 'ALL'); CmbOperatorGrup.AddItem('Groupe A', 'A'); CmbOperatorGrup.AddItem('Groupe B', 'B'); CmbOperatorGrup.AddItem('Groupe C', 'C');</div><div>&nbsp; &nbsp; CmbYeniOperatorGrup.AddItem('Groupe A', 'A'); CmbYeniOperatorGrup.AddItem('Groupe B', 'B'); CmbYeniOperatorGrup.AddItem('Groupe C', 'C');</div><div>&nbsp; }</div><div>&nbsp; else { // TÜRKÇE LİSTELER (Varsayılan ve Diğerleri)</div><div>&nbsp; &nbsp; CmbBakimTipi.AddItem('Makine Bakimi', 'Makine Bakimi');</div><div>&nbsp; &nbsp; CmbBakimTipi.AddItem('Kalip Bakimi', 'Kalip Bakimi'); CmbBakimTipi.AddItem('Yardimci Ekipman Bakimi', 'Yardimci Ekipman Bakimi'); CmbBakimTipi.AddItem('Kalibrasyon Bakimi', 'Kalibrasyon Bakimi'); CmbBakimTipi.AddItem('Dogrulama', 'Dogrulama');</div><div>&nbsp; &nbsp; CmbBakimTuru.AddItem('Arizi', 'Arizi'); CmbBakimTuru.AddItem('Periyodik', 'Periyodik');</div><div>&nbsp; &nbsp; CmbBakimTuru.AddItem('Kestirimci', 'Kestirimci');</div><div>&nbsp; &nbsp; CmbPlanlananBitis.AddItem('Saat', 'Saat'); CmbPlanlananBitis.AddItem('Günlük', 'Günlük'); CmbPlanlananBitis.AddItem('Haftalık', 'Haftalık');</div><div>&nbsp; &nbsp; CmbOperatorGrup.AddItem('Hepsi', 'ALL'); CmbOperatorGrup.AddItem('A Grubu', 'A'); CmbOperatorGrup.AddItem('B Grubu', 'B'); CmbOperatorGrup.AddItem('C Grubu', 'C');</div><div>&nbsp; &nbsp; CmbYeniOperatorGrup.AddItem('A Grubu', 'A'); CmbYeniOperatorGrup.AddItem('B Grubu', 'B'); CmbYeniOperatorGrup.AddItem('C Grubu', 'C');</div><div>&nbsp; }</div><div><br></div><div>&nbsp; CmbBakimDurumu.ItemIndex = 0; CmbBakimTipi.ItemIndex = 0; CmbBakimTuru.ItemIndex = 0;</div><div>&nbsp; CmbPlanlananBitis.ItemIndex = 0; CmbOperatorGrup.ItemIndex = 0; CmbYeniOperatorGrup.ItemIndex = -1;</div><div><br></div><div>&nbsp; // TABLO BAŞLIK ÇEVİRİLERİNİ AKTARALIM</div><div>&nbsp; if (LblCol1 &lt;&gt; nil) {</div><div>&nbsp; &nbsp; LblCol1.Text = GetText('GRID_COL1');</div><div>&nbsp; &nbsp; LblCol2.Text = GetText('GRID_COL2');</div><div>&nbsp; &nbsp; LblCol3.Text = GetText('GRID_COL3');</div><div>&nbsp; &nbsp; LblCol4.Text = GetText('GRID_COL4');</div><div>&nbsp; &nbsp; LblCol5.Text = GetText('GRID_COL5');</div><div>&nbsp; &nbsp; LblCol6.Text = GetText('GRID_COL6');</div><div>&nbsp; }</div><div>&nbsp; if (BtnStokEkleAnaForm &lt;&gt; nil) { BtnStokEkleAnaForm.Text = GetText('STOK_EKLE'); }</div><div><br></div><div>&nbsp; if (gTabletModuAktif == 1) {</div><div>&nbsp; &nbsp; if (gTabletYonIndex == 0) {&nbsp;</div><div>&nbsp; &nbsp; &nbsp; PnlMainCard.Margins.Left = 60;</div><div>&nbsp; &nbsp; &nbsp; PnlMainCard.Margins.Right = 60; PnlMainCard.Height = 2450;&nbsp;</div><div>&nbsp; &nbsp; } else {&nbsp;</div><div>&nbsp; &nbsp; &nbsp; PnlMainCard.Margins.Left = 35;</div><div>&nbsp; &nbsp; &nbsp; PnlMainCard.Margins.Right = 35; PnlMainCard.Height = 2050;&nbsp;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; } else {&nbsp;</div><div>&nbsp; &nbsp; PnlMainCard.Margins.Left = 12;</div><div>&nbsp; &nbsp; PnlMainCard.Margins.Right = 12; PnlMainCard.Height = 2050;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; ApplyFontScale;</div><div>}</div><div><br></div><div>void OnFormGoster;</div><div>{</div><div>&nbsp; AyarlariYukle;</div><div>&nbsp; ApplyUiSettings;</div><div>}</div><div><br></div><div>// =====================================================================</div><div>// SIFIR HATA, %100 UYUMLU "TABLO" TASARIMI (TClProListView ile)</div><div>// =====================================================================</div><div>void MalzemeListeSablonHazirla;</div><div>{</div><div>&nbsp; // 1. Yatay ScrollBox: Mobilde dar ekranlarda tablonun yana kaymasını sağlar</div><div>&nbsp; HScrollGrid = BakimForm.AddNewHorzScrollBox(PnlMainCard, 'HScrollGrid');</div><div>&nbsp; HScrollGrid.Align = alTop;</div><div>&nbsp; HScrollGrid.Height = 250;</div><div>&nbsp; HScrollGrid.Margins.Left = 10; HScrollGrid.Margins.Right = 10;&nbsp;</div><div>&nbsp; HScrollGrid.Margins.Top = 10; // Başlık ile aradaki boşluk</div><div>&nbsp;&nbsp;</div><div>&nbsp; // 2. Taşıyıcı Panel: Grid'in genişliğini sabitler (Kaydırmayı tetikler)</div><div>&nbsp; PnlGridContainer = BakimForm.AddNewProPanel(HScrollGrid, 'PnlGridContainer');</div><div>&nbsp; PnlGridContainer.Align = alLeft;&nbsp;</div><div>&nbsp; PnlGridContainer.Width = 600;</div><div>&nbsp; PnlGridContainer.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeBorderColor);</div><div>&nbsp; PnlGridContainer.clProSettings.BorderWidth = 1;</div><div>&nbsp; PnlGridContainer.SetclProSettings(PnlGridContainer.clProSettings);</div><div><br></div><div>&nbsp; // 3. Tablo Başlık (Header) Paneli</div><div>&nbsp; PnlGridHeader = BakimForm.AddNewProPanel(PnlGridContainer, 'PnlGridHeader');</div><div>&nbsp; PnlGridHeader.Align = alTop; PnlGridHeader.Height = 40;</div><div>&nbsp; PnlGridHeader.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F1F5F9');</div><div>&nbsp; PnlGridHeader.SetclProSettings(PnlGridHeader.clProSettings);</div><div><br></div><div>&nbsp; // BAŞLIK HÜCRELERİ</div><div>&nbsp; LblCol1 = BakimForm.AddNewProLabel(PnlGridHeader, 'LblCol1', 'Stok Kodu');</div><div>&nbsp; LblCol1.Align = alLeft; LblCol1.Width = 100; LblCol1.Margins.Left = 5;&nbsp;</div><div>&nbsp; LblCol1.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor); LblCol1.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; LblCol1.SetclProSettings(LblCol1.clProSettings);</div><div><br></div><div>&nbsp; LblCol2 = BakimForm.AddNewProLabel(PnlGridHeader, 'LblCol2', 'Stok Adı');</div><div>&nbsp; LblCol2.Align = alLeft; LblCol2.Width = 150;&nbsp;</div><div>&nbsp; LblCol2.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor); LblCol2.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; LblCol2.SetclProSettings(LblCol2.clProSettings);</div><div><br></div><div>&nbsp; LblCol3 = BakimForm.AddNewProLabel(PnlGridHeader, 'LblCol3', 'Miktar');</div><div>&nbsp; LblCol3.Align = alLeft; LblCol3.Width = 60;&nbsp;</div><div>&nbsp; LblCol3.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor); LblCol3.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; LblCol3.SetclProSettings(LblCol3.clProSettings);</div><div><br></div><div>&nbsp; LblCol4 = BakimForm.AddNewProLabel(PnlGridHeader, 'LblCol4', 'Birim');</div><div>&nbsp; LblCol4.Align = alLeft; LblCol4.Width = 70;&nbsp;</div><div>&nbsp; LblCol4.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor); LblCol4.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; LblCol4.SetclProSettings(LblCol4.clProSettings);</div><div><br></div><div>&nbsp; LblCol5 = BakimForm.AddNewProLabel(PnlGridHeader, 'LblCol5', 'Fiyat');</div><div>&nbsp; LblCol5.Align = alLeft; LblCol5.Width = 80;&nbsp;</div><div>&nbsp; LblCol5.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor); LblCol5.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; LblCol5.SetclProSettings(LblCol5.clProSettings);</div><div><br></div><div>&nbsp; LblCol6 = BakimForm.AddNewProLabel(PnlGridHeader, 'LblCol6', 'Tutar');</div><div>&nbsp; LblCol6.Align = alClient;&nbsp;</div><div>&nbsp; LblCol6.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor); LblCol6.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; LblCol6.SetclProSettings(LblCol6.clProSettings);</div><div><br></div><div>&nbsp; // 4. SATIRLAR İÇİN LISTVIEW BİLEŞENİ</div><div>&nbsp; ListGrid = BakimForm.AddNewProListView(PnlGridContainer, 'ListGrid');&nbsp;</div><div>&nbsp; ListGrid.Align = alClient;</div><div>&nbsp; ListGrid.ListType = 'vertical'; ListGrid.clProSettings.ColCount = 1;</div><div>&nbsp; ListGrid.clProSettings.ItemHeight = 40;&nbsp;</div><div>&nbsp; ListGrid.clProSettings.ItemSpace = 0;&nbsp;</div><div>&nbsp; ListGrid.SetclProSettings(ListGrid.clProSettings);</div><div><br></div><div>&nbsp; // 5. SATIR İÇİ HÜCRE TASARIMLARI (Tasarım Şablonu)</div><div>&nbsp; ListGridDesigner = BakimForm.AddNewProListViewDesignerPanel(ListGrid, 'ListGridDesigner');&nbsp;</div><div>&nbsp; ListGridDesigner.Align = alTop; ListGridDesigner.Height = 40; ListGridDesigner.Width = 600;&nbsp;</div><div>&nbsp; ListGridDesigner.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; ListGridDesigner.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeBorderColor); ListGridDesigner.clProSettings.BorderWidth = 1;&nbsp;</div><div>&nbsp; ListGridDesigner.SetclProSettings(ListGridDesigner.clProSettings);</div><div><br></div><div>&nbsp; LblD1 = BakimForm.AddNewProLabel(ListGridDesigner, 'MAIN_TEXT', '');</div><div>&nbsp; LblD1.Align = alLeft; LblD1.Width = 100; LblD1.Margins.Left = 5;&nbsp;</div><div>&nbsp; LblD1.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor); LblD1.SetclProSettings(LblD1.clProSettings);</div><div><br></div><div>&nbsp; LblD2 = BakimForm.AddNewProLabel(ListGridDesigner, 'SUB_TEXT', '');</div><div>&nbsp; LblD2.Align = alLeft; LblD2.Width = 150;&nbsp;</div><div>&nbsp; LblD2.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor); LblD2.SetclProSettings(LblD2.clProSettings);</div><div><br></div><div>&nbsp; LblD3 = BakimForm.AddNewProLabel(ListGridDesigner, 'TEXT1', '');</div><div>&nbsp; LblD3.Align = alLeft; LblD3.Width = 60;&nbsp;</div><div>&nbsp; LblD3.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor); LblD3.SetclProSettings(LblD3.clProSettings);</div><div><br></div><div>&nbsp; LblD4 = BakimForm.AddNewProLabel(ListGridDesigner, 'TEXT2', '');</div><div>&nbsp; LblD4.Align = alLeft; LblD4.Width = 70;&nbsp;</div><div>&nbsp; LblD4.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor); LblD4.SetclProSettings(LblD4.clProSettings);</div><div><br></div><div>&nbsp; LblD5 = BakimForm.AddNewProLabel(ListGridDesigner, 'TEXT3', '');</div><div>&nbsp; LblD5.Align = alLeft; LblD5.Width = 80;&nbsp;</div><div>&nbsp; LblD5.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor); LblD5.SetclProSettings(LblD5.clProSettings);</div><div><br></div><div>&nbsp; LblD6 = BakimForm.AddNewProLabel(ListGridDesigner, 'TEXT4', '');</div><div>&nbsp; LblD6.Align = alClient;&nbsp;</div><div>&nbsp; LblD6.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor); LblD6.SetclProSettings(LblD6.clProSettings);</div><div><br></div><div>&nbsp; // STANDART CLOMOSY VERİ BAĞLANTILARI</div><div>&nbsp; ListGridDesigner.AddPanelObject(LblD1, clCaption);&nbsp;</div><div>&nbsp; ListGridDesigner.AddPanelObject(LblD2, clText);&nbsp;</div><div>&nbsp; ListGridDesigner.AddPanelObject(LblD3, clText1);&nbsp;</div><div>&nbsp; ListGridDesigner.AddPanelObject(LblD4, clText2);&nbsp;</div><div>&nbsp; ListGridDesigner.AddPanelObject(LblD5, clText3);&nbsp;</div><div>&nbsp; ListGridDesigner.AddPanelObject(LblD6, clText4);&nbsp;</div><div><br></div><div>&nbsp; ListGrid.SetDesignerPanel(ListGridDesigner);</div><div>}</div><div><br></div><div>void OperatorGrupDegisti;</div><div>{</div><div>&nbsp; CmbOperator.Items.Clear;</div><div>&nbsp; if (CmbOperatorGrup.ItemIndex == 0) { CmbOperator.AddItem('A1 - Ahmet Yilmaz (Mekanik)', 'A1'); CmbOperator.AddItem('A2 - Mehmet Kaya (Elektrik)', 'A2');</div><div>&nbsp; &nbsp; CmbOperator.AddItem('B1 - Veli Demir (Genel)', 'B1'); CmbOperator.AddItem('B2 - Ayse Celik (Genel)', 'B2'); CmbOperator.AddItem('C1 - Hasan Polat (Motor)', 'C1');</div><div>&nbsp; &nbsp; if (KayitliOperatorA &lt;&gt; '') { CmbOperator.AddItem(KayitliOperatorA + ' (Kendi Kaydi)', 'USR_A');</div><div>&nbsp; &nbsp; } if (KayitliOperatorB &lt;&gt; '') { CmbOperator.AddItem(KayitliOperatorB + ' (Kendi Kaydi)', 'USR_B');</div><div>&nbsp; &nbsp; } if (KayitliOperatorC &lt;&gt; '') { CmbOperator.AddItem(KayitliOperatorC + ' (Kendi Kaydi)', 'USR_C');</div><div>&nbsp; &nbsp; } }</div><div>&nbsp; else if (CmbOperatorGrup.ItemIndex == 1) { CmbOperator.AddItem('A1 - Ahmet Yilmaz (Mekanik)', 'A1');</div><div>&nbsp; &nbsp; CmbOperator.AddItem('A2 - Mehmet Kaya (Elektrik)', 'A2'); if (KayitliOperatorA &lt;&gt; '') { CmbOperator.AddItem(KayitliOperatorA + ' (Kendi Kaydi)', 'USR_A');</div><div>&nbsp; &nbsp; } }</div><div>&nbsp; else if (CmbOperatorGrup.ItemIndex == 2) { CmbOperator.AddItem('B1 - Veli Demir (Genel)', 'B1');</div><div>&nbsp; &nbsp; CmbOperator.AddItem('B2 - Ayse Celik (Genel)', 'B2'); if (KayitliOperatorB &lt;&gt; '') { CmbOperator.AddItem(KayitliOperatorB + ' (Kendi Kaydi)', 'USR_B');</div><div>&nbsp; &nbsp; } }</div><div>&nbsp; else if (CmbOperatorGrup.ItemIndex == 3) { CmbOperator.AddItem('C1 - Hasan Polat (Motor)', 'C1');</div><div>&nbsp; &nbsp; if (KayitliOperatorC &lt;&gt; '') { CmbOperator.AddItem(KayitliOperatorC + ' (Kendi Kaydi)', 'USR_C'); } }</div><div>&nbsp; CmbOperator.ItemIndex = -1;</div><div>}</div><div><br></div><div>void FormuTemizle;</div><div>{</div><div>&nbsp; EdtBelgeNo.Text = ''; EdtTarih.Text = DateToStr(Now);&nbsp;</div><div>&nbsp; CmbBakimDurumu.ItemIndex = -1; CmbBakimTipi.ItemIndex = -1; CmbBakimTuru.ItemIndex = -1; EdtBakimKodu.Text = '';</div><div>&nbsp; EdtMakineKodu.Text = ''; EdtBaglanti.Text = ''; EdtCariKodu.Text = ''; EdtBaslangic.Text = DateToStr(Now); EdtBaslangicSaat.Text = TimeToStr(Now);</div><div>&nbsp; EdtGirisZamani.Text = DateToStr(Now) + ' ' + TimeToStr(Now);</div><div>&nbsp; EdtKisiSayisi.Text = '0'; EdtOperatorBilgisi.Text = ''; CmbPlanlananBitis.ItemIndex = -1; CmbYeniOperatorGrup.ItemIndex = -1;</div><div>&nbsp; CmbOperatorGrup.ItemIndex = 0; OperatorGrupDegisti; CmbOperator.ItemIndex = -1; GridGuncelle; ImgPhoto.Bitmap = Nil;</div><div>}</div><div><br></div><div>// BÜTÜN SORUNU ÇÖZEN DOSYA SİLME İŞLEMİ BURADA EKLİ</div><div>void BtnYeniClick;&nbsp;</div><div>var&nbsp;</div><div>&nbsp; DosyaYolu: String;</div><div>&nbsp; Temizleyici: TclStringList;</div><div>{&nbsp;</div><div>&nbsp; DosyaYolu = clPathCombine('BakimVerileri.txt', Clomosy.AppFilesPath);</div><div>&nbsp; Temizleyici = Clomosy.StringListNew;</div><div>&nbsp; Temizleyici.SaveToFile(DosyaYolu, 0);</div><div>&nbsp; Temizleyici.Free;</div><div>&nbsp;&nbsp;</div><div>&nbsp; FormuTemizle;&nbsp;</div><div>&nbsp; ShowMessage('Eski veritabanı temizlendi! Artık sıfırdan kayıt yapabilirsiniz.');&nbsp;</div><div>}</div><div><br></div><div>// =====================================================================</div><div>// DOSYAYA KAYIT</div><div>// =====================================================================</div><div>void BtnKaydetClick;</div><div>var&nbsp;</div><div>&nbsp; KayitDosyasi: TclStringList;&nbsp;</div><div>&nbsp; DosyaYolu: String;&nbsp;</div><div>&nbsp; YeniKayit: String;</div><div>&nbsp; LTarih: String;</div><div>&nbsp; LAy: String;</div><div>&nbsp; LYil: String;</div><div>{&nbsp;</div><div>&nbsp; if (EdtBelgeNo.Text == '')&nbsp;</div><div>&nbsp; {&nbsp;</div><div>&nbsp; &nbsp; ShowMessage(GetText('MSG_BELGE_NO_GIRIN'));</div><div>&nbsp; }</div><div>&nbsp; else if (CmbBakimDurumu.ItemIndex == -1)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage(GetText('MSG_DURUM_SECIN'));</div><div>&nbsp; }</div><div>&nbsp; else&nbsp;</div><div>&nbsp; {&nbsp;</div><div>&nbsp; &nbsp; DosyaYolu = clPathCombine('BakimVerileri.txt', Clomosy.AppFilesPath);&nbsp;</div><div>&nbsp; &nbsp; KayitDosyasi = Clomosy.StringListNew;</div><div>&nbsp; &nbsp; if (clFileExists(DosyaYolu, ''))&nbsp;</div><div>&nbsp; &nbsp; {&nbsp;</div><div>&nbsp; &nbsp; &nbsp; KayitDosyasi.LoadFromFile(DosyaYolu, 0);</div><div>&nbsp; &nbsp; }&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; LTarih = DateToStr(Now);&nbsp;</div><div>&nbsp; &nbsp; LAy = Copy(LTarih, 4, 2);</div><div>&nbsp; &nbsp; LYil = Copy(LTarih, 7, 4);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; // YENİ FORMATLI KAYIT YAPISI (Filtre formuna %100 uyumlu sıra)</div><div>&nbsp; &nbsp; // Tur | BelgeNo | Makine | Tip | Planlanan | Durum | Ay | Yil | Periyot</div><div>&nbsp; &nbsp; YeniKayit = 'Bakım|' + EdtBelgeNo.Text + '|' + EdtMakineKodu.Text + '|' + CmbBakimTipi.Text + '|'</div><div>&nbsp; &nbsp; + LTarih + '|' + CmbBakimDurumu.Text + '|' + LAy + '|' + LYil + '|' + CmbPlanlananBitis.Text;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; KayitDosyasi.Add(YeniKayit);</div><div>&nbsp; &nbsp; KayitDosyasi.SaveToFile(DosyaYolu, 0);&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; ShowMessage(GetText('MSG_KAYIT_BASARILI') + #13#10 + GetText('MSG_EKLENEN_VERI') + YeniKayit);&nbsp;</div><div>&nbsp; &nbsp; KayitDosyasi.Free;</div><div>&nbsp; &nbsp; FormuTemizle;&nbsp;</div><div>&nbsp; }&nbsp;</div><div>}</div><div><br></div><div>void BtnYazdirClick;</div><div>{&nbsp;</div><div>&nbsp; ShowMessage(GetText('YAZDIR') + ' işlemi başlatılıyor...');&nbsp;</div><div>}</div><div><br></div><div>void BtnOperatorKaydetClick;</div><div>{&nbsp;</div><div>&nbsp; if (EdtOperatorBilgisi.Text == '') { ShowMessage(GetText('MSG_OP_BILGI_GIRIN')); }&nbsp;</div><div>&nbsp; else if (CmbYeniOperatorGrup.ItemIndex == -1) { ShowMessage(GetText('MSG_OP_GRUP_SECIN'));</div><div>&nbsp; }&nbsp;</div><div>&nbsp; else {&nbsp;</div><div>&nbsp; &nbsp; if (CmbYeniOperatorGrup.ItemIndex == 0) { KayitliOperatorA = 'A - ' + EdtOperatorBilgisi.Text;</div><div>&nbsp; &nbsp; }&nbsp;</div><div>&nbsp; &nbsp; else if (CmbYeniOperatorGrup.ItemIndex == 1) { KayitliOperatorB = 'B - ' + EdtOperatorBilgisi.Text;</div><div>&nbsp; &nbsp; }&nbsp;</div><div>&nbsp; &nbsp; else if (CmbYeniOperatorGrup.ItemIndex == 2) { KayitliOperatorC = 'C - ' + EdtOperatorBilgisi.Text;</div><div>&nbsp; &nbsp; }&nbsp;</div><div>&nbsp; &nbsp; OperatorGrupDegisti;&nbsp;</div><div>&nbsp; &nbsp; ShowMessage(GetText('MSG_OP_KAYDEDILDI'));&nbsp;</div><div>&nbsp; &nbsp; EdtOperatorBilgisi.Text = ''; CmbYeniOperatorGrup.ItemIndex = -1;&nbsp;</div><div>&nbsp; }&nbsp;</div><div>}</div><div><br></div><div>void TakePhotoClick; { Clomosy.ImageChooser(BakimForm, ImgPhoto);</div><div>}</div><div>void CmbOperatorGrupChanged; { OperatorGrupDegisti; }</div><div><br></div><div>// =====================================================================</div><div>// ANA BLOK&nbsp;</div><div>// =====================================================================</div><div>{</div><div>&nbsp; gCounter = 0; // İSİMLENDİRME SAYACI BAŞLATILDI</div><div><br></div><div>&nbsp; BakimForm = TclGameForm.Create(Self);&nbsp;</div><div>&nbsp; BakimForm.LytTopBar.Visible = False; BakimForm.BtnGoBack.Visible = False; BakimForm.BtnFormMenu.Visible = False;</div><div>&nbsp; BakimForm.AddNewEvent(BakimForm, tbeOnVirtualKeyboardShown, 'OnKeyboardShow'); BakimForm.AddNewEvent(BakimForm, tbeOnVirtualKeyboardHidden, 'OnKeyboardHide');</div><div>&nbsp;&nbsp;</div><div>&nbsp; BakimForm.AddNewEvent(BakimForm, tbeOnFormShow, 'OnFormGoster');</div><div><br></div><div>&nbsp; AyarlariYukle;</div><div>&nbsp;&nbsp;</div><div>&nbsp; KayitliOperatorA = ''; KayitliOperatorB = ''; KayitliOperatorC = '';</div><div><br></div><div>&nbsp; PnlNavBar = BakimForm.AddNewProPanel(BakimForm, 'PnlNavBar'); PnlNavBar.Align = alTop; PnlNavBar.Height = 92; StyleHeaderBar(PnlNavBar);</div><div>&nbsp;&nbsp;</div><div>&nbsp; BtnGeri = BakimForm.AddNewProButton(PnlNavBar, 'BtnGeri', '&lt;'); BtnGeri.Align = alLeft;</div><div>&nbsp; BtnGeri.Width = 48; BtnGeri.Margins.Top = 40; BtnGeri.Margins.Bottom = 0; BtnGeri.clProSettings.FontColor = clAlphaColor.clWhite; BtnGeri.clProSettings.BorderWidth = 0; BtnGeri.clProSettings.IsFill = False;</div><div>&nbsp; BtnGeri.clProSettings.FontSize = 20; BtnGeri.clProSettings.FontName = OkunanFontAdi; BtnGeri.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; BtnGeri.SetclProSettings(BtnGeri.clProSettings); BakimForm.AddNewEvent(BtnGeri, tbeOnClick, 'GoBack');</div><div>&nbsp;&nbsp;</div><div>&nbsp; LblNavTitle = BakimForm.AddNewProLabel(PnlNavBar, 'LblNavTitle', '');</div><div>&nbsp; LblNavTitle.Align = alClient; LblNavTitle.Margins.Left = 8; LblNavTitle.Margins.Top = 54; LblNavTitle.clProSettings.FontColor = clAlphaColor.clWhite; LblNavTitle.clProSettings.FontSize = UiFontSize + 4; LblNavTitle.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; LblNavTitle.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; LblNavTitle.SetclProSettings(LblNavTitle.clProSettings);</div><div><br></div><div>&nbsp; ScrollForm = BakimForm.AddNewVertScrollBox(BakimForm, 'ScrollForm'); ScrollForm.Align = alClient;</div><div>&nbsp; PnlHeaderTop = BakimForm.AddNewProPanel(ScrollForm, 'PnlHeaderTop'); PnlHeaderTop.Align = alTop;</div><div>&nbsp; PnlHeaderTop.Height = 56; StyleHeaderBar(PnlHeaderTop);</div><div>&nbsp; BtnScroll = BakimForm.AddNewHorzScrollBox(PnlHeaderTop, 'BtnScroll'); BtnScroll.Align = alClient; BtnScroll.Margins.Left = 8; BtnScroll.Margins.Right = 8;</div><div>&nbsp;&nbsp;</div><div>&nbsp; BtnYeni = BakimForm.AddNewProButton(BtnScroll, 'BtnYeni', ''); BtnYeni.Align = alLeft; BtnYeni.Width = 82;</div><div>&nbsp; BtnYeni.Margins.Left = 4; BtnYeni.Margins.Top = 9; BtnYeni.Margins.Bottom = 9; StyleTopBtnYeni(BtnYeni); BakimForm.AddNewEvent(BtnYeni, tbeOnClick, 'BtnYeniClick');&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; BtnKaydet = BakimForm.AddNewProButton(BtnScroll, 'BtnKaydet', '');</div><div>&nbsp; BtnKaydet.Align = alLeft; BtnKaydet.Width = 88; BtnKaydet.Margins.Left = 8; BtnKaydet.Margins.Top = 9; BtnKaydet.Margins.Bottom = 9; StyleTopBtnKaydet(BtnKaydet); BakimForm.AddNewEvent(BtnKaydet, tbeOnClick, 'BtnKaydetClick');</div><div>&nbsp; BtnYazdir = BakimForm.AddNewProButton(BtnScroll, 'BtnYazdir', ''); BtnYazdir.Align = alLeft; BtnYazdir.Width = 88; BtnYazdir.Margins.Left = 8; BtnYazdir.Margins.Top = 9; BtnYazdir.Margins.Bottom = 9;</div><div>&nbsp; StyleTopBtnYazdir(BtnYazdir); BakimForm.AddNewEvent(BtnYazdir, tbeOnClick, 'BtnYazdirClick');&nbsp;</div><div><br></div><div>&nbsp; PnlMainCard = BakimForm.AddNewProPanel(ScrollForm, 'PnlMainCard'); PnlMainCard.Align = alTop; PnlMainCard.Height = 2450; PnlMainCard.Margins.Top = 15; PnlMainCard.Margins.Left = 12;</div><div>&nbsp; PnlMainCard.Margins.Right = 12; PnlMainCard.Margins.Bottom = 25; StyleMainCard(PnlMainCard);</div><div>&nbsp;&nbsp;</div><div>&nbsp; LblSect1Title = BakimForm.AddNewProLabel(PnlMainCard, 'LblSect1Title', ''); LblSect1Title.Align = alTop; LblSect1Title.Height = 30;</div><div>&nbsp; LblSect1Title.Margins.Left = 10; LblSect1Title.Margins.Top = 15; StyleSectionTitle(LblSect1Title);</div><div><br></div><div>&nbsp; // ---------------- BELGE NO ----------------</div><div>&nbsp; GrpBelgeNo = BakimForm.AddNewProPanel(PnlMainCard, 'GrpBelgeNo'); GrpBelgeNo.Align = alTop;</div><div>&nbsp; GrpBelgeNo.Height = 58; GrpBelgeNo.Margins.Top = 6; GrpBelgeNo.Margins.Left = 10; GrpBelgeNo.Margins.Right = 10; StyleInputPanel(GrpBelgeNo);</div><div>&nbsp; LblBelgeNo = BakimForm.AddNewProLabel(GrpBelgeNo, 'LblBelgeNo', '');</div><div>&nbsp; LblBelgeNo.Align = alTop; LblBelgeNo.Height = 18; LblBelgeNo.Margins.Left = 10; LblBelgeNo.Margins.Top = 6; StyleInputLabel(LblBelgeNo);</div><div>&nbsp;&nbsp;</div><div>&nbsp; BtnRehberAc = BakimForm.AddNewProButton(GrpBelgeNo, 'BtnRehberAc', '');</div><div>&nbsp; BtnRehberAc.Align = alRight; BtnRehberAc.Width = 50; BtnRehberAc.Margins.Right = 10; BtnRehberAc.Margins.Bottom = 7; StyleActionButton(BtnRehberAc); BakimForm.AddNewEvent(BtnRehberAc, tbeOnClick, 'BtnRehberBelgeClick');&nbsp;</div><div>&nbsp; ImgBelge = BakimForm.AddNewImage(BtnRehberAc, 'ImgBelge');</div><div>&nbsp; ImgBelge.Align = alClient; ImgBelge.Margins.Top = 0; ImgBelge.Margins.Bottom = 0; ImgBelge.Margins.Left = 0; ImgBelge.Margins.Right = 0; BakimForm.setImage(ImgBelge, '<a href="https://i.hizliresim.com/57zt&#111;nk.png" target="_blank" rel="nofollow">https://i.hizliresim.com/57ztonk.png</a>'); BakimForm.AddNewEvent(ImgBelge, tbeOnClick, 'BtnRehberBelgeClick');</div><div>&nbsp; EdtBelgeNo = BakimForm.AddNewProEdit(GrpBelgeNo, 'EdtBelgeNo', ''); EdtBelgeNo.Align = alClient; EdtBelgeNo.Margins.Left = 10; EdtBelgeNo.Margins.Right = 5; EdtBelgeNo.Margins.Bottom = 7; StyleReadonlyEdit(EdtBelgeNo);</div><div>&nbsp; EdtBelgeNo.ReadOnly = True; EdtBelgeNo.CanFocus = False;</div><div><br></div><div>&nbsp; // ---------------- TARİH ----------------</div><div>&nbsp; GrpTarih = BakimForm.AddNewProPanel(PnlMainCard, 'GrpTarih'); GrpTarih.Align = alTop;</div><div>&nbsp; GrpTarih.Height = 58; GrpTarih.Margins.Top = 6; GrpTarih.Margins.Left = 10; GrpTarih.Margins.Right = 10; StyleInputPanel(GrpTarih);</div><div>&nbsp; LblTarih = BakimForm.AddNewProLabel(GrpTarih, 'LblTarih', '');</div><div>&nbsp; LblTarih.Align = alTop; LblTarih.Height = 18; LblTarih.Margins.Left = 10; LblTarih.Margins.Top = 6; StyleInputLabel(LblTarih);</div><div>&nbsp; EdtTarih = BakimForm.AddNewProEdit(GrpTarih, 'EdtTarih', '');</div><div>&nbsp; EdtTarih.Align = alClient; EdtTarih.Margins.Left = 10; EdtTarih.Margins.Right = 10; EdtTarih.Margins.Bottom = 7; EdtTarih.ReadOnly = True; EdtTarih.CanFocus = False; StyleReadonlyEdit(EdtTarih);</div><div>&nbsp;&nbsp;</div><div>&nbsp; // ---------------- BAKIM TİPİ ----------------</div><div>&nbsp; GrpBakimTipi = BakimForm.AddNewProPanel(PnlMainCard, 'GrpBakimTipi'); GrpBakimTipi.Align = alTop; GrpBakimTipi.Height = 58; GrpBakimTipi.Margins.Top = 6;</div><div>&nbsp; GrpBakimTipi.Margins.Left = 10; GrpBakimTipi.Margins.Right = 10; StyleInputPanel(GrpBakimTipi);</div><div>&nbsp; LblBakimTipi = BakimForm.AddNewProLabel(GrpBakimTipi, 'LblBakimTipi', ''); LblBakimTipi.Align = alTop; LblBakimTipi.Height = 18;</div><div>&nbsp; LblBakimTipi.Margins.Left = 10; LblBakimTipi.Margins.Top = 6; StyleInputLabel(LblBakimTipi);</div><div>&nbsp; CmbBakimTipi = BakimForm.AddNewComboBox(GrpBakimTipi, 'CmbBakimTipi'); CmbBakimTipi.Align = alClient; CmbBakimTipi.Margins.Left = 10; CmbBakimTipi.Margins.Right = 10;</div><div>&nbsp; CmbBakimTipi.Margins.Bottom = 7;</div><div><br></div><div>&nbsp; // ---------------- BAKIM TÜRÜ ----------------</div><div>&nbsp; GrpBakimTuru = BakimForm.AddNewProPanel(PnlMainCard, 'GrpBakimTuru'); GrpBakimTuru.Align = alTop; GrpBakimTuru.Height = 58;</div><div>&nbsp; GrpBakimTuru.Margins.Top = 6; GrpBakimTuru.Margins.Left = 10; GrpBakimTuru.Margins.Right = 10; StyleInputPanel(GrpBakimTuru);</div><div>&nbsp; LblBakimTuru = BakimForm.AddNewProLabel(GrpBakimTuru, 'LblBakimTuru', ''); LblBakimTuru.Align = alTop;</div><div>&nbsp; LblBakimTuru.Height = 18; LblBakimTuru.Margins.Left = 10; LblBakimTuru.Margins.Top = 6; StyleInputLabel(LblBakimTuru);</div><div>&nbsp; CmbBakimTuru = BakimForm.AddNewComboBox(GrpBakimTuru, 'CmbBakimTuru'); CmbBakimTuru.Align = alClient; CmbBakimTuru.Margins.Left = 10;</div><div>&nbsp; CmbBakimTuru.Margins.Right = 10; CmbBakimTuru.Margins.Bottom = 7;</div><div><br></div><div>&nbsp; // ---------------- BAKIM KODU ----------------</div><div>&nbsp; GrpBakimKodu = BakimForm.AddNewProPanel(PnlMainCard, 'GrpBakimKodu'); GrpBakimKodu.Align = alTop;</div><div>&nbsp; GrpBakimKodu.Height = 58; GrpBakimKodu.Margins.Top = 6; GrpBakimKodu.Margins.Left = 10; GrpBakimKodu.Margins.Right = 10; StyleInputPanel(GrpBakimKodu);</div><div>&nbsp; LblBakimKodu = BakimForm.AddNewProLabel(GrpBakimKodu, 'LblBakimKodu', '');</div><div>&nbsp; LblBakimKodu.Align = alTop; LblBakimKodu.Height = 18; LblBakimKodu.Margins.Left = 10; LblBakimKodu.Margins.Top = 6; StyleInputLabel(LblBakimKodu);</div><div>&nbsp;&nbsp;</div><div>&nbsp; BtnBakimKoduRehber = BakimForm.AddNewProButton(GrpBakimKodu, 'BtnBakimKoduRehber', '');</div><div>&nbsp; BtnBakimKoduRehber.Align = alRight; BtnBakimKoduRehber.Width = 50; BtnBakimKoduRehber.Margins.Right = 10; BtnBakimKoduRehber.Margins.Bottom = 7; StyleActionButton(BtnBakimKoduRehber); BakimForm.AddNewEvent(BtnBakimKoduRehber, tbeOnClick, 'BtnBakimKoduRehberClick');&nbsp;</div><div>&nbsp; ImgBakim = BakimForm.AddNewImage(BtnBakimKoduRehber, 'ImgBakim');</div><div>&nbsp; ImgBakim.Align = alClient; ImgBakim.Margins.Top = 0; ImgBakim.Margins.Bottom = 0; ImgBakim.Margins.Left = 0; ImgBakim.Margins.Right = 0; BakimForm.setImage(ImgBakim, '<a href="https://i.hizliresim.com/57zt&#111;nk.png" target="_blank" rel="nofollow">https://i.hizliresim.com/57ztonk.png</a>'); BakimForm.AddNewEvent(ImgBakim, tbeOnClick, 'BtnBakimKoduRehberClick');</div><div>&nbsp; EdtBakimKodu = BakimForm.AddNewProEdit(GrpBakimKodu, 'EdtBakimKodu', ''); EdtBakimKodu.Align = alClient; EdtBakimKodu.Margins.Left = 10; EdtBakimKodu.Margins.Right = 5; EdtBakimKodu.Margins.Bottom = 7; StyleReadonlyEdit(EdtBakimKodu);</div><div>&nbsp; EdtBakimKodu.ReadOnly = True; EdtBakimKodu.CanFocus = False;&nbsp;</div><div><br></div><div>&nbsp; // ---------------- MAKİNE KODU ----------------</div><div>&nbsp; GrpMakineKodu = BakimForm.AddNewProPanel(PnlMainCard, 'GrpMakineKodu'); GrpMakineKodu.Align = alTop;</div><div>&nbsp; GrpMakineKodu.Height = 58; GrpMakineKodu.Margins.Top = 6; GrpMakineKodu.Margins.Left = 10; GrpMakineKodu.Margins.Right = 10; StyleInputPanel(GrpMakineKodu);</div><div>&nbsp; LblMakineKodu = BakimForm.AddNewProLabel(GrpMakineKodu, 'LblMakineKodu', '');</div><div>&nbsp; LblMakineKodu.Align = alTop; LblMakineKodu.Height = 18; LblMakineKodu.Margins.Left = 10; LblMakineKodu.Margins.Top = 6; StyleInputLabel(LblMakineKodu);</div><div>&nbsp;&nbsp;</div><div>&nbsp; BtnMakineKoduRehber = BakimForm.AddNewProButton(GrpMakineKodu, 'BtnMakineKoduRehber', '');</div><div>&nbsp; BtnMakineKoduRehber.Align = alRight; BtnMakineKoduRehber.Width = 50; BtnMakineKoduRehber.Margins.Right = 10; BtnMakineKoduRehber.Margins.Bottom = 7; StyleActionButton(BtnMakineKoduRehber); BakimForm.AddNewEvent(BtnMakineKoduRehber, tbeOnClick, 'BtnMakineKoduRehberClick');&nbsp;</div><div>&nbsp; ImgMakine = BakimForm.AddNewImage(BtnMakineKoduRehber, 'ImgMakine');</div><div>&nbsp; ImgMakine.Align = alClient; ImgMakine.Margins.Top = 0; ImgMakine.Margins.Bottom = 0; ImgMakine.Margins.Left = 0; ImgMakine.Margins.Right = 0; BakimForm.setImage(ImgMakine, '<a href="https://i.hizliresim.com/57zt&#111;nk.png" target="_blank" rel="nofollow">https://i.hizliresim.com/57ztonk.png</a>'); BakimForm.AddNewEvent(ImgMakine, tbeOnClick, 'BtnMakineKoduRehberClick');</div><div>&nbsp; EdtMakineKodu = BakimForm.AddNewProEdit(GrpMakineKodu, 'EdtMakineKodu', ''); EdtMakineKodu.Align = alClient; EdtMakineKodu.Margins.Left = 10; EdtMakineKodu.Margins.Right = 5; EdtMakineKodu.Margins.Bottom = 7; StyleReadonlyEdit(EdtMakineKodu);</div><div>&nbsp; EdtMakineKodu.ReadOnly = True; EdtMakineKodu.CanFocus = False;&nbsp;</div><div><br></div><div>&nbsp; // ---------------- BAĞLANTI ----------------</div><div>&nbsp; GrpBaglanti = BakimForm.AddNewProPanel(PnlMainCard, 'GrpBaglanti'); GrpBaglanti.Align = alTop;</div><div>&nbsp; GrpBaglanti.Height = 58; GrpBaglanti.Margins.Top = 6; GrpBaglanti.Margins.Left = 10; GrpBaglanti.Margins.Right = 10; StyleInputPanel(GrpBaglanti);</div><div>&nbsp; LblBaglanti = BakimForm.AddNewProLabel(GrpBaglanti, 'LblBaglanti', '');</div><div>&nbsp; LblBaglanti.Align = alTop; LblBaglanti.Height = 18; LblBaglanti.Margins.Left = 10; LblBaglanti.Margins.Top = 6; StyleInputLabel(LblBaglanti);</div><div>&nbsp;&nbsp;</div><div>&nbsp; BtnBaglantiRehber = BakimForm.AddNewProButton(GrpBaglanti, 'BtnBaglantiRehber', '');</div><div>&nbsp; BtnBaglantiRehber.Align = alRight; BtnBaglantiRehber.Width = 50; BtnBaglantiRehber.Margins.Right = 10; BtnBaglantiRehber.Margins.Bottom = 7; StyleActionButton(BtnBaglantiRehber); BakimForm.AddNewEvent(BtnBaglantiRehber, tbeOnClick, 'BtnBaglantiRehberClick');&nbsp;</div><div>&nbsp; ImgBaglanti = BakimForm.AddNewImage(BtnBaglantiRehber, 'ImgBaglanti');</div><div>&nbsp; ImgBaglanti.Align = alClient; ImgBaglanti.Margins.Top = 0; ImgBaglanti.Margins.Bottom = 0; ImgBaglanti.Margins.Left = 0; ImgBaglanti.Margins.Right = 0; BakimForm.setImage(ImgBaglanti, '<a href="https://i.hizliresim.com/57zt&#111;nk.png" target="_blank" rel="nofollow">https://i.hizliresim.com/57ztonk.png</a>'); BakimForm.AddNewEvent(ImgBaglanti, tbeOnClick, 'BtnBaglantiRehberClick');</div><div>&nbsp; EdtBaglanti = BakimForm.AddNewProEdit(GrpBaglanti, 'EdtBaglanti', ''); EdtBaglanti.Align = alClient; EdtBaglanti.Margins.Left = 10; EdtBaglanti.Margins.Right = 5; EdtBaglanti.Margins.Bottom = 7; StyleReadonlyEdit(EdtBaglanti);</div><div>&nbsp; EdtBaglanti.ReadOnly = True; EdtBaglanti.CanFocus = False;</div><div><br></div><div>&nbsp; // ---------------- CARİ KODU ----------------</div><div>&nbsp; GrpCariKodu = BakimForm.AddNewProPanel(PnlMainCard, 'GrpCariKodu'); GrpCariKodu.Align = alTop;</div><div>&nbsp; GrpCariKodu.Height = 58; GrpCariKodu.Margins.Top = 6; GrpCariKodu.Margins.Left = 10; GrpCariKodu.Margins.Right = 10; StyleInputPanel(GrpCariKodu);</div><div>&nbsp; LblCariKodu = BakimForm.AddNewProLabel(GrpCariKodu, 'LblCariKodu', '');</div><div>&nbsp; LblCariKodu.Align = alTop; LblCariKodu.Height = 18; LblCariKodu.Margins.Left = 10; LblCariKodu.Margins.Top = 6; StyleInputLabel(LblCariKodu);</div><div>&nbsp;&nbsp;</div><div>&nbsp; BtnCariKoduRehber = BakimForm.AddNewProButton(GrpCariKodu, 'BtnCariKoduRehber', '');</div><div>&nbsp; BtnCariKoduRehber.Align = alRight; BtnCariKoduRehber.Width = 50; BtnCariKoduRehber.Margins.Right = 10; BtnCariKoduRehber.Margins.Bottom = 7; StyleActionButton(BtnCariKoduRehber); BakimForm.AddNewEvent(BtnCariKoduRehber, tbeOnClick, 'BtnCariKoduRehberClick');&nbsp;</div><div>&nbsp; ImgCari = BakimForm.AddNewImage(BtnCariKoduRehber, 'ImgCari');</div><div>&nbsp; ImgCari.Align = alClient; ImgCari.Margins.Top = 0; ImgCari.Margins.Bottom = 0; ImgCari.Margins.Left = 0; ImgCari.Margins.Right = 0; BakimForm.setImage(ImgCari, '<a href="https://i.hizliresim.com/57zt&#111;nk.png" target="_blank" rel="nofollow">https://i.hizliresim.com/57ztonk.png</a>'); BakimForm.AddNewEvent(ImgCari, tbeOnClick, 'BtnCariKoduRehberClick');</div><div>&nbsp; EdtCariKodu = BakimForm.AddNewProEdit(GrpCariKodu, 'EdtCariKodu', ''); EdtCariKodu.Align = alClient; EdtCariKodu.Margins.Left = 10; EdtCariKodu.Margins.Right = 5; EdtCariKodu.Margins.Bottom = 7; StyleReadonlyEdit(EdtCariKodu);</div><div>&nbsp; EdtCariKodu.ReadOnly = True; EdtCariKodu.CanFocus = False;</div><div><br></div><div>&nbsp; GrpBaslangic = BakimForm.AddNewProPanel(PnlMainCard, 'GrpBaslangic'); GrpBaslangic.Align = alTop; GrpBaslangic.Height = 58; GrpBaslangic.Margins.Top = 6;</div><div>&nbsp; GrpBaslangic.Margins.Left = 10; GrpBaslangic.Margins.Right = 10; StyleInputPanel(GrpBaslangic);</div><div>&nbsp; LblBaslangic = BakimForm.AddNewProLabel(GrpBaslangic, 'LblBaslangic', ''); LblBaslangic.Align = alTop; LblBaslangic.Height = 18;</div><div>&nbsp; LblBaslangic.Margins.Left = 10; LblBaslangic.Margins.Top = 6; StyleInputLabel(LblBaslangic);</div><div>&nbsp; EdtBaslangicSaat = BakimForm.AddNewProEdit(GrpBaslangic, 'EdtBaslangicSaat', ''); EdtBaslangicSaat.Align = alRight; EdtBaslangicSaat.Width = 92;</div><div>&nbsp; EdtBaslangicSaat.Margins.Right = 10; EdtBaslangicSaat.Margins.Bottom = 7; EdtBaslangicSaat.ReadOnly = True; EdtBaslangicSaat.CanFocus = False; StyleReadonlyEdit(EdtBaslangicSaat);</div><div>&nbsp; EdtBaslangic = BakimForm.AddNewProEdit(GrpBaslangic, 'EdtBaslangic', '');</div><div>&nbsp; EdtBaslangic.Align = alClient; EdtBaslangic.Margins.Left = 10; EdtBaslangic.Margins.Right = 8; EdtBaslangic.Margins.Bottom = 7; EdtBaslangic.ReadOnly = True; EdtBaslangic.CanFocus = False; StyleReadonlyEdit(EdtBaslangic);</div><div>&nbsp;&nbsp;</div><div>&nbsp; GrpGirisZamani = BakimForm.AddNewProPanel(PnlMainCard, 'GrpGirisZamani'); GrpGirisZamani.Align = alTop; GrpGirisZamani.Height = 58; GrpGirisZamani.Margins.Top = 6; GrpGirisZamani.Margins.Left = 10; GrpGirisZamani.Margins.Right = 10; StyleInputPanel(GrpGirisZamani);</div><div>&nbsp; LblGirisZamani = BakimForm.AddNewProLabel(GrpGirisZamani, 'LblGirisZamani', ''); LblGirisZamani.Align = alTop; LblGirisZamani.Height = 18; LblGirisZamani.Margins.Left = 10; LblGirisZamani.Margins.Top = 6; StyleInputLabel(LblGirisZamani);</div><div>&nbsp; EdtGirisZamani = BakimForm.AddNewProEdit(GrpGirisZamani, 'EdtGirisZamani', ''); EdtGirisZamani.Align = alClient; EdtGirisZamani.Margins.Left = 10; EdtGirisZamani.Margins.Right = 10;</div><div>&nbsp; EdtGirisZamani.Margins.Bottom = 7; EdtGirisZamani.ReadOnly = True;</div><div>&nbsp; EdtGirisZamani.CanFocus = False; StyleReadonlyEdit(EdtGirisZamani);</div><div><br></div><div>&nbsp; GrpPlanlananBitis = BakimForm.AddNewProPanel(PnlMainCard, 'GrpPlanlananBitis'); GrpPlanlananBitis.Align = alTop; GrpPlanlananBitis.Height = 58; GrpPlanlananBitis.Margins.Top = 6; GrpPlanlananBitis.Margins.Left = 10;</div><div>&nbsp; GrpPlanlananBitis.Margins.Right = 10; StyleInputPanel(GrpPlanlananBitis);</div><div>&nbsp; LblPlanlananBitis = BakimForm.AddNewProLabel(GrpPlanlananBitis, 'LblPlanlananBitis', ''); LblPlanlananBitis.Align = alTop; LblPlanlananBitis.Height = 18; LblPlanlananBitis.Margins.Left = 10;</div><div>&nbsp; LblPlanlananBitis.Margins.Top = 6; StyleInputLabel(LblPlanlananBitis);</div><div>&nbsp; CmbPlanlananBitis = BakimForm.AddNewComboBox(GrpPlanlananBitis, 'CmbPlanlananBitis'); CmbPlanlananBitis.Align = alClient; CmbPlanlananBitis.Margins.Left = 10; CmbPlanlananBitis.Margins.Right = 10; CmbPlanlananBitis.Margins.Bottom = 7;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // ---------------- BAKIM DURUMU (YAPILDI/YAPILMADI) ----------------</div><div>&nbsp; GrpBakimDurumu = BakimForm.AddNewProPanel(PnlMainCard, 'GrpBakimDurumu'); GrpBakimDurumu.Align = alTop; GrpBakimDurumu.Height = 58; GrpBakimDurumu.Margins.Top = 6;</div><div>&nbsp; GrpBakimDurumu.Margins.Left = 10; GrpBakimDurumu.Margins.Right = 10; StyleInputPanel(GrpBakimDurumu);</div><div>&nbsp; LblBakimDurumu = BakimForm.AddNewProLabel(GrpBakimDurumu, 'LblBakimDurumu', ''); LblBakimDurumu.Align = alTop; LblBakimDurumu.Height = 18;</div><div>&nbsp; LblBakimDurumu.Margins.Left = 10; LblBakimDurumu.Margins.Top = 6; StyleInputLabel(LblBakimDurumu);</div><div>&nbsp; CmbBakimDurumu = BakimForm.AddNewComboBox(GrpBakimDurumu, 'CmbBakimDurumu'); CmbBakimDurumu.Align = alClient; CmbBakimDurumu.Margins.Left = 10; CmbBakimDurumu.Margins.Right = 10;</div><div>&nbsp; CmbBakimDurumu.Margins.Bottom = 7;</div><div><br></div><div>&nbsp; GrpKisiSayisi = BakimForm.AddNewProPanel(PnlMainCard, 'GrpKisiSayisi'); GrpKisiSayisi.Align = alTop; GrpKisiSayisi.Height = 58; GrpKisiSayisi.Margins.Top = 6; GrpKisiSayisi.Margins.Left = 10;</div><div>&nbsp; GrpKisiSayisi.Margins.Right = 10; StyleInputPanel(GrpKisiSayisi);</div><div>&nbsp; LblKisiSayisi = BakimForm.AddNewProLabel(GrpKisiSayisi, 'LblKisiSayisi', ''); LblKisiSayisi.Align = alTop; LblKisiSayisi.Height = 18; LblKisiSayisi.Margins.Left = 10;</div><div>&nbsp; LblKisiSayisi.Margins.Top = 6; StyleInputLabel(LblKisiSayisi);</div><div>&nbsp; EdtKisiSayisi = BakimForm.AddNewProEdit(GrpKisiSayisi, 'EdtKisiSayisi', '0'); EdtKisiSayisi.Align = alClient; EdtKisiSayisi.Margins.Left = 10; EdtKisiSayisi.Margins.Right = 10;</div><div>&nbsp; EdtKisiSayisi.Margins.Bottom = 7; StyleInputEdit(EdtKisiSayisi); BindInputFocus(EdtKisiSayisi); BakimForm.AddNewEvent(EdtKisiSayisi, tbeOnEnter, 'KlvKisiSayisi');</div><div><br></div><div>&nbsp; GrpOperatorGrup = BakimForm.AddNewProPanel(PnlMainCard, 'GrpOperatorGrup'); GrpOperatorGrup.Align = alTop; GrpOperatorGrup.Height = 58;</div><div>&nbsp; GrpOperatorGrup.Margins.Top = 6; GrpOperatorGrup.Margins.Left = 10; GrpOperatorGrup.Margins.Right = 10; StyleInputPanel(GrpOperatorGrup);</div><div>&nbsp; LblOperatorGrup = BakimForm.AddNewProLabel(GrpOperatorGrup, 'LblOperatorGrup', ''); LblOperatorGrup.Align = alTop;</div><div>&nbsp; LblOperatorGrup.Height = 18; LblOperatorGrup.Margins.Left = 10; LblOperatorGrup.Margins.Top = 6; StyleInputLabel(GrpOperatorGrup);</div><div>&nbsp; CmbOperatorGrup = BakimForm.AddNewComboBox(GrpOperatorGrup, 'CmbOperatorGrup'); CmbOperatorGrup.Align = alClient; CmbOperatorGrup.Margins.Left = 10;</div><div>&nbsp; CmbOperatorGrup.Margins.Right = 10; CmbOperatorGrup.Margins.Bottom = 7; BakimForm.AddNewEvent(CmbOperatorGrup, tbeOnChange, 'CmbOperatorGrupChanged');</div><div><br></div><div>&nbsp; GrpOperator = BakimForm.AddNewProPanel(PnlMainCard, 'GrpOperator'); GrpOperator.Align = alTop; GrpOperator.Height = 58;</div><div>&nbsp; GrpOperator.Margins.Top = 6; GrpOperator.Margins.Left = 10; GrpOperator.Margins.Right = 10; StyleInputPanel(GrpOperator);</div><div>&nbsp; LblOperator = BakimForm.AddNewProLabel(GrpOperator, 'LblOperator', ''); LblOperator.Align = alTop;</div><div>&nbsp; LblOperator.Height = 18; LblOperator.Margins.Left = 10; LblOperator.Margins.Top = 6; StyleInputLabel(LblOperator);</div><div>&nbsp; CmbOperator = BakimForm.AddNewComboBox(GrpOperator, 'CmbOperator'); CmbOperator.Align = alClient; CmbOperator.Margins.Left = 10;</div><div>&nbsp; CmbOperator.Margins.Right = 10; CmbOperator.Margins.Bottom = 7;</div><div><br></div><div>&nbsp; GrpOperatorBilgisi = BakimForm.AddNewProPanel(PnlMainCard, 'GrpOperatorBilgisi'); GrpOperatorBilgisi.Align = alTop; GrpOperatorBilgisi.Height = 58; GrpOperatorBilgisi.Margins.Top = 6;</div><div>&nbsp; GrpOperatorBilgisi.Margins.Left = 10; GrpOperatorBilgisi.Margins.Right = 10; StyleInputPanel(GrpOperatorBilgisi);</div><div>&nbsp; LblOperatorBilgisi = BakimForm.AddNewProLabel(GrpOperatorBilgisi, 'LblOperatorBilgisi', ''); LblOperatorBilgisi.Align = alTop; LblOperatorBilgisi.Height = 18;</div><div>&nbsp; LblOperatorBilgisi.Margins.Left = 10; LblOperatorBilgisi.Margins.Top = 6; StyleInputLabel(LblOperatorBilgisi);</div><div>&nbsp; BtnOperatorKaydet = BakimForm.AddNewProButton(GrpOperatorBilgisi, 'BtnOperatorKaydet', ''); BtnOperatorKaydet.Align = alRight; BtnOperatorKaydet.Width = 80;</div><div>&nbsp; BtnOperatorKaydet.Margins.Right = 10; BtnOperatorKaydet.Margins.Bottom = 7; StyleActionButton(BtnOperatorKaydet); BakimForm.AddNewEvent(BtnOperatorKaydet, tbeOnClick, 'BtnOperatorKaydetClick');</div><div>&nbsp; CmbYeniOperatorGrup = BakimForm.AddNewComboBox(GrpOperatorBilgisi, 'CmbYeniOperatorGrup'); CmbYeniOperatorGrup.Align = alRight; CmbYeniOperatorGrup.Width = 95;</div><div>&nbsp; CmbYeniOperatorGrup.Margins.Right = 6; CmbYeniOperatorGrup.Margins.Bottom = 7;&nbsp;</div><div>&nbsp; EdtOperatorBilgisi = BakimForm.AddNewProEdit(GrpOperatorBilgisi, 'EdtOperatorBilgisi', ''); EdtOperatorBilgisi.Align = alClient; EdtOperatorBilgisi.Margins.Left = 10; EdtOperatorBilgisi.Margins.Right = 6;</div><div>&nbsp; EdtOperatorBilgisi.Margins.Bottom = 7; StyleInputEdit(EdtOperatorBilgisi); BindInputFocus(EdtOperatorBilgisi); BakimForm.AddNewEvent(EdtOperatorBilgisi, tbeOnEnter, 'KlvOperatorBilgisi');</div><div><br></div><div>&nbsp; GrpAciklama = BakimForm.AddNewProPanel(PnlMainCard, 'GrpAciklama'); GrpAciklama.Align = alTop; GrpAciklama.Height = 58;</div><div>&nbsp; GrpAciklama.Margins.Top = 6; GrpAciklama.Margins.Left = 10; GrpAciklama.Margins.Right = 10; StyleInputPanel(GrpAciklama);</div><div>&nbsp; LblAciklama = BakimForm.AddNewProLabel(GrpAciklama, 'LblAciklama', ''); LblAciklama.Align = alTop;</div><div>&nbsp; LblAciklama.Height = 18; LblAciklama.Margins.Left = 10; LblAciklama.Margins.Top = 6; StyleInputLabel(LblAciklama);</div><div>&nbsp; EdtAciklama = BakimForm.AddNewProEdit(GrpAciklama, 'EdtAciklama', ''); EdtAciklama.Align = alClient;</div><div>&nbsp; EdtAciklama.Margins.Left = 10; EdtAciklama.Margins.Right = 10; EdtAciklama.Margins.Bottom = 7; StyleInputEdit(EdtAciklama); BindInputFocus(EdtAciklama); BakimForm.AddNewEvent(EdtAciklama, tbeOnEnter, 'KlvAciklama');</div><div><br></div><div>&nbsp; // ---------- TABLO BAŞLIĞI VE STOK EKLE BUTONU ----------</div><div>&nbsp; PnlGridTitleArea = BakimForm.AddNewProPanel(PnlMainCard, 'PnlGridTitleArea');</div><div>&nbsp; PnlGridTitleArea.Align = alTop; PnlGridTitleArea.Height = 40; PnlGridTitleArea.Margins.Top = 20; PnlGridTitleArea.Margins.Left = 10; PnlGridTitleArea.Margins.Right = 10;</div><div>&nbsp;&nbsp;</div><div>&nbsp; BtnStokEkleAnaForm = BakimForm.AddNewProButton(PnlGridTitleArea, 'BtnStokEkleAnaForm', ''); BtnStokEkleAnaForm.Align = alRight; BtnStokEkleAnaForm.Width = 100;</div><div>&nbsp; StyleActionButton(BtnStokEkleAnaForm); BakimForm.AddNewEvent(BtnStokEkleAnaForm, tbeOnClick, 'BuildStokFiltreForm');</div><div><br></div><div>&nbsp; LblGridTitle = BakimForm.AddNewProLabel(PnlGridTitleArea, 'LblSect2', ''); LblGridTitle.Align = alClient; LblGridTitle.Height = 30; StyleSectionTitle(LblGridTitle);</div><div>&nbsp;&nbsp;</div><div>&nbsp; // YENİ TABLO BİLEŞENİ ÇAĞRISI</div><div>&nbsp; MalzemeListeSablonHazirla;</div><div><br></div><div>&nbsp; // DİNAMİK ÖRNEK VERİ LİSTESİ YÜKLENİYOR</div><div>&nbsp; if (gAktifDilIndex == 1) { // İngilizce</div><div>&nbsp; &nbsp; MyJsonItems = '&#091;{"MAIN_TEXT":"6204-ZZ", "SUB_TEXT":"Bearing", "TEXT1":"2", "TEXT2":"Pcs", "TEXT3":"225.00", "TEXT4":"450.00"},' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '{"MAIN_TEXT":"OIL-10W40", "SUB_TEXT":"Synthetic Oil", "TEXT1":"3", "TEXT2":"Liter", "TEXT3":"283.33", "TEXT4":"850.00"}&#093;';</div><div>&nbsp; }&nbsp;</div><div>&nbsp; else if (gAktifDilIndex == 2) { // Almanca</div><div>&nbsp; &nbsp; MyJsonItems = '&#091;{"MAIN_TEXT":"6204-ZZ", "SUB_TEXT":"Lager", "TEXT1":"2", "TEXT2":"Stk", "TEXT3":"225,00", "TEXT4":"450,00"},' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '{"MAIN_TEXT":"OIL-10W40", "SUB_TEXT":"Synthetisches Öl", "TEXT1":"3", "TEXT2":"Liter", "TEXT3":"283,33", "TEXT4":"850,00"}&#093;';</div><div>&nbsp; }&nbsp;</div><div>&nbsp; else if (gAktifDilIndex == 3) { // Fransızca</div><div>&nbsp; &nbsp; MyJsonItems = '&#091;{"MAIN_TEXT":"6204-ZZ", "SUB_TEXT":"Roulement", "TEXT1":"2", "TEXT2":"Pcs", "TEXT3":"225,00", "TEXT4":"450,00"},' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '{"MAIN_TEXT":"OIL-10W40", "SUB_TEXT":"Huile Synthétique", "TEXT1":"3", "TEXT2":"Litre", "TEXT3":"283,33", "TEXT4":"850,00"}&#093;';</div><div>&nbsp; }&nbsp;</div><div>&nbsp; else { // Türkçe (Varsayılan)</div><div>&nbsp; &nbsp; MyJsonItems = '&#091;{"MAIN_TEXT":"6204-ZZ", "SUB_TEXT":"Rulman", "TEXT1":"2", "TEXT2":"Adet", "TEXT3":"225,00", "TEXT4":"450,00"},' +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '{"MAIN_TEXT":"OIL-10W40", "SUB_TEXT":"Sentetik Yag", "TEXT1":"3", "TEXT2":"Litre", "TEXT3":"283,33", "TEXT4":"850,00"}&#093;';</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; GridGuncelle;</div><div><br></div><div>&nbsp; LblPhotoTitle = BakimForm.AddNewProLabel(PnlMainCard, 'LblSect3', ''); LblPhotoTitle.Align = alTop; LblPhotoTitle.Height = 30; LblPhotoTitle.Margins.Left = 10; LblPhotoTitle.Margins.Top = 20; StyleSectionTitle(LblPhotoTitle);</div><div>&nbsp; PnlPhotoKutu = BakimForm.AddNewProPanel(PnlMainCard, 'PnlPhotoKutu'); PnlPhotoKutu.Align = alTop; PnlPhotoKutu.Height = 180; PnlPhotoKutu.Margins.Top = 5; PnlPhotoKutu.Margins.Left = 10; PnlPhotoKutu.Margins.Right = 10; StyleInputPanel(PnlPhotoKutu);</div><div>&nbsp; ImgPhoto = BakimForm.AddNewImage(PnlPhotoKutu, 'ImgPhoto'); ImgPhoto.Align = alClient; ImgPhoto.Margins.Top = 5; ImgPhoto.Margins.Bottom = 5; ImgPhoto.Margins.Left = 5; ImgPhoto.Margins.Right = 5;</div><div>&nbsp; BtnResimCek = BakimForm.AddNewProButton(PnlMainCard, 'BtnResimCek', ''); BtnResimCek.Align = alTop; BtnResimCek.Height = 42; BtnResimCek.Margins.Left = 10; BtnResimCek.Margins.Right = 10; BtnResimCek.Margins.Top = 10;</div><div>&nbsp; StylePrimaryButton(BtnResimCek); BakimForm.AddNewEvent(BtnResimCek, tbeOnClick, 'TakePhotoClick');</div><div><br></div><div>&nbsp; LblTalimatTitle = BakimForm.AddNewProLabel(PnlMainCard, 'LblSect4', ''); LblTalimatTitle.Align = alTop; LblTalimatTitle.Height = 30; LblTalimatTitle.Margins.Left = 10;</div><div>&nbsp; LblTalimatTitle.Margins.Top = 20; StyleSectionTitle(LblTalimatTitle);</div><div>&nbsp; PnlTalimatKutu = BakimForm.AddNewProPanel(PnlMainCard, 'PnlTalimatKutu'); PnlTalimatKutu.Align = alTop; PnlTalimatKutu.Height = 110; PnlTalimatKutu.Margins.Top = 5; PnlTalimatKutu.Margins.Left = 10;</div><div>&nbsp; PnlTalimatKutu.Margins.Right = 10; StyleInputPanel(PnlTalimatKutu);&nbsp;</div><div>&nbsp; MemTabContent = BakimForm.AddNewMemo(PnlTalimatKutu, 'MemTabContent', ''); MemTabContent.Align = alClient; MemTabContent.Margins.Top = 5; MemTabContent.Margins.Bottom = 5;</div><div>&nbsp; MemTabContent.Margins.Left = 5; MemTabContent.Margins.Right = 5; MemTabContent.ReadOnly = True; MemTabContent.TextSettings.Font.Size = UiFontSize;&nbsp;</div><div><br></div><div>&nbsp; SetCurrentDateTime;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; ApplyUiSettings;&nbsp;</div><div><br></div><div>&nbsp; CmbYeniOperatorGrup.ItemIndex = -1; CmbOperatorGrup.ItemIndex = 0;</div><div>&nbsp; OperatorGrupDegisti;&nbsp;</div><div><br></div><div>&nbsp; BakimForm.Run;</div><div>} &nbsp;</div><div>&nbsp; &nbsp; kodda bulan stok ekle kısmında &nbsp;stok kodu açılıyor sonra bileşen ekle ve aktar kısımları boş olarak gözüküyor bunu bir çok farklı şekilde denedim ancak tam sonuç alamadım</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496"</a> integrity="sha512-ZE9pZaUXND66v380QUtch/5sE9tPFh2zg45pR2PB0CVkCtOREv2AJKkSidISWkysEuQ0EH8faUU5du78bx87UQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Wed, 08 Jul 2026 17:01:45 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1606&amp;PID=3711#3711</guid>
  </item> 
 </channel>
</rss>