<?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 : arıza tasarımı</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : arıza tasarımı]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 09 Jul 2026 11:52:46 +0000</pubDate>
  <lastBuildDate>Wed, 08 Jul 2026 11:28:28 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>1440</ttl>
  <WebWizForums:feedURL>https://forum.clomosy.com.tr/RSS_post_feed.asp?TID=1602</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[arıza tasarımı : var GridForm: TclForm; clProGrid:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1602&amp;PID=3703#3703</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> 1602<br /><strong>Gönderim Zamanı:</strong> 08&nbsp;Temmuz&nbsp;2026 Saat 11:28<br /><br /><div>var</div><div>&nbsp; GridForm: TclForm;</div><div>&nbsp; clProGrid: TCLProGrid;</div><div><br></div><div>void BuildGridDesign;</div><div>{</div><div>&nbsp; clProGrid = GridForm.AddNewProGrid(GridForm, 'clProGrid');</div><div>&nbsp; clProGrid.Align = alClient;</div><div>&nbsp; clProGrid.BeginUpdate;</div><div><br></div><div>&nbsp; clProGrid.ColumnCount = 12;</div><div>&nbsp; clProGrid.RowCount = 5;</div><div><br></div><div>&nbsp; clProGrid.Cells&#091;1, 0&#093; = 'Belge No';</div><div>&nbsp; clProGrid.Cells&#091;2, 0&#093; = 'Tarih';</div><div>&nbsp; clProGrid.Cells&#091;3, 0&#093; = 'Operator';</div><div>&nbsp; clProGrid.Cells&#091;4, 0&#093; = 'Makine Kodu';</div><div>&nbsp; clProGrid.Cells&#091;5, 0&#093; = 'Arıza Kodu';</div><div>&nbsp; clProGrid.Cells&#091;6, 0&#093; = 'Baş. Tarih';</div><div>&nbsp; clProGrid.Cells&#091;7, 0&#093; = 'Bit. Tarih';</div><div>&nbsp; clProGrid.Cells&#091;8, 0&#093; = 'Baş. Saat';</div><div>&nbsp; clProGrid.Cells&#091;9, 0&#093; = 'Bit. Saat';</div><div>&nbsp; clProGrid.Cells&#091;10, 0&#093; = 'Bakım Kodu';</div><div>&nbsp; clProGrid.Cells&#091;11, 0&#093; = 'Açıklama';</div><div><br></div><div>&nbsp; clProGrid.Cells&#091;1, 1&#093; = 'BLG-001';</div><div>&nbsp; clProGrid.Cells&#091;2, 1&#093; = '08.07.2026';</div><div>&nbsp; clProGrid.Cells&#091;3, 1&#093; = 'Ahmet Yılmaz';</div><div>&nbsp; clProGrid.Cells&#091;4, 1&#093; = 'MK-01';</div><div>&nbsp; clProGrid.Cells&#091;5, 1&#093; = 'ARZ-12';</div><div>&nbsp; clProGrid.Cells&#091;6, 1&#093; = '08.07.2026';</div><div>&nbsp; clProGrid.Cells&#091;7, 1&#093; = '08.07.2026';</div><div>&nbsp; clProGrid.Cells&#091;8, 1&#093; = '09:00';</div><div>&nbsp; clProGrid.Cells&#091;9, 1&#093; = '10:30';</div><div>&nbsp; clProGrid.Cells&#091;10, 1&#093; = 'BKM-04';</div><div>&nbsp; clProGrid.Cells&#091;11, 1&#093; = 'Sensör Arızası Giderildi';</div><div><br></div><div>&nbsp; clProGrid.Cells&#091;1, 2&#093; = 'BLG-002';</div><div>&nbsp; clProGrid.Cells&#091;2, 2&#093; = '08.07.2026';</div><div>&nbsp; clProGrid.Cells&#091;3, 2&#093; = 'Mehmet Demir';</div><div>&nbsp; clProGrid.Cells&#091;4, 2&#093; = 'MK-05';</div><div>&nbsp; clProGrid.Cells&#091;5, 2&#093; = 'ARZ-04';</div><div>&nbsp; clProGrid.Cells&#091;6, 2&#093; = '08.07.2026';</div><div>&nbsp; clProGrid.Cells&#091;7, 2&#093; = '08.07.2026';</div><div>&nbsp; clProGrid.Cells&#091;8, 2&#093; = '11:15';</div><div>&nbsp; clProGrid.Cells&#091;9, 2&#093; = '12:00';</div><div>&nbsp; clProGrid.Cells&#091;10, 2&#093; = 'BKM-01';</div><div>&nbsp; clProGrid.Cells&#091;11, 2&#093; = 'Rulman Yağlaması Yapıldı';</div><div><br></div><div>&nbsp; clProGrid.Cells&#091;1, 3&#093; = 'BLG-003';</div><div>&nbsp; clProGrid.Cells&#091;2, 3&#093; = '08.07.2026';</div><div>&nbsp; clProGrid.Cells&#091;3, 3&#093; = 'Ali Kaya';</div><div>&nbsp; clProGrid.Cells&#091;4, 3&#093; = 'MK-02';</div><div>&nbsp; clProGrid.Cells&#091;5, 3&#093; = 'ARZ-15';</div><div>&nbsp; clProGrid.Cells&#091;6, 3&#093; = '08.07.2026';</div><div>&nbsp; clProGrid.Cells&#091;7, 3&#093; = '08.07.2026';</div><div>&nbsp; clProGrid.Cells&#091;8, 3&#093; = '13:45';</div><div>&nbsp; clProGrid.Cells&#091;9, 3&#093; = '15:20';</div><div>&nbsp; clProGrid.Cells&#091;10, 3&#093; = 'BKM-08';</div><div>&nbsp; clProGrid.Cells&#091;11, 3&#093; = 'Kayış Değişimi Yapıldı';</div><div><br></div><div>&nbsp; clProGrid.Cells&#091;1, 4&#093; = 'BLG-004';</div><div>&nbsp; clProGrid.Cells&#091;2, 4&#093; = '08.07.2026';</div><div>&nbsp; clProGrid.Cells&#091;3, 4&#093; = 'Veli Şahin';</div><div>&nbsp; clProGrid.Cells&#091;4, 4&#093; = 'MK-08';</div><div>&nbsp; clProGrid.Cells&#091;5, 4&#093; = 'ARZ-08';</div><div>&nbsp; clProGrid.Cells&#091;6, 4&#093; = '08.07.2026';</div><div>&nbsp; clProGrid.Cells&#091;7, 4&#093; = '08.07.2026';</div><div>&nbsp; clProGrid.Cells&#091;8, 4&#093; = '16:00';</div><div>&nbsp; clProGrid.Cells&#091;9, 4&#093; = '17:00';</div><div>&nbsp; clProGrid.Cells&#091;10, 4&#093; = 'BKM-02';</div><div>&nbsp; clProGrid.Cells&#091;11, 4&#093; = 'Elektrik Arızası Giderildi';</div><div><br></div><div>&nbsp; clProGrid.Options.ColumnSize.Stretch = True;</div><div>&nbsp; clProGrid.EndUpdate;</div><div>}</div><div><br></div><div>{</div><div>&nbsp; GridForm = TclForm.Create(Self);</div><div>&nbsp; GridForm.clSetCaption('Bakim Grid Tasarimi');</div><div>&nbsp; GridForm.SetFormColor('#1E293B', '#0F172A', clGVertical);</div><div><br></div><div>&nbsp; BuildGridDesign;</div><div><br></div><div>&nbsp; GridForm.BtnFormMenu.Visible = False;</div><div>&nbsp; GridForm.BtnGoBack.Visible = False;</div><div>&nbsp; GridForm.Run;</div><div>}</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496"</a> integrity="sha512-ZE9pZaUXND66v380QUtch/5sE9tPFh2zg45pR2PB0CVkCtOREv2AJKkSidISWkysEuQ0EH8faUU5du78bx87UQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&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 11:28:28 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1602&amp;PID=3703#3703</guid>
  </item> 
  <item>
   <title><![CDATA[arıza tasarımı : tamamd&#305;r te&#351;ekk&#252;rlerhttps://st...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1602&amp;PID=3702#3702</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=249">kayra12</a><br /><strong>Konu:</strong> 1602<br /><strong>Gönderim Zamanı:</strong> 08&nbsp;Temmuz&nbsp;2026 Saat 11:24<br /><br />tamamdır teşekkürler&nbsp;<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 11:24:50 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1602&amp;PID=3702#3702</guid>
  </item> 
  <item>
   <title><![CDATA[arıza tasarımı : Merhaba Kayra,var FormMain: TclForm;...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1602&amp;PID=3701#3701</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> 1602<br /><strong>Gönderim Zamanı:</strong> 08&nbsp;Temmuz&nbsp;2026 Saat 11:08<br /><br />Merhaba Kayra,<br><br><div>var</div><div>&nbsp; FormMain: TclForm;</div><div>&nbsp; ScaledLayout: TclScaledLayout;</div><div>&nbsp; ScrollForm: TclVertScrollBox;</div><div>&nbsp; RehberForm: TclForm;</div><div>&nbsp; LsvBelgeRehber: TClProListView;</div><div>&nbsp; EdtRehberArama: TclProEdit;</div><div>&nbsp; GlobalLookupType: String;</div><div>&nbsp; RehberJsonData: TclJsonQuery;</div><div>&nbsp;&nbsp;</div><div>&nbsp; UiFontSize: Integer;</div><div>&nbsp; OkunanFontAdi: String;</div><div>&nbsp; ThemeKoyuRenk, ThemeAcikRenk, ThemeBgColor, ThemeBorderColor, ThemeTextColor: String;</div><div>&nbsp;&nbsp;</div><div>&nbsp; LblGridTitle: TClProLabel;</div><div>&nbsp; Malz_GrpMalzeme, Malz_RowPnl, Malz_GrpMiktar, Malz_GrpBirimFiyat, Malz_GrpIscilik, Malz_PnlToplam: TclProPanel;</div><div>&nbsp; Malz_LblMalzeme, Malz_LblMiktar, Malz_LblBirimFiyat, Malz_LblIscilik, Malz_LblTitle, Malz_LblSub, Malz_LblToplamDeger: TClProLabel;</div><div>&nbsp; Malz_EdtMalzeme, Malz_EdtMiktar, Malz_EdtBirimFiyat, Malz_EdtIscilik: TclProEdit;</div><div>&nbsp; Malz_BtnRehber, Malz_BtnEkle: TClProButton;</div><div>&nbsp; Malz_LsvList: TClProListView;</div><div>&nbsp; Malz_DP: TclProListViewDesignerPanel;</div><div>&nbsp;&nbsp;</div><div>&nbsp; Malz_IsimArr, Malz_MiktarArr, Malz_FiyatArr, Malz_TutarArr: array &#091;0..50&#093; of String;</div><div>&nbsp; Malz_Count: Integer;</div><div><br></div><div>function StrToFloatDef(S: String; Def: Double): Double;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; if (S == '')&nbsp;</div><div>&nbsp; &nbsp; {&nbsp;</div><div>&nbsp; &nbsp; &nbsp; Result = Def;&nbsp;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else&nbsp;</div><div>&nbsp; &nbsp; {&nbsp;</div><div>&nbsp; &nbsp; &nbsp; Result = StrToFloat(S);&nbsp;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; Result = Def;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>function GetText(Key: String): String;</div><div>{</div><div>&nbsp; Result = Key;</div><div>&nbsp; if (Key == 'MALZ_BASLIK') { Result = 'Malzeme / Yedek Parça:'; }</div><div>&nbsp; else if (Key == 'MALZ_MIKTAR') { Result = 'Miktar:'; }</div><div>&nbsp; else if (Key == 'MALZ_FIYAT') { Result = 'Birim Fiyat (TL):'; }</div><div>&nbsp; else if (Key == 'MALZ_ISCILIK') { Result = 'İşçilik Maliyeti (TL):'; }</div><div>&nbsp; else if (Key == 'MALZ_BTN_EKLE') { Result = 'Malzeme Ekle'; }</div><div>&nbsp; else if (Key == 'ARA_MALZEME') { Result = 'Malzeme Ara...'; }</div><div>&nbsp; else if (Key == 'LST_BOS') { Result = 'Listede malzeme yok'; }</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 StyleMalzemeBaslik(ALabel: TClProLabel);</div><div>{</div><div>&nbsp; ALabel.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor);</div><div>&nbsp; ALabel.clProSettings.FontSize = UiFontSize + 1;</div><div>&nbsp; ALabel.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; ALabel.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; ALabel.SetclProSettings(ALabel.clProSettings);</div><div>}</div><div><br></div><div>void StyleMalzemeAlt(ALabel: TClProLabel);</div><div>{</div><div>&nbsp; ALabel.clProSettings.FontColor = clAlphaColor.clHexToColor('#64748B');</div><div>&nbsp; ALabel.clProSettings.FontSize = UiFontSize;</div><div>&nbsp; ALabel.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; ALabel.SetclProSettings(ALabel.clProSettings);</div><div>}</div><div><br></div><div>void StylePrimaryButton(AButton: TClProButton);</div><div>{</div><div>&nbsp; AButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(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 = 6;</div><div>&nbsp; AButton.clProSettings.RoundWidth = 6;</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 StyleRehberButton(AButton: TClProButton);</div><div>{</div><div>&nbsp; AButton.clProSettings.BackgroundColor = clAlphaColor.clWhite;</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.SetclProSettings(AButton.clProSettings);</div><div>}</div><div><br></div><div>void StyleInputPanel(APanel: TclProPanel);</div><div>{</div><div>&nbsp; APanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F8FAFC');</div><div>&nbsp; APanel.clProSettings.BorderColor = clAlphaColor.clHexToColor(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; ALabel.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</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 StyleInputFocus;</div><div>var FocusEdit: TclProEdit;</div><div>{</div><div>&nbsp; if (FormMain.ClSender &lt;&gt; nil)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; FocusEdit = TclProEdit(FormMain.ClSender);</div><div>&nbsp; &nbsp; FocusEdit.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeAcikRenk);</div><div>&nbsp; &nbsp; FocusEdit.clProSettings.BorderWidth = 2;</div><div>&nbsp; &nbsp; FocusEdit.clProSettings.BackgroundColor = clAlphaColor.clWhite;</div><div>&nbsp; &nbsp; FocusEdit.SetclProSettings(FocusEdit.clProSettings);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void StyleInputBlur;</div><div>var BlurEdit: TclProEdit;</div><div>{</div><div>&nbsp; if (FormMain.ClSender &lt;&gt; nil)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; BlurEdit = TclProEdit(FormMain.ClSender);</div><div>&nbsp; &nbsp; StyleInputEdit(BlurEdit);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void BindInputFocus(AEdit: TclProEdit);</div><div>{</div><div>&nbsp; FormMain.AddNewEvent(AEdit, tbeOnEnter, 'StyleInputFocus');</div><div>&nbsp; FormMain.AddNewEvent(AEdit, tbeOnExit, 'StyleInputBlur');</div><div>}</div><div><br></div><div>void Malz_ListeyiYenile;</div><div>var</div><div>&nbsp; JsonStr: String;</div><div>&nbsp; i: Integer;</div><div>&nbsp; ToplamMalzemeCost, GenelToplamCost: Double;</div><div>{</div><div>&nbsp; ToplamMalzemeCost = 0;</div><div>&nbsp; JsonStr = '&#091;';</div><div>&nbsp;&nbsp;</div><div>&nbsp; i = 0;</div><div>&nbsp; while (i &lt; Malz_Count)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; &nbsp;if (i &gt; 0) { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp;JsonStr = JsonStr + '{"MAIN_TEXT":"' + Malz_IsimArr<em> + '", "SUB_TEXT":"' + Malz_MiktarArr<em> + ' Adet x ' + Malz_FiyatArr<em> + ' TL = ' + Malz_TutarArr<em> + ' TL"}';</div><div>&nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp;ToplamMalzemeCost = ToplamMalzemeCost + StrToFloatDef(Malz_TutarArr<em>, 0);</div><div>&nbsp; &nbsp; &nbsp;i = i + 1;</div><div>&nbsp; }</div><div>&nbsp; JsonStr = JsonStr + '&#093;';</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (Malz_Count == 0)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; &nbsp;JsonStr = '&#091;{"MAIN_TEXT":"' + GetText('LST_BOS') + '", "SUB_TEXT":""}&#093;';</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; Malz_LsvList.clLoadProListViewDataFromDataset(Clomosy.clDataSetFromJSON(JsonStr));</div><div>&nbsp;&nbsp;</div><div>&nbsp; GenelToplamCost = ToplamMalzemeCost + StrToFloatDef(Malz_EdtIscilik.Text, 0);</div><div>&nbsp;&nbsp;</div><div>&nbsp; Malz_LblToplamDeger.Text = 'Malzeme: ' + FloatToStr(ToplamMalzemeCost) + ' TL | Genel Toplam: ' + FloatToStr(GenelToplamCost) + ' TL';</div><div>}</div><div><br></div><div>void Malz_EkleClick;</div><div>var</div><div>&nbsp; Miktar, Fiyat, Tutar: Double;</div><div>{</div><div>&nbsp; if (Malz_EdtMalzeme.Text == '')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; &nbsp;ShowMessage('Lütfen önce bir malzeme seçiniz veya yazınız.');</div><div>&nbsp; &nbsp; &nbsp;Exit;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (Malz_Count &gt;= 50)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; &nbsp;ShowMessage(GetText('MSG_KAPASITE_DOLU'));</div><div>&nbsp; &nbsp; &nbsp;Exit;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; Miktar = StrToFloatDef(Malz_EdtMiktar.Text, 1);</div><div>&nbsp; Fiyat = StrToFloatDef(Malz_EdtBirimFiyat.Text, 0);</div><div>&nbsp; Tutar = Miktar * Fiyat;</div><div>&nbsp;&nbsp;</div><div>&nbsp; Malz_IsimArr&#091;Malz_Count&#093; = Malz_EdtMalzeme.Text;</div><div>&nbsp; Malz_MiktarArr&#091;Malz_Count&#093; = FloatToStr(Miktar);</div><div>&nbsp; Malz_FiyatArr&#091;Malz_Count&#093; = FloatToStr(Fiyat);</div><div>&nbsp; Malz_TutarArr&#091;Malz_Count&#093; = FloatToStr(Tutar);</div><div>&nbsp;&nbsp;</div><div>&nbsp; Malz_Count = Malz_Count + 1;</div><div>&nbsp;&nbsp;</div><div>&nbsp; Malz_EdtMalzeme.Text = '';</div><div>&nbsp; Malz_EdtMiktar.Text = '1';</div><div>&nbsp; Malz_EdtBirimFiyat.Text = '0';</div><div>&nbsp;&nbsp;</div><div>&nbsp; Malz_ListeyiYenile;</div><div>}</div><div><br></div><div>void Malz_IscilikChange;</div><div>{</div><div>&nbsp; Malz_ListeyiYenile;</div><div>}</div><div><br></div><div>void OnSearchRehber;</div><div>{</div><div>&nbsp; if (RehberJsonData == nil) { Exit; }</div><div>&nbsp; if (EdtRehberArama.Text == '')&nbsp;</div><div>&nbsp; {&nbsp;</div><div>&nbsp; &nbsp; RehberJsonData.Filtered = False;</div><div>&nbsp; &nbsp; RehberJsonData.Filter = '';&nbsp;</div><div>&nbsp; }</div><div>&nbsp; else&nbsp;</div><div>&nbsp; {&nbsp;</div><div>&nbsp; &nbsp; RehberJsonData.Filter = 'MAIN_TEXT Like ' + Chr(39) + '%' + EdtRehberArama.Text + '%' + Chr(39);</div><div>&nbsp; &nbsp; RehberJsonData.Filtered = True;&nbsp;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void OnListItemClick;</div><div>var</div><div>&nbsp; SecilenAnaMetin, SecilenAltMetin: String;</div><div>{&nbsp;</div><div>&nbsp; SecilenAnaMetin = LsvBelgeRehber.clSelectedItemData(clCaption);</div><div>&nbsp; SecilenAltMetin = LsvBelgeRehber.clSelectedItemData(clText);</div><div>&nbsp; if (SecilenAnaMetin == GetText('LST_BOS'))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; RehberForm.Close;&nbsp;</div><div>&nbsp; &nbsp; Exit;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (GlobalLookupType == 'MALZEME')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Malz_EdtMalzeme.Text = SecilenAnaMetin + ' | ' + SecilenAltMetin;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; RehberForm.Close;</div><div>}</div><div><br></div><div>void BuildRehberForm;</div><div>var</div><div>&nbsp; RehberDP: TclProListViewDesignerPanel;</div><div>&nbsp; RehberLblMain, RehberLblSub: TclProLabel;</div><div>{</div><div>&nbsp; RehberForm = TclForm.Create(Self);&nbsp;</div><div>&nbsp; RehberForm.SetFormColor(ThemeKoyuRenk, ThemeAcikRenk, clGVertical);</div><div>&nbsp; EdtRehberArama = RehberForm.AddNewProEdit(RehberForm, 'EdtRehberArama', 'Ara...');&nbsp;</div><div>&nbsp; EdtRehberArama.Align = alTop; EdtRehberArama.Margins.Top = 10; EdtRehberArama.Margins.Left = 10; EdtRehberArama.Margins.Right = 10; EdtRehberArama.Height = 40;</div><div>&nbsp; EdtRehberArama.clProSettings.FontSize = 14;</div><div>&nbsp; RehberForm.AddNewEvent(EdtRehberArama, tbeOnChange, 'OnSearchRehber');</div><div><br></div><div>&nbsp; LsvBelgeRehber = RehberForm.AddNewProListView(RehberForm, 'LsvBelgeRehber');&nbsp;</div><div>&nbsp; LsvBelgeRehber.Align = alClient; LsvBelgeRehber.Margins.Top = 10; LsvBelgeRehber.ListType = 'vertical';</div><div>&nbsp; LsvBelgeRehber.clProSettings.ItemHeight = 65;&nbsp;</div><div>&nbsp; LsvBelgeRehber.clProSettings.ItemSpace = 5;</div><div>&nbsp; LsvBelgeRehber.clProSettings.ColCount = 1;&nbsp;</div><div>&nbsp; LsvBelgeRehber.clProSettings.ViewType = lvIcon;&nbsp;</div><div>&nbsp; LsvBelgeRehber.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');&nbsp;</div><div>&nbsp; LsvBelgeRehber.SetclProSettings(LsvBelgeRehber.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; RehberDP = RehberForm.AddNewProListViewDesignerPanel(LsvBelgeRehber, 'RehberDP');</div><div>&nbsp; RehberDP.Align = alTop; RehberDP.Height = 60; 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, 'MAIN_TEXT', '');</div><div>&nbsp; RehberLblMain.Align = alTop;</div><div>&nbsp; RehberLblMain.Height = 25; RehberLblMain.Margins.Left = 10; 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; RehberLblSub = RehberForm.AddNewProLabel(RehberDP, 'SUB_TEXT', '');</div><div>&nbsp; RehberLblSub.Align = alTop; RehberLblSub.Height = 25; 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; LsvBelgeRehber.SetDesignerPanel(RehberDP);</div><div>&nbsp;&nbsp;</div><div>&nbsp; RehberForm.AddNewEvent(LsvBelgeRehber, tbeOnItemClick, 'OnListItemClick');</div><div>}</div><div><br></div><div>void OpenRehber;</div><div>var</div><div>&nbsp; JsonStr: String;</div><div>{</div><div>&nbsp; BuildRehberForm;</div><div>&nbsp;&nbsp;</div><div>&nbsp; JsonStr = '&#091;' +&nbsp;</div><div>&nbsp; &nbsp; '{"MAIN_TEXT":"Rulman - 6204 ZZ", "SUB_TEXT":"Motor Rulmanı"},' +&nbsp;</div><div>&nbsp; &nbsp; '{"MAIN_TEXT":"V-Kayış - A-42", "SUB_TEXT":"Güç Aktarım Kayışı"},' +&nbsp;</div><div>&nbsp; &nbsp; '{"MAIN_TEXT":"Hava Filtresi - HF-12", "SUB_TEXT":"Kompresör Filtresi"},' +&nbsp;</div><div>&nbsp; &nbsp; '{"MAIN_TEXT":"Yağ Filtresi - YF-8", "SUB_TEXT":"Hidrolik Yağ Filtresi"},' +&nbsp;</div><div>&nbsp; &nbsp; '{"MAIN_TEXT":"Elektrik Sigortası - 16A", "SUB_TEXT":"Pano Sigortası"},' +</div><div>&nbsp; &nbsp; '{"MAIN_TEXT":"Kontaktör - 22kW", "SUB_TEXT":"Motor Sürücü Kontaktörü"}' +&nbsp;</div><div>&nbsp; '&#093;';</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (RehberJsonData &lt;&gt; nil) { RehberJsonData.Free; }</div><div>&nbsp; RehberJsonData = Clomosy.clDataSetFromJSON(JsonStr);</div><div>&nbsp; LsvBelgeRehber.clLoadProListViewDataFromDataset(RehberJsonData);</div><div>&nbsp; RehberForm.Run;</div><div>}</div><div><br></div><div>void BtnRehberMalzemeClick; { GlobalLookupType = 'MALZEME'; OpenRehber; }</div><div><br></div><div>{</div><div>&nbsp; FormMain = TclForm.Create(Self);</div><div>&nbsp; FormMain.SetFormColor('#1E293B', '#0F172A', clGVertical);</div><div><br></div><div>&nbsp; ScaledLayout = FormMain.AddNewScaledLayout(FormMain, 'ScaledLayout');</div><div>&nbsp; ScaledLayout.Align = alClient;</div><div>&nbsp; ScaledLayout.OriginalHeight = 750;</div><div>&nbsp; ScaledLayout.OriginalWidth = 350;</div><div><br></div><div>&nbsp; ScrollForm = FormMain.AddNewVertScrollBox(ScaledLayout, 'ScrollForm');</div><div>&nbsp; ScrollForm.Align = alClient;</div><div>&nbsp; ScrollForm.Margins.Left = 15;</div><div>&nbsp; ScrollForm.Margins.Right = 15;</div><div>&nbsp; ScrollForm.Margins.Top = 15;</div><div>&nbsp; ScrollForm.Margins.Bottom = 15;</div><div><br></div><div>&nbsp; UiFontSize = 12;</div><div>&nbsp; OkunanFontAdi = 'Arial';</div><div>&nbsp; ThemeKoyuRenk = '#312E81';</div><div>&nbsp; ThemeAcikRenk = '#8B5CF6';</div><div>&nbsp; ThemeBgColor = '#FFFFFF';</div><div>&nbsp; ThemeBorderColor = '#CBD5E1';</div><div>&nbsp; ThemeTextColor = '#111827';</div><div><br></div><div>&nbsp; LblGridTitle = FormMain.AddNewProLabel(ScrollForm, 'LblGridTitle', '2. MALZEME &amp; MALİYET');</div><div>&nbsp; LblGridTitle.Align = alTop;</div><div>&nbsp; LblGridTitle.Height = 35;</div><div>&nbsp; LblGridTitle.Margins.Top = 10;</div><div>&nbsp; StyleSectionTitle(LblGridTitle);</div><div>&nbsp;&nbsp;</div><div>&nbsp; Malz_GrpMalzeme = FormMain.AddNewProPanel(ScrollForm, 'Malz_GrpMalzeme');</div><div>&nbsp; Malz_GrpMalzeme.Align = alTop;</div><div>&nbsp; Malz_GrpMalzeme.Height = 80;</div><div>&nbsp; Malz_GrpMalzeme.Margins.Top = 10;</div><div>&nbsp; StyleInputPanel(Malz_GrpMalzeme);</div><div>&nbsp;&nbsp;</div><div>&nbsp; Malz_LblMalzeme = FormMain.AddNewProLabel(Malz_GrpMalzeme, 'Malz_LblMalzeme', GetText('MALZ_BASLIK'));</div><div>&nbsp; Malz_LblMalzeme.Align = alTop;</div><div>&nbsp; Malz_LblMalzeme.Height = 25;</div><div>&nbsp; StyleInputLabel(Malz_LblMalzeme);</div><div>&nbsp;&nbsp;</div><div>&nbsp; Malz_EdtMalzeme = FormMain.AddNewProEdit(Malz_GrpMalzeme, 'Malz_EdtMalzeme', 'Seçmek için büyütece tıklayın...');</div><div>&nbsp; Malz_EdtMalzeme.Align = alClient;</div><div>&nbsp; StyleInputEdit(Malz_EdtMalzeme);</div><div>&nbsp;&nbsp;</div><div>&nbsp; Malz_BtnRehber = FormMain.AddNewProButton(Malz_GrpMalzeme, 'Malz_BtnRehber', '&#128269;');</div><div>&nbsp; Malz_BtnRehber.Align = alRight;</div><div>&nbsp; Malz_BtnRehber.Width = 40;</div><div>&nbsp; StyleRehberButton(Malz_BtnRehber);</div><div>&nbsp; FormMain.AddNewEvent(Malz_BtnRehber, tbeOnClick, 'BtnRehberMalzemeClick');</div><div><br></div><div>&nbsp; Malz_RowPnl = FormMain.AddNewProPanel(ScrollForm, 'Malz_RowPnl');</div><div>&nbsp; Malz_RowPnl.Align = alTop;</div><div>&nbsp; Malz_RowPnl.Height = 80;</div><div>&nbsp; Malz_RowPnl.Margins.Top = 10;</div><div>&nbsp; Malz_RowPnl.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; Malz_RowPnl.clProSettings.BorderWidth = 0;</div><div>&nbsp; Malz_RowPnl.SetclProSettings(Malz_RowPnl.clProSettings);</div><div><br></div><div>&nbsp; Malz_GrpMiktar = FormMain.AddNewProPanel(Malz_RowPnl, 'Malz_GrpMiktar');</div><div>&nbsp; Malz_GrpMiktar.Align = alLeft;</div><div>&nbsp; Malz_GrpMiktar.Width = 145;</div><div>&nbsp; StyleInputPanel(Malz_GrpMiktar);</div><div>&nbsp;&nbsp;</div><div>&nbsp; Malz_LblMiktar = FormMain.AddNewProLabel(Malz_GrpMiktar, 'Malz_LblMiktar', GetText('MALZ_MIKTAR'));</div><div>&nbsp; Malz_LblMiktar.Align = alTop;</div><div>&nbsp; Malz_LblMiktar.Height = 25;</div><div>&nbsp; StyleInputLabel(Malz_LblMiktar);</div><div>&nbsp;&nbsp;</div><div>&nbsp; Malz_EdtMiktar = FormMain.AddNewProEdit(Malz_GrpMiktar, 'Malz_EdtMiktar', '1');</div><div>&nbsp; Malz_EdtMiktar.Align = alClient;</div><div>&nbsp; StyleInputEdit(Malz_EdtMiktar);</div><div>&nbsp;&nbsp;</div><div>&nbsp; Malz_GrpBirimFiyat = FormMain.AddNewProPanel(Malz_RowPnl, 'Malz_GrpBirimFiyat');</div><div>&nbsp; Malz_GrpBirimFiyat.Align = alClient;</div><div>&nbsp; Malz_GrpBirimFiyat.Margins.Left = 10;</div><div>&nbsp; StyleInputPanel(Malz_GrpBirimFiyat);</div><div>&nbsp;&nbsp;</div><div>&nbsp; Malz_LblBirimFiyat = FormMain.AddNewProLabel(Malz_GrpBirimFiyat, 'Malz_LblBirimFiyat', GetText('MALZ_FIYAT'));</div><div>&nbsp; Malz_LblBirimFiyat.Align = alTop;</div><div>&nbsp; Malz_LblBirimFiyat.Height = 25;</div><div>&nbsp; StyleInputLabel(Malz_LblBirimFiyat);</div><div>&nbsp;&nbsp;</div><div>&nbsp; Malz_EdtBirimFiyat = FormMain.AddNewProEdit(Malz_GrpBirimFiyat, 'Malz_EdtBirimFiyat', '0.00');</div><div>&nbsp; Malz_EdtBirimFiyat.Align = alClient;</div><div>&nbsp; StyleInputEdit(Malz_EdtBirimFiyat);</div><div><br></div><div>&nbsp; Malz_BtnEkle = FormMain.AddNewProButton(ScrollForm, 'Malz_BtnEkle', GetText('MALZ_BTN_EKLE'));</div><div>&nbsp; Malz_BtnEkle.Align = alTop;</div><div>&nbsp; Malz_BtnEkle.Height = 45;</div><div>&nbsp; Malz_BtnEkle.Margins.Top = 10;</div><div>&nbsp; StylePrimaryButton(Malz_BtnEkle);</div><div>&nbsp; FormMain.AddNewEvent(Malz_BtnEkle, tbeOnClick, 'Malz_EkleClick');</div><div><br></div><div>&nbsp; Malz_LsvList = FormMain.AddNewProListView(ScrollForm, 'Malz_LsvList');</div><div>&nbsp; Malz_LsvList.Align = alTop;</div><div>&nbsp; Malz_LsvList.Height = 160;</div><div>&nbsp; Malz_LsvList.Margins.Top = 15;</div><div>&nbsp; Malz_LsvList.ListType = 'vertical';</div><div>&nbsp; Malz_LsvList.clProSettings.ItemHeight = 50;</div><div>&nbsp; Malz_LsvList.clProSettings.ItemSpace = 3;</div><div>&nbsp; Malz_LsvList.clProSettings.ColCount = 1;</div><div>&nbsp; Malz_LsvList.clProSettings.ViewType = lvIcon;</div><div>&nbsp; Malz_LsvList.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F8FAFC');</div><div>&nbsp; Malz_LsvList.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeBorderColor);</div><div>&nbsp; Malz_LsvList.clProSettings.BorderWidth = 1;</div><div>&nbsp; Malz_LsvList.clProSettings.IsRound = True;</div><div>&nbsp; Malz_LsvList.clProSettings.RoundHeight = 8;</div><div>&nbsp; Malz_LsvList.clProSettings.RoundWidth = 8;</div><div>&nbsp; Malz_LsvList.SetclProSettings(Malz_LsvList.clProSettings);</div><div><br></div><div>&nbsp; Malz_DP = FormMain.AddNewProListViewDesignerPanel(Malz_LsvList, 'Malz_DP');</div><div>&nbsp; Malz_DP.Align = alTop;</div><div>&nbsp; Malz_DP.Height = 48;</div><div>&nbsp; Malz_DP.clProSettings.BackgroundColor = clAlphaColor.clWhite;</div><div>&nbsp; Malz_DP.SetclProSettings(Malz_DP.clProSettings);</div><div><br></div><div>&nbsp; Malz_LblTitle = FormMain.AddNewProLabel(Malz_DP, 'MAIN_TEXT', '');</div><div>&nbsp; Malz_LblTitle.Align = alTop;</div><div>&nbsp; Malz_LblTitle.Height = 22;</div><div>&nbsp; Malz_LblTitle.Margins.Left = 8;</div><div>&nbsp; Malz_LblTitle.Margins.Top = 4;</div><div>&nbsp; StyleMalzemeBaslik(Malz_LblTitle);</div><div><br></div><div>&nbsp; Malz_LblSub = FormMain.AddNewProLabel(Malz_DP, 'SUB_TEXT', '');</div><div>&nbsp; Malz_LblSub.Align = alTop;</div><div>&nbsp; Malz_LblSub.Height = 20;</div><div>&nbsp; Malz_LblSub.Margins.Left = 8;</div><div>&nbsp; StyleMalzemeAlt(Malz_LblSub);</div><div><br></div><div>&nbsp; Malz_DP.AddPanelObject(Malz_LblTitle, clCaption);</div><div>&nbsp; Malz_DP.AddPanelObject(Malz_LblSub, clText);</div><div>&nbsp; Malz_LsvList.SetDesignerPanel(Malz_DP);</div><div><br></div><div>&nbsp; Malz_GrpIscilik = FormMain.AddNewProPanel(ScrollForm, 'Malz_GrpIscilik');</div><div>&nbsp; Malz_GrpIscilik.Align = alTop;</div><div>&nbsp; Malz_GrpIscilik.Height = 80;</div><div>&nbsp; Malz_GrpIscilik.Margins.Top = 15;</div><div>&nbsp; StyleInputPanel(Malz_GrpIscilik);</div><div><br></div><div>&nbsp; Malz_LblIscilik = FormMain.AddNewProLabel(Malz_GrpIscilik, 'Malz_LblIscilik', GetText('MALZ_ISCILIK'));</div><div>&nbsp; Malz_LblIscilik.Align = alTop;</div><div>&nbsp; Malz_LblIscilik.Height = 25;</div><div>&nbsp; StyleInputLabel(Malz_LblIscilik);</div><div><br></div><div>&nbsp; Malz_EdtIscilik = FormMain.AddNewProEdit(Malz_GrpIscilik, 'Malz_EdtIscilik', '0.00');</div><div>&nbsp; Malz_EdtIscilik.Align = alClient;</div><div>&nbsp; StyleInputEdit(Malz_EdtIscilik);</div><div>&nbsp; FormMain.AddNewEvent(Malz_EdtIscilik, tbeOnChange, 'Malz_IscilikChange');</div><div><br></div><div>&nbsp; Malz_PnlToplam = FormMain.AddNewProPanel(ScrollForm, 'Malz_PnlToplam');</div><div>&nbsp; Malz_PnlToplam.Align = alTop;</div><div>&nbsp; Malz_PnlToplam.Height = 60;</div><div>&nbsp; Malz_PnlToplam.Margins.Top = 15;</div><div>&nbsp; Malz_PnlToplam.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#ECFDF5');</div><div>&nbsp; Malz_PnlToplam.clProSettings.BorderColor = clAlphaColor.clHexToColor('#10B981');</div><div>&nbsp; Malz_PnlToplam.clProSettings.BorderWidth = 1;</div><div>&nbsp; Malz_PnlToplam.clProSettings.IsFill = True;</div><div>&nbsp; Malz_PnlToplam.clProSettings.IsRound = True;</div><div>&nbsp; Malz_PnlToplam.clProSettings.RoundHeight = 8;</div><div>&nbsp; Malz_PnlToplam.clProSettings.RoundWidth = 8;</div><div>&nbsp; Malz_PnlToplam.SetclProSettings(Malz_PnlToplam.clProSettings);</div><div><br></div><div>&nbsp; Malz_LblToplamDeger = FormMain.AddNewProLabel(Malz_PnlToplam, 'Malz_LblToplamDeger', 'Malzeme: 0.00 TL | Genel Toplam: 0.00 TL');</div><div>&nbsp; Malz_LblToplamDeger.Align = alClient;</div><div>&nbsp; Malz_LblToplamDeger.clProSettings.FontColor = clAlphaColor.clHexToColor('#065F46');</div><div>&nbsp; Malz_LblToplamDeger.clProSettings.FontSize = UiFontSize + 2;</div><div>&nbsp; Malz_LblToplamDeger.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; Malz_LblToplamDeger.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; Malz_LblToplamDeger.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; Malz_LblToplamDeger.SetclProSettings(Malz_LblToplamDeger.clProSettings);</div><div><br></div><div>&nbsp; BindInputFocus(Malz_EdtMalzeme);</div><div>&nbsp; BindInputFocus(Malz_EdtMiktar);</div><div>&nbsp; BindInputFocus(Malz_EdtBirimFiyat);</div><div>&nbsp; BindInputFocus(Malz_EdtIscilik);</div><div><br></div><div>&nbsp; FormMain.BtnFormMenu.Visible = False;</div><div>&nbsp; FormMain.BtnGoBack.Visible = False;</div><div><br></div><div>&nbsp; Malz_Count = 0;</div><div>&nbsp; Malz_ListeyiYenile;</div><div><br></div><div>&nbsp; FormMain.Run;</div><div>}<br><br>örnek tasarımı inceler misin</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 11:08:00 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1602&amp;PID=3701#3701</guid>
  </item> 
  <item>
   <title><![CDATA[arıza tasarımı : var FormMain: TclGameForm; RehberForm:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1602&amp;PID=3700#3700</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=249">kayra12</a><br /><strong>Konu:</strong> 1602<br /><strong>Gönderim Zamanı:</strong> 08&nbsp;Temmuz&nbsp;2026 Saat 10:17<br /><br /><div>var</div><div>&nbsp; FormMain: TclGameForm;</div><div>&nbsp; RehberForm: TclForm;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; PnlNavBar, PnlHeaderTop, PnlMainCard: TclProPanel;</div><div>&nbsp; BtnScroll: TclHorzScrollBox;</div><div>&nbsp; ScrollForm: TclVertScrollBox;</div><div><br></div><div>&nbsp; LblNavTitle, LblSect1, LblGridTitle, LblPhotoTitle: TClProLabel;</div><div>&nbsp; BtnGeri, BtnYeni, BtnKaydet, BtnResimCek: TClProButton;</div><div>&nbsp;&nbsp;</div><div>&nbsp; Arz_BtnRehberBelge, Arz_BtnRehberAriza, Arz_BtnRehberMakine, Arz_BtnRehberBaglanti, Arz_BtnRehberOperator: TClProButton;&nbsp;</div><div><br></div><div>&nbsp; Arz_GrpBelgeNo, Arz_GrpTarih, Arz_GrpArizaKodu, Arz_GrpMakineKodu, Arz_GrpBaglanti: TclProPanel;</div><div>&nbsp; Arz_GrpBaslangic, Arz_GrpGirisZamani, Arz_GrpPlanlananBitis, Arz_GrpKisiSayisi, Arz_GrpOperator, Arz_GrpAciklama: TclProPanel;</div><div><br></div><div>&nbsp; Arz_LblBelgeNo, Arz_LblTarih, Arz_LblArizaKodu, Arz_LblMakineKodu, Arz_LblBaglanti: TClProLabel;</div><div>&nbsp; Arz_LblBaslangic, Arz_LblGirisZamani, Arz_LblPlanlananBitis, Arz_LblKisiSayisi, Arz_LblOperator, Arz_LblAciklama: TClProLabel;</div><div>&nbsp; Arz_EdtBelgeNo, Arz_EdtTarih, Arz_EdtArizaKodu, Arz_EdtMakineKodu, Arz_EdtBaglanti: TclProEdit;</div><div>&nbsp; Arz_EdtBaslangic, Arz_EdtBaslangicSaat, Arz_EdtGirisZamani, Arz_EdtKisiSayisi, Arz_EdtOperator, Arz_EdtAciklama, EdtRehberArama: TclProEdit;</div><div><br></div><div>&nbsp; Arz_CmbPlanlananBitis: TclComboBox;</div><div>&nbsp;&nbsp;</div><div>&nbsp; Arz_PnlBakimIhmalKutu, Arz_PnlPhotoKutu: TclProPanel;</div><div>&nbsp; Arz_LblBakimIhmal: TClProLabel;</div><div>&nbsp; Arz_MemBakimIhmal: TclMemo;</div><div>&nbsp;&nbsp;</div><div>&nbsp; Arz_ListAriza, LsvBelgeRehber: TClProListView;&nbsp;</div><div>&nbsp; Arz_Zone: TClProListViewDesignerPanel;</div><div>&nbsp; Arz_LblMain, Arz_LblSub: TClProLabel;</div><div>&nbsp; Arz_ImgPhoto: TclImage;</div><div>&nbsp; Arz_BelgeNo, Arz_MakineArr, Arz_BakimIhmalArr, Arz_BasTarih, Arz_BasSaat, Arz_BitTarih, Arz_ArizaDurum, Arz_KayitTarih: array &#091;0..50&#093; of String;</div><div>&nbsp; Arz_ArzKodArr, Arz_BaglantiArr, Arz_KisiSayisiArr, Arz_OperatorArr, Arz_AciklamaArr: array &#091;0..50&#093; of String;</div><div>&nbsp;&nbsp;</div><div>&nbsp; Arz_ArizaCount, TmpIndeks, SeciliKayitIndeks: Integer;</div><div>&nbsp; Arz_ArizaJson: String;</div><div><br></div><div>&nbsp; UiFontSize: Integer;</div><div>&nbsp; OkunanFontAdi: String;</div><div>&nbsp; ThemeKoyuRenk, ThemeAcikRenk: String;</div><div>&nbsp; ThemeBgColor, ThemeBorderColor, ThemeTextColor: String;</div><div>&nbsp;&nbsp;</div><div>&nbsp; GlobalLookupType: String;&nbsp;</div><div>&nbsp; RehberJsonData: TclJsonQuery;</div><div>&nbsp;&nbsp;</div><div>&nbsp; gAktifDilIndex: Integer;</div><div>&nbsp; gBaglantiDenendi: Integer;</div><div><br></div><div>&nbsp; ImgBelge, ImgAriza, ImgMakine, ImgBaglanti, ImgOperator: TclImage;</div><div>&nbsp;&nbsp;</div><div>// =====================================================================</div><div>// KLAVYE YÖNETİMİ</div><div>// =====================================================================</div><div>void OnKeyboardShow;</div><div>{</div><div>&nbsp; ScrollForm.Margins.Bottom = FormMain.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>// =====================================================================</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; // 1: English</div><div>&nbsp; if (gAktifDilIndex == 1) {&nbsp;</div><div>&nbsp; &nbsp; if (Key == 'NAV_TITLE') { Result = 'Fault Movements'; }</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 == '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 == '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_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 == 'LST_BOS') { Result = 'No materials in the list'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BELGE') { Result = 'Search Document...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BAKIM') { Result = 'Search Maint. Code...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BAGLANTI') { Result = 'Search Connection...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_CARI') { Result = 'Search Current Code...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_MAKINE') { Result = 'Search Machine Code...'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARIZA_KODU') { Result = 'Fault Code:'; }</div><div>&nbsp; &nbsp; else if (Key == 'DURUM') { Result = 'Status: '; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_YENI_SAYFA') { Result = 'New record page opened.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_BELGE_GIRIN') { Result = 'Please enter Doc No!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_MAKINE_SECIN') { Result = 'Please select Machine Code!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_IHMAL_ZORUNLU') { Result = 'Please fill in the mandatory field.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAPASITE_DOLU') { Result = 'Capacity full!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_EKLENDI') { Result = 'New record added to the list successfully.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_GUNCELLENDI') { Result = 'Existing record updated successfully.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_YUKLENDI') { Result = 'Record content loaded to the form.'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARA_ARIZA') { Result = 'Search Fault Code...'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARA_OPERATOR') { Result = 'Search Operator...'; }</div><div>&nbsp; &nbsp; else if (Key == 'KAYDEDILDI') { Result = 'Saved'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'TAMAMLANDI') { Result = 'Completed'; }</div><div>&nbsp; }&nbsp;</div><div>&nbsp; // 2: Deutsch</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 == '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 == '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_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 == 'LST_BOS') { Result = 'Keine Materialien in der Liste'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BELGE') { Result = 'Dokument suchen...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BAKIM') { Result = 'Wartungscode suchen...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BAGLANTI') { Result = 'Verbindung suchen...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_CARI') { Result = 'Aktuellen Code suchen...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_MAKINE') { Result = 'Maschinencode suchen...'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARIZA_KODU') { Result = 'Fehlercode:'; }</div><div>&nbsp; &nbsp; else if (Key == 'DURUM') { Result = 'Status: '; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_YENI_SAYFA') { Result = 'Neue Seite geöffnet.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_BELGE_GIRIN') { Result = 'Bitte Dokumenten-Nr. eingeben!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_MAKINE_SECIN') { Result = 'Bitte Maschinencode auswählen!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_IHMAL_ZORUNLU') { Result = 'Bitte füllen Sie das Pflichtfeld aus.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAPASITE_DOLU') { Result = 'Kapazität voll!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_EKLENDI') { Result = 'Neuer Datensatz erfolgreich hinzugefügt.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_GUNCELLENDI') { Result = 'Datensatz aktualisiert.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_YUKLENDI') { Result = 'Datensatz geladen.'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARA_ARIZA') { Result = 'Fehlercode suchen...'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARA_OPERATOR') { Result = 'Bediener suchen...'; }</div><div>&nbsp; &nbsp; else if (Key == 'KAYDEDILDI') { Result = 'Gespeichert'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'TAMAMLANDI') { Result = 'Abgeschlossen'; }</div><div>&nbsp; }</div><div>&nbsp; // 3: Francais</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 == 'SECT1') { Result = '1. INFOS GÉNÉRALES'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'SECT2') { Result = '2. MATÉRIEL &amp; COÛT'; }&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 = 'Catégorie 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 Début:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'GIRIS_ZAMANI') { Result = 'Heure d''Entrée:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'PLANLANAN') { Result = 'Heure de Fin Prévue:'; }&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''Opérateurs:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'OPERATOR') { Result = 'Opérateur Responsable:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'OP_BILGI') { Result = 'Infos Nouvel Opérateur:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ACIKLAMA') { Result = 'Description:'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'KAMERA') { Result = 'Ouvrir Caméra'; }&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 sécurité.' + #13#10 + '3. Vérifier 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 effacé.'; }&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_KAYIT_BASARILI') { Result = 'ENREGISTREMENT RÉUSSI !'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_EKLENEN_VERI') { Result = 'Données ajoutées : '; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_BILGI_GIRIN') { Result = 'Veuillez d''abord saisir les infos de l''opérateur.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_GRUP_SECIN') { Result = 'Veuillez sélectionner un groupe pour l''opérateur.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_OP_KAYDEDILDI') { Result = 'Opérateur enregistré.'; }</div><div>&nbsp; &nbsp; else if (Key == 'LST_BOS') { Result = 'Aucun matériel dans la liste'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BELGE') { Result = 'Rechercher un document...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BAKIM') { Result = 'Rechercher code maint...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BAGLANTI') { Result = 'Rechercher une connexion...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_CARI') { Result = 'Rechercher code courant...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_MAKINE') { Result = 'Rechercher code machine...'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARIZA_KODU') { Result = 'Code d''erreur:'; }</div><div>&nbsp; &nbsp; else if (Key == 'DURUM') { Result = 'Statut: '; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_YENI_SAYFA') { Result = 'Nouvelle page ouverte.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_BELGE_GIRIN') { Result = 'Veuillez saisir le N° Doc!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_MAKINE_SECIN') { Result = 'Veuillez sélectionner le code machine!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_IHMAL_ZORUNLU') { Result = 'Veuillez remplir le champ obligatoire.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAPASITE_DOLU') { Result = 'Capacité pleine!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_EKLENDI') { Result = 'Nouvel enregistrement ajouté.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_GUNCELLENDI') { Result = 'Enregistrement mis à jour.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_YUKLENDI') { Result = 'Enregistrement chargé.'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARA_ARIZA') { Result = 'Rechercher code d''erreur...'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARA_OPERATOR') { Result = 'Rechercher opérateur...'; }</div><div>&nbsp; &nbsp; else if (Key == 'KAYDEDILDI') { Result = 'Enregistré'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'TAMAMLANDI') { Result = 'Terminé'; }</div><div>&nbsp; }</div><div>&nbsp; // 0 VEYA FARKLI BİR DURUM: TÜRKÇE (Varsayılan)</div><div>&nbsp; else {&nbsp;</div><div>&nbsp; &nbsp; if (Key == 'NAV_TITLE') { Result = 'Arıza Hareketleri'; }</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 == 'SECT1') { Result = '1. GENEL BİLGİLER'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'SECT2') { Result = '2. MALZEME &amp; MALİYET'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'SECT3') { Result = '3. GÖRSEL'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'SECT4') { Result = '4. Neden Bakım Yapılamadı? (Zorunlu)'; }&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 == '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_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 == 'LST_BOS') { Result = 'Listede malzeme yok'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BELGE') { Result = 'Belge Ara...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BAKIM') { Result = 'Bakım Kodu Ara...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_BAGLANTI') { Result = 'Bağlantı Ara...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_CARI') { Result = 'Cari Kodu Ara...'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'ARA_MAKINE') { Result = 'Makine Kodu Ara...'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARIZA_KODU') { Result = 'Ariza Kodu:'; }</div><div>&nbsp; &nbsp; else if (Key == 'DURUM') { Result = 'Durum: '; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_YENI_SAYFA') { Result = 'Yeni kayit sayfasi acildi.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_BELGE_GIRIN') { Result = 'Lutfen Belge No giriniz!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_MAKINE_SECIN') { Result = 'Lutfen Makine Kodu secin!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_IHMAL_ZORUNLU') { Result = 'Lütfen zorunlu alanı doldurun.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAPASITE_DOLU') { Result = 'Kapasite dolu!'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_EKLENDI') { Result = 'Yeni kayit basariyla listeye eklendi.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_GUNCELLENDI') { Result = 'Mevcut kayit basariyla guncellendi.'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'MSG_KAYIT_YUKLENDI') { Result = 'Kayit icerigi forma yuklendi.'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARA_ARIZA') { Result = 'Ariza Kodu Ara...'; }</div><div>&nbsp; &nbsp; else if (Key == 'ARA_OPERATOR') { Result = 'Operator Ara...'; }</div><div>&nbsp; &nbsp; else if (Key == 'KAYDEDILDI') { Result = 'Kaydedildi'; }&nbsp;</div><div>&nbsp; &nbsp; else if (Key == 'TAMAMLANDI') { Result = 'Tamamlandi'; }</div><div>&nbsp; }</div><div>}</div><div><br></div><div>// =====================================================================</div><div>// TEMA MOTORU VE STİLLER</div><div>// =====================================================================</div><div>void AyarDosyasindanTemayiYukle(TemaIndex: Integer);</div><div>{</div><div>&nbsp; ThemeBgColor = '#FFFFFF'; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; ThemeBorderColor = '#CBD5E1';</div><div>&nbsp; ThemeTextColor = '#111827'; &nbsp; &nbsp;</div><div><br></div><div>&nbsp; if TemaIndex == 0 { ThemeKoyuRenk = '#334155'; ThemeAcikRenk = '#94A3B8'; }&nbsp;</div><div>&nbsp; else if TemaIndex == 1 { ThemeKoyuRenk = '#111827'; ThemeAcikRenk = '#2563EB'; }&nbsp;</div><div>&nbsp; else if TemaIndex == 2 { ThemeKoyuRenk = '#0F172A'; ThemeAcikRenk = '#0EA5E9'; }&nbsp;</div><div>&nbsp; else if TemaIndex == 3 { ThemeKoyuRenk = '#14532D'; ThemeAcikRenk = '#22C55E'; }&nbsp;</div><div>&nbsp; else if TemaIndex == 4 { ThemeKoyuRenk = '#312E81'; ThemeAcikRenk = '#8B5CF6'; }&nbsp;</div><div>&nbsp; else if TemaIndex == 5 { ThemeKoyuRenk = '#78350F'; ThemeAcikRenk = '#F59E0B'; }&nbsp;</div><div>&nbsp; else if TemaIndex == 6 { ThemeKoyuRenk = '#7F1D1D'; ThemeAcikRenk = '#EF4444'; }&nbsp;</div><div>&nbsp; else { ThemeKoyuRenk = '#1F2937'; ThemeAcikRenk = '#4B5563'; }&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; FormMain.SetFormColor(ThemeKoyuRenk, ThemeAcikRenk, clGVertical);</div><div>}</div><div><br></div><div>void StyleHeaderBar(APanel: TclProPanel);</div><div>{</div><div>&nbsp; APanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(ThemeKoyuRenk);</div><div>&nbsp; APanel.clProSettings.BorderWidth = 0;</div><div>&nbsp; APanel.clProSettings.IsFill = True;</div><div>&nbsp; APanel.SetclProSettings(APanel.clProSettings);</div><div>}</div><div><br></div><div>void StyleMainCard(APanel: TclProPanel);</div><div>{</div><div>&nbsp; APanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(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 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 StyleMalzemeBaslik(ALabel: TClProLabel);</div><div>{</div><div>&nbsp; ALabel.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeTextColor);</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 StyleMalzemeAlt(ALabel: TClProLabel);</div><div>{</div><div>&nbsp; ALabel.clProSettings.FontColor = clAlphaColor.clHexToColor('#64748B');</div><div>&nbsp; ALabel.clProSettings.FontSize = UiFontSize;</div><div>&nbsp; ALabel.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; ALabel.SetclProSettings(ALabel.clProSettings);</div><div>}</div><div><br></div><div>void StyleWhiteButton(AButton: TClProButton);</div><div>{</div><div>&nbsp; AButton.clProSettings.BackgroundColor = clAlphaColor.clWhite;</div><div>&nbsp; AButton.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeKoyuRenk);&nbsp;</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 = 6;</div><div>&nbsp; AButton.clProSettings.RoundWidth = 6;</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 = 6;</div><div>&nbsp; AButton.clProSettings.RoundWidth = 6;</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 StyleRehberButton(AButton: TClProButton);</div><div>{</div><div>&nbsp; AButton.clProSettings.BackgroundColor = clAlphaColor.clWhite;</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.SetclProSettings(AButton.clProSettings);</div><div>}</div><div><br></div><div>void StyleInputPanel(APanel: TclProPanel);</div><div>{</div><div>&nbsp; APanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F8FAFC');</div><div>&nbsp; APanel.clProSettings.BorderColor = clAlphaColor.clHexToColor(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; ALabel.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</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>{</div><div>&nbsp; AEdit.clProSettings.FontColor = clAlphaColor.clHexToColor(ThemeKoyuRenk);&nbsp;</div><div>&nbsp; AEdit.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeBorderColor);</div><div>&nbsp; AEdit.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F8FAFC');&nbsp;</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 + 1;&nbsp;</div><div>&nbsp; AEdit.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; AEdit.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;&nbsp;</div><div>&nbsp; AEdit.SetclProSettings(AEdit.clProSettings);</div><div>}</div><div><br></div><div>// =====================================================================</div><div>// GÜVENLİ ODAKLANMA</div><div>// =====================================================================</div><div>void StyleInputFocus;</div><div>var FocusEdit: TclProEdit;</div><div>{</div><div>&nbsp; if (FormMain.ClSender &lt;&gt; nil)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; FocusEdit = TclProEdit(FormMain.ClSender);</div><div>&nbsp; &nbsp; FocusEdit.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeAcikRenk);</div><div>&nbsp; &nbsp; FocusEdit.clProSettings.BorderWidth = 2;</div><div>&nbsp; &nbsp; FocusEdit.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; &nbsp; FocusEdit.SetclProSettings(FocusEdit.clProSettings);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void StyleInputBlur;</div><div>var BlurEdit: TclProEdit;</div><div>{</div><div>&nbsp; if (FormMain.ClSender &lt;&gt; nil)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; BlurEdit = TclProEdit(FormMain.ClSender);</div><div>&nbsp; &nbsp; StyleInputEdit(BlurEdit);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void BindInputFocus(AEdit: TclProEdit);</div><div>{</div><div>&nbsp; FormMain.AddNewEvent(AEdit, tbeOnEnter, 'StyleInputFocus');</div><div>&nbsp; FormMain.AddNewEvent(AEdit, tbeOnExit, 'StyleInputBlur');</div><div>}</div><div><br></div><div>// =====================================================================</div><div>// SAF VE TEMİZ KAYDIRMA&nbsp;</div><div>// =====================================================================</div><div><br></div><div>void KlvKisiSayisi;</div><div>{</div><div>&nbsp; ScrollForm.ScrollTo(0, 10000);</div><div>&nbsp; ScrollForm.ScrollTo(0, -315);&nbsp;</div><div>}</div><div><br></div><div>void KlvAciklama;</div><div>{</div><div>&nbsp; ScrollForm.ScrollTo(0, 10000);</div><div>&nbsp; ScrollForm.ScrollTo(0, -450);&nbsp;</div><div>}</div><div><br></div><div>void KlvBakimIhmal;</div><div>{</div><div>&nbsp; ScrollForm.ScrollTo(0, 10000);</div><div>&nbsp; ScrollForm.ScrollTo(0, -1190);&nbsp;</div><div>}</div><div><br></div><div>// =====================================================================</div><div>// ARAYÜZE ÇEVİRİ BASMA VE FONT AYARLARI</div><div>// =====================================================================</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;&nbsp;</div><div>&nbsp; LblSect1.Text = GetText('SECT1');</div><div>&nbsp; LblGridTitle.Text = GetText('SECT2');</div><div>&nbsp; LblPhotoTitle.Text = GetText('SECT3');</div><div>&nbsp; Arz_LblBakimIhmal.Text = GetText('SECT4');</div><div>&nbsp;&nbsp;</div><div>&nbsp; Arz_LblBelgeNo.Text = GetText('BELGE_NO');</div><div>&nbsp; Arz_LblTarih.Text = GetText('TARIH');</div><div>&nbsp; Arz_LblArizaKodu.Text = GetText('ARIZA_KODU');&nbsp;</div><div>&nbsp; Arz_LblMakineKodu.Text = GetText('MAKINE_KODU');</div><div>&nbsp; Arz_LblBaglanti.Text = GetText('BAGLANTI');</div><div>&nbsp; Arz_LblBaslangic.Text = GetText('BASLANGIC');</div><div>&nbsp; Arz_LblGirisZamani.Text = GetText('GIRIS_ZAMANI');</div><div>&nbsp; Arz_LblPlanlananBitis.Text = GetText('PLANLANAN');</div><div>&nbsp; Arz_LblKisiSayisi.Text = GetText('KISI_SAYISI');</div><div>&nbsp; Arz_LblOperator.Text = GetText('OPERATOR');</div><div>&nbsp; Arz_LblAciklama.Text = GetText('ACIKLAMA');</div><div>&nbsp;&nbsp;</div><div>&nbsp; BtnResimCek.Text = GetText('KAMERA');</div><div><br></div><div>&nbsp; Arz_CmbPlanlananBitis.Items.Clear;</div><div>&nbsp; if (gAktifDilIndex == 1) {</div><div>&nbsp; &nbsp; Arz_CmbPlanlananBitis.AddItem('Hourly', 'Saat');</div><div>&nbsp; &nbsp; Arz_CmbPlanlananBitis.AddItem('Daily', 'Gün');</div><div>&nbsp; &nbsp; Arz_CmbPlanlananBitis.AddItem('Monthly', 'Ay');</div><div>&nbsp; } else {</div><div>&nbsp; &nbsp; Arz_CmbPlanlananBitis.AddItem('Saat', 'Saat');</div><div>&nbsp; &nbsp; Arz_CmbPlanlananBitis.AddItem('Gün', 'Gün');</div><div>&nbsp; &nbsp; Arz_CmbPlanlananBitis.AddItem('Ay', 'Ay');</div><div>&nbsp; }</div><div><br></div><div>&nbsp; LblNavTitle.clProSettings.FontSize = UiFontSize + 4;</div><div>&nbsp; LblNavTitle.clProSettings.FontName = OkunanFontAdi;</div><div>&nbsp; LblNavTitle.SetclProSettings(LblNavTitle.clProSettings);</div><div><br></div><div>&nbsp; StyleInputLabel(Arz_LblBelgeNo); StyleInputLabel(Arz_LblTarih);&nbsp;</div><div>&nbsp; StyleInputLabel(Arz_LblArizaKodu); StyleInputLabel(Arz_LblMakineKodu);</div><div>&nbsp; StyleInputLabel(Arz_LblBaglanti); StyleInputLabel(Arz_LblBaslangic); StyleInputLabel(Arz_LblGirisZamani);</div><div>&nbsp; StyleInputLabel(Arz_LblPlanlananBitis); StyleInputLabel(Arz_LblKisiSayisi);&nbsp;</div><div>&nbsp; StyleInputLabel(Arz_LblOperator); StyleInputLabel(Arz_LblAciklama);</div><div><br></div><div>&nbsp; StyleReadonlyEdit(Arz_EdtBelgeNo); StyleReadonlyEdit(Arz_EdtTarih);&nbsp;</div><div>&nbsp; StyleReadonlyEdit(Arz_EdtArizaKodu); StyleReadonlyEdit(Arz_EdtMakineKodu);</div><div>&nbsp; StyleReadonlyEdit(Arz_EdtBaglanti);</div><div>&nbsp; StyleReadonlyEdit(Arz_EdtBaslangicSaat); StyleReadonlyEdit(Arz_EdtBaslangic);&nbsp;</div><div>&nbsp; StyleReadonlyEdit(Arz_EdtGirisZamani); StyleInputEdit(Arz_EdtKisiSayisi);&nbsp;</div><div>&nbsp; StyleReadonlyEdit(Arz_EdtOperator); StyleInputEdit(Arz_EdtAciklama);</div><div><br></div><div>&nbsp; Arz_LblMain.clProSettings.FontSize = UiFontSize + 2;</div><div>&nbsp; Arz_LblMain.SetclProSettings(Arz_LblMain.clProSettings);</div><div><br></div><div>&nbsp; Arz_LblSub.clProSettings.FontSize = UiFontSize;</div><div>&nbsp; Arz_LblSub.SetclProSettings(Arz_LblSub.clProSettings);</div><div><br></div><div>&nbsp; Arz_MemBakimIhmal.TextSettings.Font.Size = UiFontSize;</div><div><br></div><div>&nbsp; StyleHeaderBar(PnlNavBar);</div><div>&nbsp; StyleHeaderBar(PnlHeaderTop);</div><div>&nbsp; StyleMainCard(PnlMainCard);</div><div><br></div><div>&nbsp; StyleWhiteButton(BtnYeni);</div><div>&nbsp; StyleWhiteButton(BtnKaydet);</div><div>&nbsp; StylePrimaryButton(BtnResimCek);</div><div>&nbsp; StyleRehberButton(Arz_BtnRehberBelge);</div><div>&nbsp; StyleRehberButton(Arz_BtnRehberAriza);</div><div>&nbsp; StyleRehberButton(Arz_BtnRehberMakine);</div><div>&nbsp; StyleRehberButton(Arz_BtnRehberBaglanti);</div><div>&nbsp; StyleRehberButton(Arz_BtnRehberOperator);</div><div><br></div><div>&nbsp; StyleInputPanel(Arz_GrpBelgeNo);</div><div>&nbsp; StyleInputPanel(Arz_GrpTarih);</div><div>&nbsp; StyleInputPanel(Arz_GrpArizaKodu);</div><div>&nbsp; StyleInputPanel(Arz_GrpMakineKodu);</div><div>&nbsp; StyleInputPanel(Arz_GrpBaglanti);</div><div>&nbsp; StyleInputPanel(Arz_GrpBaslangic);</div><div>&nbsp; StyleInputPanel(Arz_GrpGirisZamani);</div><div>&nbsp; StyleInputPanel(Arz_GrpPlanlananBitis);</div><div>&nbsp; StyleInputPanel(Arz_GrpKisiSayisi);</div><div>&nbsp; StyleInputPanel(Arz_GrpOperator);</div><div>&nbsp; StyleInputPanel(Arz_GrpAciklama);</div><div>&nbsp; StyleInputPanel(Arz_PnlPhotoKutu);</div><div>&nbsp; StyleInputPanel(Arz_PnlBakimIhmalKutu);</div><div><br></div><div>&nbsp; StyleSectionTitle(LblSect1);</div><div>&nbsp; StyleSectionTitle(LblGridTitle);</div><div>&nbsp; StyleSectionTitle(LblPhotoTitle);</div><div>&nbsp; StyleSectionTitle(Arz_LblBakimIhmal);</div><div>}</div><div><br></div><div>// =====================================================================</div><div>// DATA VE FONKSİYONLAR</div><div>// =====================================================================</div><div><br></div><div>void Arz_SetCurrentDateTime;</div><div>{</div><div>&nbsp; Arz_EdtTarih.Text = DateToStr(Now);</div><div>&nbsp; Arz_EdtBaslangic.Text = DateToStr(Now);</div><div>&nbsp; Arz_EdtBaslangicSaat.Text = TimeToStr(Now);</div><div>&nbsp; Arz_EdtGirisZamani.Text = DateToStr(Now) + ' ' + TimeToStr(Now);</div><div>}</div><div><br></div><div>void Arz_LoadDemoData;</div><div>{</div><div>&nbsp; SeciliKayitIndeks = -1;&nbsp;</div><div>&nbsp; Arz_ArizaCount = 1;</div><div><br></div><div>&nbsp; Arz_BelgeNo&#091;0&#093; = 'BLG-001';</div><div>&nbsp; Arz_KayitTarih&#091;0&#093; = '05.05.2026';</div><div>&nbsp; Arz_MakineArr&#091;0&#093; = 'MK-001 | CNC Dik Islem';</div><div>&nbsp; Arz_ArizaDurum&#091;0&#093; = GetText('TAMAMLANDI');</div><div>&nbsp; Arz_BakimIhmalArr&#091;0&#093; = 'Rutin bakim yapildi.';</div><div>&nbsp; Arz_BasTarih&#091;0&#093; = DateToStr(Now);</div><div>&nbsp; Arz_BasSaat&#091;0&#093; = TimeToStr(Now);&nbsp;</div><div>&nbsp; Arz_BitTarih&#091;0&#093; = 'Saat';</div><div>&nbsp; Arz_ArzKodArr&#091;0&#093; = 'KOD-123';</div><div>&nbsp; Arz_BaglantiArr&#091;0&#093; = 'Yok';</div><div>&nbsp; Arz_KisiSayisiArr&#091;0&#093; = '2';</div><div>&nbsp; Arz_OperatorArr&#091;0&#093; = 'OPRTR-001 - Ornek Operator';</div><div>&nbsp; Arz_AciklamaArr&#091;0&#093; = 'Genel kontrol saglandi.';</div><div>}</div><div><br></div><div>void Arz_ClearForm;</div><div>{</div><div>&nbsp; SeciliKayitIndeks = -1;</div><div>&nbsp;&nbsp;</div><div>&nbsp; Arz_EdtBelgeNo.Text = '';</div><div>&nbsp; Arz_EdtArizaKodu.Text = '';</div><div>&nbsp; Arz_EdtMakineKodu.Text = '';&nbsp;</div><div>&nbsp; Arz_EdtBaglanti.Text = '';</div><div>&nbsp; Arz_CmbPlanlananBitis.ItemIndex = -1;</div><div>&nbsp; Arz_EdtKisiSayisi.Text = '0';</div><div>&nbsp; Arz_EdtOperator.Text = '';</div><div>&nbsp; Arz_EdtAciklama.Text = '';</div><div>&nbsp; Arz_MemBakimIhmal.Text = '';&nbsp;</div><div><br></div><div>&nbsp; Arz_SetCurrentDateTime;</div><div>}</div><div><br></div><div>void Arz_RefreshList;</div><div>{</div><div>&nbsp; Arz_ArizaJson = '&#091;';</div><div>&nbsp; TmpIndeks = Arz_ArizaCount - 1;</div><div>&nbsp; while (TmpIndeks &gt;= 0)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (Length(Arz_ArizaJson) &gt; 1)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; Arz_ArizaJson = Arz_ArizaJson + ',';</div><div>&nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; Arz_ArizaJson = Arz_ArizaJson + '{"MAIN_TEXT":"' + Arz_MakineArr&#091;TmpIndeks&#093; + '","SUB_TEXT":"' + Arz_BelgeNo&#091;TmpIndeks&#093; + ' - ' + GetText('DURUM') + Arz_ArizaDurum&#091;TmpIndeks&#093; + '"}';</div><div>&nbsp; &nbsp; TmpIndeks = TmpIndeks - 1;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; Arz_ArizaJson = Arz_ArizaJson + '&#093;';</div><div>&nbsp; Arz_ListAriza.clLoadProListViewDataFromDataset(Clomosy.clDataSetFromJSON(Arz_ArizaJson));</div><div>}</div><div><br></div><div>void Arz_ListedenSec;</div><div>var</div><div>&nbsp; SecilenMetin: String;</div><div>&nbsp; i: Integer;</div><div>{</div><div>&nbsp; SecilenMetin = Arz_ListAriza.clSelectedItemData(clText);&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; SeciliKayitIndeks = -1;</div><div>&nbsp; i = 0;</div><div>&nbsp; while (i &lt; Arz_ArizaCount)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (SecilenMetin == Arz_BelgeNo<em> + ' - ' + GetText('DURUM') + Arz_ArizaDurum<em>)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; SeciliKayitIndeks = i;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; i = i + 1;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (SeciliKayitIndeks &gt; -1)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Arz_EdtBelgeNo.Text = Arz_BelgeNo&#091;SeciliKayitIndeks&#093;;</div><div>&nbsp; &nbsp; Arz_EdtArizaKodu.Text = Arz_ArzKodArr&#091;SeciliKayitIndeks&#093;;</div><div>&nbsp; &nbsp; Arz_EdtBaglanti.Text = Arz_BaglantiArr&#091;SeciliKayitIndeks&#093;;</div><div>&nbsp; &nbsp; Arz_EdtKisiSayisi.Text = Arz_KisiSayisiArr&#091;SeciliKayitIndeks&#093;;</div><div>&nbsp; &nbsp; Arz_EdtOperator.Text = Arz_OperatorArr&#091;SeciliKayitIndeks&#093;;</div><div>&nbsp; &nbsp; Arz_EdtAciklama.Text = Arz_AciklamaArr&#091;SeciliKayitIndeks&#093;;</div><div>&nbsp; &nbsp; Arz_EdtMakineKodu.Text = Arz_MakineArr&#091;SeciliKayitIndeks&#093;;</div><div>&nbsp; &nbsp; Arz_MemBakimIhmal.Text = Arz_BakimIhmalArr&#091;SeciliKayitIndeks&#093;;</div><div>&nbsp; &nbsp; Arz_EdtBaslangic.Text = Arz_BasTarih&#091;SeciliKayitIndeks&#093;;</div><div>&nbsp; &nbsp; Arz_EdtBaslangicSaat.Text = Arz_BasSaat&#091;SeciliKayitIndeks&#093;;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (Arz_BitTarih&#091;SeciliKayitIndeks&#093; == 'Saat') { Arz_CmbPlanlananBitis.ItemIndex = 0; }</div><div>&nbsp; &nbsp; else if (Arz_BitTarih&#091;SeciliKayitIndeks&#093; == 'Gün') { Arz_CmbPlanlananBitis.ItemIndex = 1; }</div><div>&nbsp; &nbsp; else if (Arz_BitTarih&#091;SeciliKayitIndeks&#093; == 'Ay') { Arz_CmbPlanlananBitis.ItemIndex = 2; }</div><div>&nbsp; &nbsp; else { Arz_CmbPlanlananBitis.ItemIndex = -1; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; ShowMessage(GetText('MSG_KAYIT_YUKLENDI'));</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void Arz_BtnYeniClick;</div><div>{</div><div>&nbsp; Arz_ClearForm;</div><div>&nbsp; ShowMessage(GetText('MSG_YENI_SAYFA'));</div><div>}</div><div><br></div><div>void Arz_KaydetKayit;</div><div>var</div><div>&nbsp; KayitDosyasi: TclStringList;</div><div>&nbsp; DosyaYolu, YeniKayit, LTarih, LAy, LYil: String;</div><div>{</div><div>&nbsp; if (Arz_EdtBelgeNo.Text == '')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage(GetText('MSG_BELGE_GIRIN'));</div><div>&nbsp; &nbsp; Exit;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (Arz_EdtMakineKodu.Text == '')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage(GetText('MSG_MAKINE_SECIN'));</div><div>&nbsp; &nbsp; Exit;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (Trim(Arz_MemBakimIhmal.Text) == '')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage(GetText('MSG_IHMAL_ZORUNLU'));</div><div>&nbsp; &nbsp; Exit;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; // YENİ EK: Dosyaya Kaydetme (Filtre ekranında otomatik görünsün diye)</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;&nbsp;</div><div>&nbsp; LTarih = DateToStr(Now);</div><div>&nbsp; LAy = Copy(LTarih, 4, 2);</div><div>&nbsp; LYil = Copy(LTarih, 7, 4);</div><div><br></div><div>&nbsp; // Format: Tur | BelgeNo | Makine | Tip(Arıza) | Tarih | Durum | Ay | Yil | Periyot</div><div>&nbsp; YeniKayit = 'Arıza|' + Arz_EdtBelgeNo.Text + '|' + Arz_EdtMakineKodu.Text + '|' + Arz_EdtArizaKodu.Text + '|' + LTarih + '|Bekliyor|' + LAy + '|' + LYil + '|' + Arz_CmbPlanlananBitis.Text;</div><div>&nbsp; KayitDosyasi.Add(YeniKayit);</div><div>&nbsp; KayitDosyasi.SaveToFile(DosyaYolu, 0);</div><div>&nbsp; KayitDosyasi.Free;</div><div><br></div><div>&nbsp; if (SeciliKayitIndeks == -1)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (Arz_ArizaCount &gt;= 50)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage(GetText('MSG_KAPASITE_DOLU'));</div><div>&nbsp; &nbsp; &nbsp; Exit;</div><div>&nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; Arz_BelgeNo&#091;Arz_ArizaCount&#093; = Trim(Arz_EdtBelgeNo.Text);</div><div>&nbsp; &nbsp; Arz_MakineArr&#091;Arz_ArizaCount&#093; = Arz_EdtMakineKodu.Text;</div><div>&nbsp; &nbsp; Arz_BakimIhmalArr&#091;Arz_ArizaCount&#093; = Trim(Arz_MemBakimIhmal.Text);</div><div>&nbsp; &nbsp; Arz_BasTarih&#091;Arz_ArizaCount&#093; = Arz_EdtBaslangic.Text;</div><div>&nbsp; &nbsp; Arz_BasSaat&#091;Arz_ArizaCount&#093; = Arz_EdtBaslangicSaat.Text;</div><div>&nbsp; &nbsp; if (Arz_CmbPlanlananBitis.ItemIndex == 0) { Arz_BitTarih&#091;Arz_ArizaCount&#093; = 'Saat'; }</div><div>&nbsp; &nbsp; else if (Arz_CmbPlanlananBitis.ItemIndex == 1) { Arz_BitTarih&#091;Arz_ArizaCount&#093; = 'Gün'; }</div><div>&nbsp; &nbsp; else if (Arz_CmbPlanlananBitis.ItemIndex == 2) { Arz_BitTarih&#091;Arz_ArizaCount&#093; = 'Ay'; }</div><div>&nbsp; &nbsp; else { Arz_BitTarih&#091;Arz_ArizaCount&#093; = ''; }</div><div><br></div><div>&nbsp; &nbsp; Arz_ArzKodArr&#091;Arz_ArizaCount&#093; = Arz_EdtArizaKodu.Text;</div><div>&nbsp; &nbsp; Arz_BaglantiArr&#091;Arz_ArizaCount&#093; = Arz_EdtBaglanti.Text;</div><div>&nbsp; &nbsp; Arz_KisiSayisiArr&#091;Arz_ArizaCount&#093; = Arz_EdtKisiSayisi.Text;</div><div>&nbsp; &nbsp; Arz_OperatorArr&#091;Arz_ArizaCount&#093; = Arz_EdtOperator.Text;</div><div>&nbsp; &nbsp; Arz_AciklamaArr&#091;Arz_ArizaCount&#093; = Arz_EdtAciklama.Text;</div><div>&nbsp; &nbsp; Arz_KayitTarih&#091;Arz_ArizaCount&#093; = DateToStr(Now);</div><div>&nbsp; &nbsp; Arz_ArizaDurum&#091;Arz_ArizaCount&#093; = GetText('KAYDEDILDI');</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Arz_ArizaCount = Arz_ArizaCount + 1;</div><div>&nbsp; &nbsp; ShowMessage(GetText('MSG_KAYIT_EKLENDI'));</div><div>&nbsp; }</div><div>&nbsp; else</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Arz_BelgeNo&#091;SeciliKayitIndeks&#093; = Trim(Arz_EdtBelgeNo.Text);</div><div>&nbsp; &nbsp; Arz_MakineArr&#091;SeciliKayitIndeks&#093; = Arz_EdtMakineKodu.Text;</div><div>&nbsp; &nbsp; Arz_BakimIhmalArr&#091;SeciliKayitIndeks&#093; = Trim(Arz_MemBakimIhmal.Text);</div><div>&nbsp; &nbsp; Arz_BasTarih&#091;SeciliKayitIndeks&#093; = Arz_EdtBaslangic.Text;</div><div>&nbsp; &nbsp; Arz_BasSaat&#091;SeciliKayitIndeks&#093; = Arz_EdtBaslangicSaat.Text;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (Arz_CmbPlanlananBitis.ItemIndex == 0) { Arz_BitTarih&#091;SeciliKayitIndeks&#093; = 'Saat'; }</div><div>&nbsp; &nbsp; else if (Arz_CmbPlanlananBitis.ItemIndex == 1) { Arz_BitTarih&#091;SeciliKayitIndeks&#093; = 'Gün'; }</div><div>&nbsp; &nbsp; else if (Arz_CmbPlanlananBitis.ItemIndex == 2) { Arz_BitTarih&#091;SeciliKayitIndeks&#093; = 'Ay'; }</div><div>&nbsp; &nbsp; else { Arz_BitTarih&#091;SeciliKayitIndeks&#093; = ''; }</div><div><br></div><div>&nbsp; &nbsp; Arz_ArzKodArr&#091;SeciliKayitIndeks&#093; = Arz_EdtArizaKodu.Text;</div><div>&nbsp; &nbsp; Arz_BaglantiArr&#091;SeciliKayitIndeks&#093; = Arz_EdtBaglanti.Text;</div><div>&nbsp; &nbsp; Arz_KisiSayisiArr&#091;SeciliKayitIndeks&#093; = Arz_EdtKisiSayisi.Text;</div><div>&nbsp; &nbsp; Arz_OperatorArr&#091;SeciliKayitIndeks&#093; = Arz_EdtOperator.Text;</div><div>&nbsp; &nbsp; Arz_AciklamaArr&#091;SeciliKayitIndeks&#093; = Arz_EdtAciklama.Text;</div><div><br></div><div>&nbsp; &nbsp; ShowMessage(GetText('MSG_KAYIT_GUNCELLENDI'));</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; Arz_RefreshList;</div><div>&nbsp; Arz_ClearForm;&nbsp;</div><div>}</div><div><br></div><div>void TakePhotoClick;</div><div>{</div><div>&nbsp; Clomosy.ImageChooser(FormMain, Arz_ImgPhoto);&nbsp;</div><div>}</div><div><br></div><div>void GoBack;</div><div>{</div><div>&nbsp; FormMain.Close;</div><div>}</div><div><br></div><div>// =====================================================================</div><div>// DİNAMİK REHBER (LOOKUP) SİSTEMİ PROSEDÜRLERİ&nbsp;</div><div>// =====================================================================</div><div><br></div><div>void OnSearchRehber;</div><div>{</div><div>&nbsp; if (RehberJsonData == nil) { Exit; }</div><div>&nbsp; if (EdtRehberArama.Text == '')&nbsp;</div><div>&nbsp; {&nbsp;</div><div>&nbsp; &nbsp; RehberJsonData.Filtered = False;</div><div>&nbsp; &nbsp; RehberJsonData.Filter = '';&nbsp;</div><div>&nbsp; }</div><div>&nbsp; else&nbsp;</div><div>&nbsp; {&nbsp;</div><div>&nbsp; &nbsp; RehberJsonData.Filter = 'MAIN_TEXT Like ' + Chr(39) + '%' + EdtRehberArama.Text + '%' + Chr(39);</div><div>&nbsp; &nbsp; RehberJsonData.Filtered = True;&nbsp;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void OnListItemClick;</div><div>var</div><div>&nbsp; SecilenAnaMetin, SecilenAltMetin: String;</div><div>{&nbsp;</div><div>&nbsp; SecilenAnaMetin = LsvBelgeRehber.clSelectedItemData(clCaption);</div><div>&nbsp; SecilenAltMetin = LsvBelgeRehber.clSelectedItemData(clText);</div><div>&nbsp; if (SecilenAnaMetin == GetText('LST_BOS'))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; RehberForm.Close;&nbsp;</div><div>&nbsp; &nbsp; Exit;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (GlobalLookupType == 'BELGE')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Arz_EdtBelgeNo.Text = SecilenAnaMetin;</div><div>&nbsp; &nbsp; Arz_EdtMakineKodu.Text = SecilenAltMetin;</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'ARIZA')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Arz_EdtArizaKodu.Text = SecilenAnaMetin;</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'MAKINE')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Arz_EdtMakineKodu.Text = SecilenAnaMetin;</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'BAGLANTI')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Arz_EdtBaglanti.Text = SecilenAnaMetin;</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'OPERATOR')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Arz_EdtOperator.Text = SecilenAnaMetin;&nbsp;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; RehberForm.Close;</div><div>}</div><div><br></div><div>void BuildRehberForm;</div><div>var</div><div>&nbsp; RehberDP: TclProListViewDesignerPanel;</div><div>&nbsp; RehberLblMain, RehberLblSub: TclProLabel;</div><div>{</div><div>&nbsp; RehberForm = TclForm.Create(Self);&nbsp;</div><div>&nbsp; RehberForm.SetFormColor(ThemeKoyuRenk, ThemeAcikRenk, clGVertical);</div><div>&nbsp; EdtRehberArama = RehberForm.AddNewProEdit(RehberForm, 'EdtRehberArama', 'Ara...');&nbsp;</div><div>&nbsp; EdtRehberArama.Align = alTop; EdtRehberArama.Margins.Top = 10; EdtRehberArama.Margins.Left = 10; EdtRehberArama.Margins.Right = 10; EdtRehberArama.Height = 40;</div><div>&nbsp; EdtRehberArama.clProSettings.FontSize = 14;</div><div>&nbsp; RehberForm.AddNewEvent(EdtRehberArama, tbeOnChange, 'OnSearchRehber');</div><div><br></div><div>&nbsp; LsvBelgeRehber = RehberForm.AddNewProListView(RehberForm, 'LsvBelgeRehber');&nbsp;</div><div>&nbsp; LsvBelgeRehber.Align = alClient; LsvBelgeRehber.Margins.Top = 10; LsvBelgeRehber.ListType = 'vertical';</div><div>&nbsp; LsvBelgeRehber.clProSettings.ItemHeight = 65;&nbsp;</div><div>&nbsp; LsvBelgeRehber.clProSettings.ItemSpace = 5;</div><div>&nbsp; LsvBelgeRehber.clProSettings.ColCount = 1;&nbsp;</div><div>&nbsp; LsvBelgeRehber.clProSettings.ViewType = lvIcon;&nbsp;</div><div>&nbsp; LsvBelgeRehber.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');&nbsp;</div><div>&nbsp; LsvBelgeRehber.SetclProSettings(LsvBelgeRehber.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; RehberDP = RehberForm.AddNewProListViewDesignerPanel(LsvBelgeRehber, 'RehberDP');</div><div>&nbsp; RehberDP.Align = alTop; RehberDP.Height = 60; 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, 'MAIN_TEXT', '');</div><div>&nbsp; RehberLblMain.Align = alTop;</div><div>&nbsp; RehberLblMain.Height = 25; RehberLblMain.Margins.Left = 10; 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; RehberLblSub = RehberForm.AddNewProLabel(RehberDP, 'SUB_TEXT', '');</div><div>&nbsp; RehberLblSub.Align = alTop; RehberLblSub.Height = 25; 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; LsvBelgeRehber.SetDesignerPanel(RehberDP);</div><div>&nbsp;&nbsp;</div><div>&nbsp; RehberForm.AddNewEvent(LsvBelgeRehber, tbeOnItemClick, 'OnListItemClick');</div><div>}</div><div><br></div><div>void OpenRehber;</div><div>var&nbsp;</div><div>&nbsp; q: TclSQLQuery;</div><div>&nbsp; JsonStr: String;</div><div>{</div><div>&nbsp; BuildRehberForm;</div><div>&nbsp; // 1. SİGORTA DEVREDE: Eğer daha önce bağlanmayı denemediysek ŞİMDİ DENE</div><div>&nbsp; if (gBaglantiDenendi == 0)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Clomosy.DBSQLServerConnect('SQL Server','192.168.1.39','sa','1','ATIKER_YAZILIM',50000);</div><div>&nbsp; &nbsp; gBaglantiDenendi = 1; // Artık denendi, bir daha 30 saniye kilitlenmeyecek!</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; // 2. SUNUCU YOKSA BOŞ YERE VERİ ÇEKMEYE ÇALIŞMA (DONMAYI KESEN YER BURASI)</div><div>&nbsp; if (not Clomosy.DBSQLServerConnection.Connected)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('Sunucu (' + '192.168.1.39' + ') bulunamadı! Lütfen Wi-Fi ağınızı kontrol edin.');</div><div>&nbsp; &nbsp; // Uygulama çökmesin diye sahte bir liste gösterip durduruyoruz</div><div>&nbsp; &nbsp; JsonStr = '&#091;{"MAIN_TEXT":"Sunucuya Ulaşılamıyor", "SUB_TEXT":"Ağ bağlantısı yok."}&#093;';</div><div>&nbsp; &nbsp; if (RehberJsonData &lt;&gt; nil) { RehberJsonData.Free; }</div><div>&nbsp; &nbsp; RehberJsonData = Clomosy.clDataSetFromJSON(JsonStr);</div><div>&nbsp; &nbsp; LsvBelgeRehber.clLoadProListViewDataFromDataset(RehberJsonData);</div><div>&nbsp; &nbsp; RehberForm.Run;</div><div>&nbsp; &nbsp; Exit; // Buradan sonrasına geçme!</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; // 3. EĞER SUNUCU AÇIKSA VE BAĞLIYSAK HIZLI ÇEKİM YAP</div><div>&nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; try</div><div>&nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div><br></div><div>&nbsp; &nbsp; if (GlobalLookupType == 'BELGE')</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; EdtRehberArama.TextPrompt = GetText('ARA_BELGE');</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 SELECT TOP 200 BELGE_NO AS MAIN_TEXT, MAKINE_KODU AS SUB_TEXT FROM &#091;TBLURTBAKIMHR&#093; WITH (NOLOCK) INNER JOIN &#091;TBLURTMAKINESB&#093; WITH (NOLOCK) ON MAKINE_KODU_RECID = TBLURTMAKINESB.REC_NO ORDER BY BELGE_NO DESC SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else if (GlobalLookupType == 'ARIZA')</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; EdtRehberArama.TextPrompt = GetText('ARA_ARIZA');</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 SELECT * FROM (SELECT TOP 200 BAKIM_KODU AS MAIN_TEXT, BAKIM_ACIKLAMA AS SUB_TEXT FROM &#091;TBLURTBAKIMSB&#093; WITH (NOLOCK) WHERE BAKIMTIP =(SELECT ARIZA_TIPI FROM &#091;TBLURTBAKIMARIZATIP&#093; WITH (NOLOCK) WHERE ARIZA_KODU='''') AND BAKIM_TURU=2 ) AS REHBERSQL ORDER BY MAIN_TEXT SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else if (GlobalLookupType == 'MAKINE')</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; EdtRehberArama.TextPrompt = GetText('ARA_MAKINE');</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 SELECT TOP 200 MAKINE_KODU AS MAIN_TEXT, MAKINE_ADI AS SUB_TEXT FROM &#091;TBLURTMAKINESB&#093; WITH (NOLOCK) ORDER BY MAKINE_KODU SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else if (GlobalLookupType == 'BAGLANTI')</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; EdtRehberArama.TextPrompt = GetText('ARA_BAGLANTI');</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 SELECT TOP 200 BAKIM_KODU AS MAIN_TEXT, BAKIM_ACIKLAMA AS SUB_TEXT FROM &#091;TBLURTBAKIMSB&#093; WITH (NOLOCK) WHERE BAKIM_TURU = 2 ORDER BY BAKIM_KODU SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else if (GlobalLookupType == 'OPERATOR')</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; EdtRehberArama.TextPrompt = GetText('ARA_OPERATOR');</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 SELECT * FROM (SELECT TOP 200 (OPERATOR_KODU + '' - '' + ISNULL(OPERATOR_ADI,'''')) AS MAIN_TEXT, '''' AS SUB_TEXT FROM &#091;TBLURTOPERATORSB&#093; WITH (NOLOCK) WHERE 1=1 AND ISNULL(PASIF,0)=0 AND OPERATOR_KODU IN (SELECT ITEMS FROM dbo.PrgFn_Split(''(OPRTR-001);(OPRTR-002);(OPRTR-003);(OPRTR-004);(OPRTR-005)'','';'')) ) AS REHBERSQL ORDER BY MAIN_TEXT SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</div><div>&nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; q.Open;</div><div><br></div><div>&nbsp; &nbsp; JsonStr = '&#091;';</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('MAIN_TEXT').AsString + '", "SUB_TEXT":"' + q.FieldByName('SUB_TEXT').AsString + '"}';</div><div>&nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; finally</div><div>&nbsp; &nbsp; q.Free;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"' + GetText('LST_BOS') + '", "SUB_TEXT":""}&#093;'; }</div><div>&nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; // HAFIZA ŞİŞMESİNİ ÖNLÜYORUZ</div><div>&nbsp; if (RehberJsonData &lt;&gt; nil) { RehberJsonData.Free; }</div><div>&nbsp; RehberJsonData = Clomosy.clDataSetFromJSON(JsonStr);</div><div>&nbsp; LsvBelgeRehber.clLoadProListViewDataFromDataset(RehberJsonData);</div><div>&nbsp; RehberForm.Run;</div><div>}</div><div><br></div><div>// =====================================================================</div><div>// --- ORTAK V3 FORMATLI AYAR YÜKLEME 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 = 12; 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;= 3)&nbsp;</div><div>&nbsp; &nbsp; {&nbsp;</div><div>&nbsp; &nbsp; &nbsp; TemaKodu = Clomosy.StringListItemString(YuklenenAyarlar, 0);</div><div>&nbsp; &nbsp; &nbsp; if (TemaKodu == '') { TemaKodu = '0'; }</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</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 = 12; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else if (OkunanBoyutIndex == 1) { UiFontSize = 14; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else if (OkunanBoyutIndex == 2) { UiFontSize = 16; }</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); } else { gAktifDilIndex = 0; }</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; }</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div>&nbsp; AyarDosyasindanTemayiYukle(StrToInt(TemaKodu));</div><div>}</div><div><br></div><div>void DiliVeArayuzuGuncelle;</div><div>{</div><div>&nbsp; AyarlariYukle;</div><div><br></div><div>&nbsp; if (Arz_EdtBelgeNo &lt;&gt; nil)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ApplyUiSettings;</div><div>&nbsp; &nbsp; Arz_RefreshList;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>// BÜYÜTEÇ BUTON EVENTLERİ</div><div>void BtnRehberBelgeClick; { GlobalLookupType = 'BELGE'; OpenRehber; }</div><div>void BtnRehberArizaClick; { GlobalLookupType = 'ARIZA'; OpenRehber; }</div><div>void BtnRehberMakineClick; { GlobalLookupType = 'MAKINE'; OpenRehber; }</div><div>void BtnRehberBaglantiClick; { GlobalLookupType = 'BAGLANTI'; OpenRehber; }</div><div>void BtnRehberOperatorClick; { GlobalLookupType = 'OPERATOR'; OpenRehber; }</div><div><br></div><div>// =====================================================================</div><div>// ANA BLOK&nbsp;</div><div>// =====================================================================</div><div>{</div><div>&nbsp; FormMain = TclGameForm.Create(Self);</div><div>&nbsp; FormMain.LytTopBar.Visible = False;</div><div>&nbsp; FormMain.BtnGoBack.Visible = False;</div><div>&nbsp; FormMain.BtnFormMenu.Visible = False;</div><div>&nbsp; FormMain.AddNewEvent(FormMain, tbeOnVirtualKeyboardShown, 'OnKeyboardShow');</div><div>&nbsp; FormMain.AddNewEvent(FormMain, tbeOnVirtualKeyboardHidden, 'OnKeyboardHide');</div><div><br></div><div>&nbsp; FormMain.AddNewEvent(FormMain, tbeOnFormActivate, 'DiliVeArayuzuGuncelle');</div><div><br></div><div>&nbsp; UiFontSize = 12;</div><div>&nbsp; OkunanFontAdi = 'Arial';&nbsp;</div><div>&nbsp; gAktifDilIndex = 0;</div><div>&nbsp; gBaglantiDenendi = 0; // SİGORTAMIZI SIFIRLADIK</div><div>&nbsp;&nbsp;</div><div>&nbsp; AyarlariYukle;</div><div>&nbsp; Arz_LoadDemoData;</div><div><br></div><div>&nbsp; PnlNavBar = FormMain.AddNewProPanel(FormMain, '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 = FormMain.AddNewProButton(PnlNavBar, 'BtnGeri', '&lt;');</div><div>&nbsp; BtnGeri.Align = alLeft; BtnGeri.Width = 48; 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; BtnGeri.clProSettings.IsFill = False;</div><div>&nbsp; BtnGeri.clProSettings.FontSize = 20; 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; FormMain.AddNewEvent(BtnGeri, tbeOnClick, 'GoBack');</div><div><br></div><div>&nbsp; LblNavTitle = FormMain.AddNewProLabel(PnlNavBar, 'LblNavTitle', '');</div><div>&nbsp; LblNavTitle.Align = alClient; LblNavTitle.Margins.Left = 8;</div><div>&nbsp; LblNavTitle.Margins.Top = 54;</div><div>&nbsp; LblNavTitle.clProSettings.FontColor = clAlphaColor.clWhite;</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; ScrollForm = FormMain.AddNewVertScrollBox(FormMain, 'ScrollForm');</div><div>&nbsp; ScrollForm.Align = alClient;</div><div>&nbsp; PnlHeaderTop = FormMain.AddNewProPanel(ScrollForm, 'PnlHeaderTop');</div><div>&nbsp; PnlHeaderTop.Align = alTop; PnlHeaderTop.Height = 56;</div><div>&nbsp; StyleHeaderBar(PnlHeaderTop);</div><div><br></div><div>&nbsp; BtnScroll = FormMain.AddNewHorzScrollBox(PnlHeaderTop, 'BtnScroll');</div><div>&nbsp; BtnScroll.Align = alClient;</div><div>&nbsp; BtnScroll.Margins.Left = 8; BtnScroll.Margins.Right = 8;</div><div><br></div><div>&nbsp; BtnYeni = FormMain.AddNewProButton(BtnScroll, 'BtnYeni', '');</div><div>&nbsp; BtnYeni.Align = alLeft; BtnYeni.Width = 82; BtnYeni.Margins.Left = 4;</div><div>&nbsp; BtnYeni.Margins.Top = 9; BtnYeni.Margins.Bottom = 9; StyleWhiteButton(BtnYeni);</div><div>&nbsp; FormMain.AddNewEvent(BtnYeni, tbeOnClick, 'Arz_BtnYeniClick');</div><div><br></div><div>&nbsp; BtnKaydet = FormMain.AddNewProButton(BtnScroll, 'BtnKaydet', '');</div><div>&nbsp; BtnKaydet.Align = alLeft;</div><div>&nbsp; BtnKaydet.Width = 88; BtnKaydet.Margins.Left = 8; BtnKaydet.Margins.Top = 9; BtnKaydet.Margins.Bottom = 9; StyleWhiteButton(BtnKaydet);</div><div>&nbsp; FormMain.AddNewEvent(BtnKaydet, tbeOnClick, 'Arz_KaydetKayit');</div><div><br></div><div>&nbsp; PnlMainCard = FormMain.AddNewProPanel(ScrollForm, 'PnlMainCard');</div><div>&nbsp; PnlMainCard.Align = alTop;</div><div>&nbsp; PnlMainCard.Height = 2200;&nbsp;</div><div>&nbsp; PnlMainCard.Margins.Top = 15;</div><div>&nbsp; PnlMainCard.Margins.Left = 12;</div><div>&nbsp; PnlMainCard.Margins.Right = 12;</div><div>&nbsp; PnlMainCard.Margins.Bottom = 25;</div><div>&nbsp; StyleMainCard(PnlMainCard);</div><div>&nbsp; LblSect1 = FormMain.AddNewProLabel(PnlMainCard, 'LblSect1', '');</div><div>&nbsp; LblSect1.Align = alTop; LblSect1.Height = 30; LblSect1.Margins.Left = 10; LblSect1.Margins.Top = 15;</div><div>&nbsp; StyleSectionTitle(LblSect1);</div><div>&nbsp; // ---------------- BELGE NO ----------------</div><div>&nbsp; Arz_GrpBelgeNo = FormMain.AddNewProPanel(PnlMainCard, 'Arz_GrpBelgeNo');</div><div>&nbsp; Arz_GrpBelgeNo.Align = alTop;</div><div>&nbsp; Arz_GrpBelgeNo.Height = 58;</div><div>&nbsp; Arz_GrpBelgeNo.Margins.Top = 6;</div><div>&nbsp; Arz_GrpBelgeNo.Margins.Left = 10;</div><div>&nbsp; Arz_GrpBelgeNo.Margins.Right = 10;</div><div>&nbsp; StyleInputPanel(Arz_GrpBelgeNo);</div><div><br></div><div>&nbsp; Arz_LblBelgeNo = FormMain.AddNewProLabel(Arz_GrpBelgeNo, 'Arz_LblBelgeNo', '');</div><div>&nbsp; Arz_LblBelgeNo.Align = alTop;</div><div>&nbsp; Arz_LblBelgeNo.Height = 18;</div><div>&nbsp; Arz_LblBelgeNo.Margins.Left = 10;</div><div>&nbsp; Arz_LblBelgeNo.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(Arz_LblBelgeNo);</div><div><br></div><div>&nbsp; Arz_BtnRehberBelge = FormMain.AddNewProButton(Arz_GrpBelgeNo, 'Arz_BtnRehberBelge', '');</div><div>&nbsp; Arz_BtnRehberBelge.Align = alRight;</div><div>&nbsp; Arz_BtnRehberBelge.Width = 50;</div><div>&nbsp; Arz_BtnRehberBelge.Margins.Right = 10;</div><div>&nbsp; Arz_BtnRehberBelge.Margins.Bottom = 7;</div><div>&nbsp; StyleRehberButton(Arz_BtnRehberBelge);</div><div>&nbsp; FormMain.AddNewEvent(Arz_BtnRehberBelge, tbeOnClick, 'BtnRehberBelgeClick');</div><div>&nbsp;&nbsp;</div><div>&nbsp; ImgBelge = FormMain.AddNewImage(Arz_BtnRehberBelge, 'ImgBelge');&nbsp;</div><div>&nbsp; ImgBelge.Align = alClient; ImgBelge.Margins.Top = 2;</div><div>&nbsp; ImgBelge.Margins.Bottom = 2; ImgBelge.Margins.Left = 2; ImgBelge.Margins.Right = 2;</div><div>&nbsp; FormMain.setImage(ImgBelge, '<a href="https://i.hizliresim.com/57zt&#111;nk.png" target="_blank" rel="nofollow">https://i.hizliresim.com/57ztonk.png</a>');&nbsp;</div><div>&nbsp; FormMain.AddNewEvent(ImgBelge, tbeOnClick, 'BtnRehberBelgeClick');</div><div><br></div><div>&nbsp; Arz_EdtBelgeNo = FormMain.AddNewProEdit(Arz_GrpBelgeNo, 'Arz_EdtBelgeNo', '');</div><div>&nbsp; Arz_EdtBelgeNo.Align = alClient;</div><div>&nbsp; Arz_EdtBelgeNo.Margins.Left = 10;</div><div>&nbsp; Arz_EdtBelgeNo.Margins.Right = 5;</div><div>&nbsp; Arz_EdtBelgeNo.Margins.Bottom = 7;</div><div>&nbsp; Arz_EdtBelgeNo.ReadOnly = True;</div><div>&nbsp; StyleReadonlyEdit(Arz_EdtBelgeNo);</div><div><br></div><div>&nbsp; Arz_GrpTarih = FormMain.AddNewProPanel(PnlMainCard, 'Arz_GrpTarih');</div><div>&nbsp; Arz_GrpTarih.Align = alTop; Arz_GrpTarih.Height = 58; Arz_GrpTarih.Margins.Top = 6; Arz_GrpTarih.Margins.Left = 10; Arz_GrpTarih.Margins.Right = 10; StyleInputPanel(Arz_GrpTarih);</div><div>&nbsp; Arz_LblTarih = FormMain.AddNewProLabel(Arz_GrpTarih, 'Arz_LblTarih', ''); Arz_LblTarih.Align = alTop; Arz_LblTarih.Height = 18; Arz_LblTarih.Margins.Left = 10; Arz_LblTarih.Margins.Top = 6; StyleInputLabel(Arz_LblTarih);</div><div>&nbsp; Arz_EdtTarih = FormMain.AddNewProEdit(Arz_GrpTarih, 'Arz_EdtTarih', ''); Arz_EdtTarih.Align = alClient; Arz_EdtTarih.Margins.Left = 10; Arz_EdtTarih.Margins.Right = 10; Arz_EdtTarih.Margins.Bottom = 7; Arz_EdtTarih.ReadOnly = True;</div><div>&nbsp; StyleReadonlyEdit(Arz_EdtTarih);</div><div><br></div><div>&nbsp; // ---------------- ARIZA KODU ----------------</div><div>&nbsp; Arz_GrpArizaKodu = FormMain.AddNewProPanel(PnlMainCard, 'Arz_GrpArizaKodu'); Arz_GrpArizaKodu.Align = alTop; Arz_GrpArizaKodu.Height = 58; Arz_GrpArizaKodu.Margins.Top = 6;</div><div>&nbsp; Arz_GrpArizaKodu.Margins.Left = 10; Arz_GrpArizaKodu.Margins.Right = 10; StyleInputPanel(Arz_GrpArizaKodu);</div><div>&nbsp; Arz_LblArizaKodu = FormMain.AddNewProLabel(Arz_GrpArizaKodu, 'Arz_LblArizaKodu', ''); Arz_LblArizaKodu.Align = alTop; Arz_LblArizaKodu.Height = 18;</div><div>&nbsp; Arz_LblArizaKodu.Margins.Left = 10; Arz_LblArizaKodu.Margins.Top = 6; StyleInputLabel(Arz_LblArizaKodu);</div><div>&nbsp;&nbsp;</div><div>&nbsp; Arz_BtnRehberAriza = FormMain.AddNewProButton(Arz_GrpArizaKodu, 'Arz_BtnRehberAriza', ''); Arz_BtnRehberAriza.Align = alRight; Arz_BtnRehberAriza.Width = 50;</div><div>&nbsp; Arz_BtnRehberAriza.Margins.Right = 10; Arz_BtnRehberAriza.Margins.Bottom = 7; StyleRehberButton(Arz_BtnRehberAriza); FormMain.AddNewEvent(Arz_BtnRehberAriza, tbeOnClick, 'BtnRehberArizaClick');</div><div>&nbsp;&nbsp;</div><div>&nbsp; ImgAriza = FormMain.AddNewImage(Arz_BtnRehberAriza, 'ImgAriza');&nbsp;</div><div>&nbsp; ImgAriza.Align = alClient; ImgAriza.Margins.Top = 2;</div><div>&nbsp; ImgAriza.Margins.Bottom = 2; ImgAriza.Margins.Left = 2; ImgAriza.Margins.Right = 2;</div><div>&nbsp; FormMain.setImage(ImgAriza, '<a href="https://i.hizliresim.com/57zt&#111;nk.png" target="_blank" rel="nofollow">https://i.hizliresim.com/57ztonk.png</a>');&nbsp;</div><div>&nbsp; FormMain.AddNewEvent(ImgAriza, tbeOnClick, 'BtnRehberArizaClick');</div><div>&nbsp;&nbsp;</div><div>&nbsp; Arz_EdtArizaKodu = FormMain.AddNewProEdit(Arz_GrpArizaKodu, 'Arz_EdtArizaKodu', '');</div><div>&nbsp; Arz_EdtArizaKodu.Align = alClient; Arz_EdtArizaKodu.Margins.Left = 10; Arz_EdtArizaKodu.Margins.Right = 5; Arz_EdtArizaKodu.Margins.Bottom = 7; Arz_EdtArizaKodu.ReadOnly = True; StyleReadonlyEdit(Arz_EdtArizaKodu);</div><div>&nbsp; // ---------------- MAKİNE KODU ----------------</div><div>&nbsp; Arz_GrpMakineKodu = FormMain.AddNewProPanel(PnlMainCard, 'Arz_GrpMakineKodu'); Arz_GrpMakineKodu.Align = alTop; Arz_GrpMakineKodu.Height = 58; Arz_GrpMakineKodu.Margins.Top = 6;</div><div>&nbsp; Arz_GrpMakineKodu.Margins.Left = 10; Arz_GrpMakineKodu.Margins.Right = 10; StyleInputPanel(Arz_GrpMakineKodu);</div><div>&nbsp; Arz_LblMakineKodu = FormMain.AddNewProLabel(Arz_GrpMakineKodu, 'Arz_LblMakineKodu', ''); Arz_LblMakineKodu.Align = alTop; Arz_LblMakineKodu.Height = 18;</div><div>&nbsp; Arz_LblMakineKodu.Margins.Left = 10; Arz_LblMakineKodu.Margins.Top = 6; StyleInputLabel(Arz_LblMakineKodu);</div><div>&nbsp;&nbsp;</div><div>&nbsp; Arz_BtnRehberMakine = FormMain.AddNewProButton(Arz_GrpMakineKodu, 'Arz_BtnRehberMakine', ''); Arz_BtnRehberMakine.Align = alRight; Arz_BtnRehberMakine.Width = 50;</div><div>&nbsp; Arz_BtnRehberMakine.Margins.Right = 10; Arz_BtnRehberMakine.Margins.Bottom = 7; StyleRehberButton(Arz_BtnRehberMakine); FormMain.AddNewEvent(Arz_BtnRehberMakine, tbeOnClick, 'BtnRehberMakineClick');</div><div>&nbsp;&nbsp;</div><div>&nbsp; ImgMakine = FormMain.AddNewImage(Arz_BtnRehberMakine, 'ImgMakine');&nbsp;</div><div>&nbsp; ImgMakine.Align = alClient; ImgMakine.Margins.Top = 2;</div><div>&nbsp; ImgMakine.Margins.Bottom = 2; ImgMakine.Margins.Left = 2; ImgMakine.Margins.Right = 2;</div><div>&nbsp; FormMain.setImage(ImgMakine, '<a href="https://i.hizliresim.com/57zt&#111;nk.png" target="_blank" rel="nofollow">https://i.hizliresim.com/57ztonk.png</a>');&nbsp;</div><div>&nbsp; FormMain.AddNewEvent(ImgMakine, tbeOnClick, 'BtnRehberMakineClick');</div><div>&nbsp;&nbsp;</div><div>&nbsp; Arz_EdtMakineKodu = FormMain.AddNewProEdit(Arz_GrpMakineKodu, 'Arz_EdtMakineKodu', '');</div><div>&nbsp; Arz_EdtMakineKodu.Align = alClient; Arz_EdtMakineKodu.Margins.Left = 10; Arz_EdtMakineKodu.Margins.Right = 5; Arz_EdtMakineKodu.Margins.Bottom = 7; Arz_EdtMakineKodu.ReadOnly = True; StyleReadonlyEdit(Arz_EdtMakineKodu);</div><div>&nbsp; // ---------------- BAĞLANTI ----------------</div><div>&nbsp; Arz_GrpBaglanti = FormMain.AddNewProPanel(PnlMainCard, 'Arz_GrpBaglanti'); Arz_GrpBaglanti.Align = alTop; Arz_GrpBaglanti.Height = 58; Arz_GrpBaglanti.Margins.Top = 6;</div><div>&nbsp; Arz_GrpBaglanti.Margins.Left = 10; Arz_GrpBaglanti.Margins.Right = 10; StyleInputPanel(Arz_GrpBaglanti);</div><div>&nbsp; Arz_LblBaglanti = FormMain.AddNewProLabel(Arz_GrpBaglanti, 'Arz_LblBaglanti', ''); Arz_LblBaglanti.Align = alTop; Arz_LblBaglanti.Height = 18;</div><div>&nbsp; Arz_LblBaglanti.Margins.Left = 10; Arz_LblBaglanti.Margins.Top = 6; StyleInputLabel(Arz_LblBaglanti);</div><div>&nbsp;&nbsp;</div><div>&nbsp; Arz_BtnRehberBaglanti = FormMain.AddNewProButton(Arz_GrpBaglanti, 'Arz_BtnRehberBaglanti', ''); Arz_BtnRehberBaglanti.Align = alRight; Arz_BtnRehberBaglanti.Width = 50;</div><div>&nbsp; Arz_BtnRehberBaglanti.Margins.Right = 10; Arz_BtnRehberBaglanti.Margins.Bottom = 7; StyleRehberButton(Arz_BtnRehberBaglanti); FormMain.AddNewEvent(Arz_BtnRehberBaglanti, tbeOnClick, 'BtnRehberBaglantiClick');</div><div>&nbsp;&nbsp;</div><div>&nbsp; ImgBaglanti = FormMain.AddNewImage(Arz_BtnRehberBaglanti, 'ImgBaglanti');&nbsp;</div><div>&nbsp; ImgBaglanti.Align = alClient; ImgBaglanti.Margins.Top = 2;</div><div>&nbsp; ImgBaglanti.Margins.Bottom = 2; ImgBaglanti.Margins.Left = 2; ImgBaglanti.Margins.Right = 2;</div><div>&nbsp; FormMain.setImage(ImgBaglanti, '<a href="https://i.hizliresim.com/57zt&#111;nk.png" target="_blank" rel="nofollow">https://i.hizliresim.com/57ztonk.png</a>');&nbsp;</div><div>&nbsp; FormMain.AddNewEvent(ImgBaglanti, tbeOnClick, 'BtnRehberBaglantiClick');</div><div>&nbsp;&nbsp;</div><div>&nbsp; Arz_EdtBaglanti = FormMain.AddNewProEdit(Arz_GrpBaglanti, 'Arz_EdtBaglanti', '');</div><div>&nbsp; Arz_EdtBaglanti.Align = alClient; Arz_EdtBaglanti.Margins.Left = 10; Arz_EdtBaglanti.Margins.Right = 5; Arz_EdtBaglanti.Margins.Bottom = 7; Arz_EdtBaglanti.ReadOnly = True; StyleReadonlyEdit(Arz_EdtBaglanti);</div><div><br></div><div>&nbsp; Arz_GrpBaslangic = FormMain.AddNewProPanel(PnlMainCard, 'Arz_GrpBaslangic');</div><div>&nbsp; Arz_GrpBaslangic.Align = alTop; Arz_GrpBaslangic.Height = 58; Arz_GrpBaslangic.Margins.Top = 6; Arz_GrpBaslangic.Margins.Left = 10; Arz_GrpBaslangic.Margins.Right = 10; StyleInputPanel(Arz_GrpBaslangic);</div><div>&nbsp; Arz_LblBaslangic = FormMain.AddNewProLabel(Arz_GrpBaslangic, 'Arz_LblBaslangic', ''); Arz_LblBaslangic.Align = alTop; Arz_LblBaslangic.Height = 18; Arz_LblBaslangic.Margins.Left = 10; Arz_LblBaslangic.Margins.Top = 6; StyleInputLabel(Arz_LblBaslangic);</div><div>&nbsp; Arz_EdtBaslangic = FormMain.AddNewProEdit(Arz_GrpBaslangic, 'Arz_EdtBaslangic', '');&nbsp;</div><div>&nbsp; Arz_EdtBaslangic.Align = alLeft;&nbsp;</div><div>&nbsp; Arz_EdtBaslangic.Width = 140;&nbsp;</div><div>&nbsp; Arz_EdtBaslangic.Margins.Left = 10;&nbsp;</div><div>&nbsp; Arz_EdtBaslangic.Margins.Bottom = 7;&nbsp;</div><div>&nbsp; Arz_EdtBaslangic.ReadOnly = True;</div><div>&nbsp; StyleReadonlyEdit(Arz_EdtBaslangic);</div><div><br></div><div>&nbsp; Arz_EdtBaslangicSaat = FormMain.AddNewProEdit(Arz_GrpBaslangic, 'Arz_EdtBaslangicSaat', '');&nbsp;</div><div>&nbsp; Arz_EdtBaslangicSaat.Align = alLeft;&nbsp;</div><div>&nbsp; Arz_EdtBaslangicSaat.Width = 90;&nbsp;</div><div>&nbsp; Arz_EdtBaslangicSaat.Margins.Left = 10;&nbsp;</div><div>&nbsp; Arz_EdtBaslangicSaat.Margins.Bottom = 7;</div><div>&nbsp; Arz_EdtBaslangicSaat.ReadOnly = True;&nbsp;</div><div>&nbsp; StyleReadonlyEdit(Arz_EdtBaslangicSaat);</div><div><br></div><div>&nbsp; Arz_GrpGirisZamani = FormMain.AddNewProPanel(PnlMainCard, 'Arz_GrpGirisZamani'); Arz_GrpGirisZamani.Align = alTop; Arz_GrpGirisZamani.Height = 58; Arz_GrpGirisZamani.Margins.Top = 6; Arz_GrpGirisZamani.Margins.Left = 10;</div><div>&nbsp; Arz_GrpGirisZamani.Margins.Right = 10; StyleInputPanel(Arz_GrpGirisZamani);</div><div>&nbsp; Arz_LblGirisZamani = FormMain.AddNewProLabel(Arz_GrpGirisZamani, 'Arz_LblGirisZamani', ''); Arz_LblGirisZamani.Align = alTop; Arz_LblGirisZamani.Height = 18; Arz_LblGirisZamani.Margins.Left = 10;</div><div>&nbsp; Arz_LblGirisZamani.Margins.Top = 6; StyleInputLabel(Arz_LblGirisZamani);</div><div>&nbsp; Arz_EdtGirisZamani = FormMain.AddNewProEdit(Arz_GrpGirisZamani, 'Arz_EdtGirisZamani', ''); Arz_EdtGirisZamani.Align = alClient; Arz_EdtGirisZamani.Margins.Left = 10; Arz_EdtGirisZamani.Margins.Right = 10;</div><div>&nbsp; Arz_EdtGirisZamani.Margins.Bottom = 7; Arz_EdtGirisZamani.ReadOnly = True; StyleReadonlyEdit(Arz_EdtGirisZamani);</div><div><br></div><div>&nbsp; Arz_GrpPlanlananBitis = FormMain.AddNewProPanel(PnlMainCard, 'Arz_GrpPlanlananBitis'); Arz_GrpPlanlananBitis.Align = alTop; Arz_GrpPlanlananBitis.Height = 58; Arz_GrpPlanlananBitis.Margins.Top = 6;</div><div>&nbsp; Arz_GrpPlanlananBitis.Margins.Left = 10; Arz_GrpPlanlananBitis.Margins.Right = 10; StyleInputPanel(Arz_GrpPlanlananBitis);</div><div>&nbsp; Arz_LblPlanlananBitis = FormMain.AddNewProLabel(Arz_GrpPlanlananBitis, 'Arz_LblPlanlananBitis', ''); Arz_LblPlanlananBitis.Align = alTop; Arz_LblPlanlananBitis.Height = 18;</div><div>&nbsp; Arz_LblPlanlananBitis.Margins.Left = 10; Arz_LblPlanlananBitis.Margins.Top = 6; StyleInputLabel(Arz_LblPlanlananBitis);</div><div>&nbsp; Arz_CmbPlanlananBitis = FormMain.AddNewComboBox(Arz_GrpPlanlananBitis, 'Arz_CmbPlanlananBitis'); Arz_CmbPlanlananBitis.Align = alClient; Arz_CmbPlanlananBitis.Margins.Left = 10; Arz_CmbPlanlananBitis.Margins.Right = 10;</div><div>&nbsp; Arz_CmbPlanlananBitis.Margins.Bottom = 7;</div><div><br></div><div>&nbsp; Arz_GrpKisiSayisi = FormMain.AddNewProPanel(PnlMainCard, 'Arz_GrpKisiSayisi');</div><div>&nbsp; Arz_GrpKisiSayisi.Align = alTop;</div><div>&nbsp; Arz_GrpKisiSayisi.Height = 58;</div><div>&nbsp; Arz_GrpKisiSayisi.Margins.Top = 6;</div><div>&nbsp; Arz_GrpKisiSayisi.Margins.Left = 10;</div><div>&nbsp; Arz_GrpKisiSayisi.Margins.Right = 10;</div><div>&nbsp; StyleInputPanel(Arz_GrpKisiSayisi);</div><div><br></div><div>&nbsp; Arz_LblKisiSayisi = FormMain.AddNewProLabel(Arz_GrpKisiSayisi, 'Arz_LblKisiSayisi', '');</div><div>&nbsp; Arz_LblKisiSayisi.Align = alTop;</div><div>&nbsp; Arz_LblKisiSayisi.Height = 18;</div><div>&nbsp; Arz_LblKisiSayisi.Margins.Left = 10;</div><div>&nbsp; Arz_LblKisiSayisi.Margins.Top = 6;</div><div>&nbsp; StyleInputLabel(Arz_LblKisiSayisi);</div><div><br></div><div>&nbsp; Arz_EdtKisiSayisi = FormMain.AddNewProEdit(Arz_GrpKisiSayisi, 'Arz_EdtKisiSayisi', '0');</div><div>&nbsp; Arz_EdtKisiSayisi.Align = alClient;</div><div>&nbsp; Arz_EdtKisiSayisi.Margins.Left = 10;</div><div>&nbsp; Arz_EdtKisiSayisi.Margins.Right = 10;</div><div>&nbsp; Arz_EdtKisiSayisi.Margins.Bottom = 7;</div><div>&nbsp; StyleInputEdit(Arz_EdtKisiSayisi);</div><div>&nbsp; BindInputFocus(Arz_EdtKisiSayisi);</div><div>&nbsp; FormMain.AddNewEvent(Arz_EdtKisiSayisi, tbeOnEnter, 'KlvKisiSayisi');</div><div><br></div><div>&nbsp; // ---------------- OPERATOR KODU ----------------</div><div>&nbsp; Arz_GrpOperator = FormMain.AddNewProPanel(PnlMainCard, 'Arz_GrpOperator');</div><div>&nbsp; Arz_GrpOperator.Align = alTop; Arz_GrpOperator.Height = 58; Arz_GrpOperator.Margins.Top = 6; Arz_GrpOperator.Margins.Left = 10; Arz_GrpOperator.Margins.Right = 10; StyleInputPanel(Arz_GrpOperator);</div><div>&nbsp; Arz_LblOperator = FormMain.AddNewProLabel(Arz_GrpOperator, 'Arz_LblOperator', ''); Arz_LblOperator.Align = alTop; Arz_LblOperator.Height = 18; Arz_LblOperator.Margins.Left = 10; Arz_LblOperator.Margins.Top = 6; StyleInputLabel(Arz_LblOperator);</div><div>&nbsp; Arz_BtnRehberOperator = FormMain.AddNewProButton(Arz_GrpOperator, 'Arz_BtnRehberOperator', ''); Arz_BtnRehberOperator.Align = alRight; Arz_BtnRehberOperator.Width = 50; Arz_BtnRehberOperator.Margins.Right = 10; Arz_BtnRehberOperator.Margins.Bottom = 7; StyleRehberButton(Arz_BtnRehberOperator);</div><div>&nbsp; FormMain.AddNewEvent(Arz_BtnRehberOperator, tbeOnClick, 'BtnRehberOperatorClick');</div><div>&nbsp;&nbsp;</div><div>&nbsp; ImgOperator = FormMain.AddNewImage(Arz_BtnRehberOperator, 'ImgOperator');&nbsp;</div><div>&nbsp; ImgOperator.Align = alClient; ImgOperator.Margins.Top = 2; ImgOperator.Margins.Bottom = 2; ImgOperator.Margins.Left = 2;</div><div>&nbsp; ImgOperator.Margins.Right = 2;</div><div>&nbsp; FormMain.setImage(ImgOperator, '<a href="https://i.hizliresim.com/57zt&#111;nk.png" target="_blank" rel="nofollow">https://i.hizliresim.com/57ztonk.png</a>');&nbsp;</div><div>&nbsp; FormMain.AddNewEvent(ImgOperator, tbeOnClick, 'BtnRehberOperatorClick');</div><div>&nbsp;&nbsp;</div><div>&nbsp; Arz_EdtOperator = FormMain.AddNewProEdit(Arz_GrpOperator, 'Arz_EdtOperator', ''); Arz_EdtOperator.Align = alClient; Arz_EdtOperator.Margins.Left = 10;</div><div>&nbsp; Arz_EdtOperator.Margins.Right = 5; Arz_EdtOperator.Margins.Bottom = 7; Arz_EdtOperator.ReadOnly = True; StyleReadonlyEdit(Arz_EdtOperator);</div><div><br></div><div>&nbsp; Arz_GrpAciklama = FormMain.AddNewProPanel(PnlMainCard, 'Arz_GrpAciklama'); Arz_GrpAciklama.Align = alTop; Arz_GrpAciklama.Height = 58;</div><div>&nbsp; Arz_GrpAciklama.Margins.Top = 6; Arz_GrpAciklama.Margins.Left = 10; Arz_GrpAciklama.Margins.Right = 10; StyleInputPanel(Arz_GrpAciklama);</div><div>&nbsp; Arz_LblAciklama = FormMain.AddNewProLabel(Arz_GrpAciklama, 'Arz_LblAciklama', ''); Arz_LblAciklama.Align = alTop;</div><div>&nbsp; Arz_LblAciklama.Height = 18; Arz_LblAciklama.Margins.Left = 10; Arz_LblAciklama.Margins.Top = 6; StyleInputLabel(Arz_LblAciklama);</div><div>&nbsp; Arz_EdtAciklama = FormMain.AddNewProEdit(Arz_GrpAciklama, 'Arz_EdtAciklama', ''); Arz_EdtAciklama.Align = alClient;</div><div>&nbsp; Arz_EdtAciklama.Margins.Left = 10; Arz_EdtAciklama.Margins.Right = 10; Arz_EdtAciklama.Margins.Bottom = 7; StyleInputEdit(Arz_EdtAciklama); BindInputFocus(Arz_EdtAciklama); FormMain.AddNewEvent(Arz_EdtAciklama, tbeOnEnter, 'KlvAciklama');</div><div><br></div><div>&nbsp; LblGridTitle = FormMain.AddNewProLabel(PnlMainCard, 'LblSect2', '');</div><div>&nbsp; LblGridTitle.Align = alTop; LblGridTitle.Height = 30; LblGridTitle.Margins.Left = 10; LblGridTitle.Margins.Top = 20; StyleSectionTitle(LblGridTitle);</div><div><br></div><div>&nbsp; Arz_ListAriza = FormMain.AddNewProListView(PnlMainCard, 'Arz_ListAriza');&nbsp;</div><div>&nbsp; Arz_ListAriza.Align = alTop;</div><div>&nbsp; Arz_ListAriza.Height = 220; Arz_ListAriza.Margins.Top = 6; Arz_ListAriza.Margins.Left = 10; Arz_ListAriza.Margins.Right = 10;&nbsp;</div><div>&nbsp; Arz_ListAriza.ListType = 'vertical'; Arz_ListAriza.clProSettings.ViewType = lvIcon;</div><div>&nbsp; Arz_ListAriza.clProSettings.ColCount = 1; Arz_ListAriza.clProSettings.ItemHeight = 70; Arz_ListAriza.clProSettings.ItemSpace = 6;&nbsp;</div><div>&nbsp; Arz_ListAriza.clProSettings.BorderWidth = 1; Arz_ListAriza.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeBorderColor);</div><div>&nbsp; Arz_ListAriza.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F8FAFC'); Arz_ListAriza.SetclProSettings(Arz_ListAriza.clProSettings);</div><div>&nbsp; FormMain.AddNewEvent(Arz_ListAriza, tbeOnItemClick, 'Arz_ListedenSec');</div><div><br></div><div>&nbsp; Arz_Zone = FormMain.AddNewProListViewDesignerPanel(Arz_ListAriza, 'Arz_Zone');</div><div>&nbsp; Arz_Zone.Align = alTop; Arz_Zone.Height = 70; Arz_Zone.Width = FormMain.clWidth;&nbsp;</div><div>&nbsp; Arz_Zone.clProSettings.BackgroundColor = clAlphaColor.clWhite;</div><div>&nbsp; Arz_Zone.clProSettings.BorderColor = clAlphaColor.clHexToColor(ThemeBorderColor); Arz_Zone.clProSettings.BorderWidth = 1; Arz_Zone.clProSettings.IsRound = True; Arz_Zone.clProSettings.RoundHeight = 6; Arz_Zone.SetclProSettings(Arz_Zone.clProSettings);</div><div><br></div><div>&nbsp; Arz_LblMain = FormMain.AddNewProLabel(Arz_Zone, 'MAIN_TEXT', '');</div><div>&nbsp; Arz_LblMain.Align = alTop; Arz_LblMain.Height = 30; Arz_LblMain.Margins.Top = 8; Arz_LblMain.Margins.Left = 12; Arz_LblMain.Margins.Right = 12; StyleMalzemeBaslik(Arz_LblMain);</div><div>&nbsp; Arz_LblSub = FormMain.AddNewProLabel(Arz_Zone, 'SUB_TEXT', ''); Arz_LblSub.Align = alTop; Arz_LblSub.Height = 22; Arz_LblSub.Margins.Left = 12; Arz_LblSub.Margins.Right = 12; StyleMalzemeAlt(Arz_LblSub);</div><div>&nbsp; Arz_Zone.AddPanelObject(Arz_LblMain, clCaption);</div><div>&nbsp; Arz_Zone.AddPanelObject(Arz_LblSub, clText); Arz_ListAriza.SetDesignerPanel(Arz_Zone);</div><div><br></div><div>&nbsp; LblPhotoTitle = FormMain.AddNewProLabel(PnlMainCard, 'LblSect3', '');&nbsp;</div><div>&nbsp; LblPhotoTitle.Align = alTop; LblPhotoTitle.Height = 30; LblPhotoTitle.Margins.Left = 10; LblPhotoTitle.Margins.Top = 20;</div><div>&nbsp; StyleSectionTitle(LblPhotoTitle);</div><div><br></div><div>&nbsp; Arz_PnlPhotoKutu = FormMain.AddNewProPanel(PnlMainCard, 'Arz_PnlPhotoKutu');</div><div>&nbsp; Arz_PnlPhotoKutu.Align = alTop; Arz_PnlPhotoKutu.Height = 180; Arz_PnlPhotoKutu.Margins.Top = 5; Arz_PnlPhotoKutu.Margins.Left = 10; Arz_PnlPhotoKutu.Margins.Right = 10;</div><div>&nbsp; StyleInputPanel(Arz_PnlPhotoKutu);</div><div><br></div><div>&nbsp; Arz_ImgPhoto = FormMain.AddNewImage(Arz_PnlPhotoKutu, 'Arz_ImgPhoto');</div><div>&nbsp; Arz_ImgPhoto.Align = alClient; Arz_ImgPhoto.Margins.Top = 5; Arz_ImgPhoto.Margins.Bottom = 5; Arz_ImgPhoto.Margins.Left = 5; Arz_ImgPhoto.Margins.Right = 5;</div><div>&nbsp; BtnResimCek = FormMain.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); FormMain.AddNewEvent(BtnResimCek, tbeOnClick, 'TakePhotoClick');</div><div><br></div><div>&nbsp; Arz_LblBakimIhmal = FormMain.AddNewProLabel(PnlMainCard, 'LblSect4', '');&nbsp;</div><div>&nbsp; Arz_LblBakimIhmal.Align = alTop; Arz_LblBakimIhmal.Height = 30; Arz_LblBakimIhmal.Margins.Left = 10;</div><div>&nbsp; Arz_LblBakimIhmal.Margins.Top = 20; StyleSectionTitle(Arz_LblBakimIhmal);</div><div><br></div><div>&nbsp; Arz_PnlBakimIhmalKutu = FormMain.AddNewProPanel(PnlMainCard, 'Arz_PnlBakimIhmalKutu');</div><div>&nbsp; Arz_PnlBakimIhmalKutu.Align = alTop; Arz_PnlBakimIhmalKutu.Height = 110; Arz_PnlBakimIhmalKutu.Margins.Top = 5; Arz_PnlBakimIhmalKutu.Margins.Left = 10;</div><div>&nbsp; Arz_PnlBakimIhmalKutu.Margins.Right = 10; StyleInputPanel(Arz_PnlBakimIhmalKutu);&nbsp;</div><div><br></div><div>&nbsp; Arz_MemBakimIhmal = FormMain.AddNewMemo(Arz_PnlBakimIhmalKutu, 'Arz_MemBakimIhmal', '');&nbsp;</div><div>&nbsp; Arz_MemBakimIhmal.Align = alClient; Arz_MemBakimIhmal.Margins.Top = 5; Arz_MemBakimIhmal.Margins.Bottom = 5;</div><div>&nbsp; Arz_MemBakimIhmal.Margins.Left = 5; Arz_MemBakimIhmal.Margins.Right = 5;</div><div>&nbsp; FormMain.AddNewEvent(Arz_MemBakimIhmal, tbeOnEnter, 'KlvBakimIhmal');</div><div><br></div><div>&nbsp; Arz_ClearForm;</div><div>&nbsp; FormMain.Run;</div><div>} koddum da bulunan maliyet ve malzeme kısımlarını düzeltmek istiyorum ancak bunu yaparken sql de bulunan veriler bozuluyor&nbsp;</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496"</a> integrity="sha512-ZE9pZaUXND66v380QUtch/5sE9tPFh2zg45pR2PB0CVkCtOREv2AJKkSidISWkysEuQ0EH8faUU5du78bx87UQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&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 10:17:15 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1602&amp;PID=3700#3700</guid>
  </item> 
 </channel>
</rss>