<?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 : FillProducts</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Clomosy ile de&#287;i&#351;ken kullan&#305;m&#305; : FillProducts]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 02:57:53 +0000</pubDate>
  <lastBuildDate>Wed, 25 Feb 2026 11:53:41 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.clomosy.com.tr/RSS_post_feed.asp?TID=1394</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[FillProducts : Fill Products k&#305;sm&#305;nda JsonQuery...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1394&amp;PID=3150#3150</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=344">M-Guney</a><br /><strong>Konu:</strong> 1394<br /><strong>Gönderim Zamanı:</strong> 25&nbsp;Şubat&nbsp;2026 Saat 11:53<br /><br />Fill Products kısmında JsonQuery kullanarak bu şekilde yaptım.<br><a href="https://www.docs.clomosy.com/index.php?title=JS&#079;N_Data_Source" target="_blank" rel="nofollow">https://www.docs.clomosy.com/index.php?title=JSON_Data_Source</a><br>Bu linkten inceleyebilirsin<br><br><div>var</div><div>&nbsp; UrunForm: TClForm;</div><div>&nbsp; ScrollBox: TClVertScrollBox;</div><div>&nbsp; UrunArama: TclProSearchEdit;</div><div>&nbsp; UrunButon: TClProButton;</div><div>&nbsp; btnBack: TclProButton;</div><div>&nbsp; lblTitle: TclProLabel;</div><div>&nbsp; RestObj: TClRest;</div><div>&nbsp; ProductData: TclJSONQuery;</div><div>&nbsp; UrunAdi, UrunBarkod: String;</div><div><br></div><div>void GoBack;</div><div>{</div><div>&nbsp; UrunForm.clHide;</div><div>}</div><div><br></div><div>void OnSearchChange;</div><div>{</div><div>&nbsp; ShowMessage('Aranıyor: ' + UrunArama.Text);</div><div>}</div><div><br></div><div>void FillProducts;</div><div>{</div><div>&nbsp; RestObj = TClRest.Create;</div><div>&nbsp; try</div><div>&nbsp; &nbsp; RestObj.BaseURL = 'http://localhost:5007/api/Product/GetProductList';&nbsp;</div><div>&nbsp; &nbsp; RestObj.Method = rmGet;</div><div>&nbsp; &nbsp; RestObj.Execute;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (RestObj.StatusCode == 200)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ProductData = Clomosy.ClDataSetFromJSON(RestObj.Response);</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; while (ProductData.Eof == False)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; UrunAdi = ProductData.FieldByName('warehouseName').AsString;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; UrunBarkod = ProductData.FieldByName('barcode').AsString;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; UrunButon = UrunForm.AddNewProButton(ScrollBox, 'btn_' + UrunBarkod, UrunAdi);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; UrunButon.Align = alTop;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; UrunButon.Height = 65;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; UrunButon.Margins.Top = 8;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; UrunButon.Margins.Left = 15;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; UrunButon.Margins.Right = 15;&nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; clComponent.SetupComponent(UrunButon, '{"BackgroundColor":"#FFFFFF", "TextColor":"#C71585", "TextSize":15, "RoundHeight":12, "BorderColor":"#C71585", "BorderWidth":1, "TextBold":"yes"}');</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ProductData.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Sunucu Hatası. Kod: ' + IntToStr(RestObj.StatusCode));</div><div>&nbsp; &nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Ürünler yüklenirken hata oluştu! Hata Mesajı: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>{</div><div>&nbsp; UrunForm = TClForm.Create(Self);</div><div>&nbsp; UrunForm.SetFormColor('#FFF0F5', '', clGNone);&nbsp;</div><div><br></div><div>&nbsp; lblTitle = UrunForm.AddNewProLabel(UrunForm, 'lblTitle', 'ÜRÜN LİSTESİ');</div><div>&nbsp; lblTitle.Align = alTop;</div><div>&nbsp; lblTitle.Height = 50;</div><div>&nbsp; clComponent.SetupComponent(lblTitle, '{"TextSize":22, "TextColor":"#C71585", "TextHorizontalAlign":"center", "TextBold":"yes"}');</div><div><br></div><div>&nbsp; UrunArama = UrunForm.AddNewProSearchEdit(UrunForm, 'UrunArama', 'Ürün adı ile ara...');</div><div>&nbsp; UrunArama.Align = alTop;</div><div>&nbsp; UrunArama.Height = 45;</div><div>&nbsp; UrunArama.Margins.Left = 15;</div><div>&nbsp; UrunArama.Margins.Right = 15;</div><div>&nbsp; UrunArama.Margins.Bottom = 10;</div><div>&nbsp; clComponent.SetupComponent(UrunArama, '{"RoundHeight":10, "BorderColor":"#C71585", "BorderWidth":1}');</div><div><br></div><div>&nbsp; ScrollBox = UrunForm.AddNewVertScrollBox(UrunForm, 'ScrollBox');</div><div>&nbsp; ScrollBox.Align = alClient;</div><div><br></div><div>&nbsp; btnBack = UrunForm.AddNewProButton(UrunForm, 'btnBack', '&lt;&lt; ANA MENÜYE DÖN');</div><div>&nbsp; btnBack.Align = alBottom;</div><div>&nbsp; btnBack.Height = 55;</div><div>&nbsp; clComponent.SetupComponent(btnBack, '{"BackgroundColor":"#C71585", "TextColor":"#FFFFFF", "RoundHeight":10, "TextBold":"yes"}');</div><div>&nbsp; UrunForm.AddNewEvent(btnBack, tbeOnClick, 'GoBack');</div><div>&nbsp;&nbsp;</div><div>&nbsp; FillProducts;</div><div>&nbsp; UrunForm.Run;</div><div>}<br><br><br><br><br>.</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" 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, 25 Feb 2026 11:53:41 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1394&amp;PID=3150#3150</guid>
  </item> 
  <item>
   <title><![CDATA[FillProducts : &#214;rnek Jsonhttps://static.cloud...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1394&amp;PID=3149#3149</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=369">ebrarflz</a><br /><strong>Konu:</strong> 1394<br /><strong>Gönderim Zamanı:</strong> 25&nbsp;Şubat&nbsp;2026 Saat 11:41<br /><br /><div><div>Örnek Json&#091;</div><div>&nbsp; {</div><div>&nbsp; &nbsp; "warehouseName": "Fondöten",</div><div>&nbsp; &nbsp; "id": "Sistem Stok: 15",</div><div>&nbsp; &nbsp; "barcode": "868001"</div><div>&nbsp; },</div><div>&nbsp; {</div><div>&nbsp; &nbsp; "warehouseName": "Allık",</div><div>&nbsp; &nbsp; "id": "Sistem Stok: 22",</div><div>&nbsp; &nbsp; "barcode": "868002"</div><div>&nbsp; },</div><div>&nbsp; {</div><div>&nbsp; &nbsp; "warehouseName": "Bronzer",</div><div>&nbsp; &nbsp; "id": "Sistem Stok: 10",</div><div>&nbsp; &nbsp; "barcode": "868003"</div><div>&nbsp; },</div><div>&nbsp; {</div><div>&nbsp; &nbsp; "warehouseName": "Nemlendirici",</div><div>&nbsp; &nbsp; "id": "Sistem Stok: 40",</div><div>&nbsp; &nbsp; "barcode": "868004"</div><div>&nbsp; },</div><div>&nbsp; {</div><div>&nbsp; &nbsp; "warehouseName": "Kapatıcı",</div><div>&nbsp; &nbsp; "id": "Sistem Stok: 18",</div><div>&nbsp; &nbsp; "barcode": "868005"</div><div>&nbsp; },</div><div>&nbsp; {</div><div>&nbsp; &nbsp; "warehouseName": "Maskara",</div><div>&nbsp; &nbsp; "id": "Sistem Stok: 25",</div><div>&nbsp; &nbsp; "barcode": "868006"</div><div>&nbsp; },</div><div>&nbsp; {</div><div>&nbsp; &nbsp; "warehouseName": "Aydınlatıcı",</div><div>&nbsp; &nbsp; "id": "Sistem Stok: 12",</div><div>&nbsp; &nbsp; "barcode": "868007"</div><div>&nbsp; },</div><div>&nbsp; {</div><div>&nbsp; &nbsp; "warehouseName": "Far Paleti",</div><div>&nbsp; &nbsp; "id": "Sistem Stok: 7",</div><div>&nbsp; &nbsp; "barcode": "868008"</div><div>&nbsp; },</div><div>&nbsp; {</div><div>&nbsp; &nbsp; "warehouseName": "Ruj",</div><div>&nbsp; &nbsp; "id": "Sistem Stok: 50",</div><div>&nbsp; &nbsp; "barcode": "868009"</div><div>&nbsp; },</div><div>&nbsp; {</div><div>&nbsp; &nbsp; "warehouseName": "Fırça Seti",</div><div>&nbsp; &nbsp; "id": "Sistem Stok: 5",</div><div>&nbsp; &nbsp; "barcode": "868010"</div><div>&nbsp; }</div><div>&#093;</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" 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"></div>]]>
   </description>
   <pubDate>Wed, 25 Feb 2026 11:41:49 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1394&amp;PID=3149#3149</guid>
  </item> 
  <item>
   <title><![CDATA[FillProducts : var UrunForm: TClForm; ScrollBox:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1394&amp;PID=3148#3148</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=369">ebrarflz</a><br /><strong>Konu:</strong> 1394<br /><strong>Gönderim Zamanı:</strong> 25&nbsp;Şubat&nbsp;2026 Saat 11:39<br /><br /><div>var</div><div>&nbsp; UrunForm: TClForm;</div><div>&nbsp; ScrollBox: TClVertScrollBox;</div><div>&nbsp; UrunArama: TclProSearchEdit;</div><div>&nbsp; UrunButon: TClProButton;</div><div>&nbsp; btnBack: TclProButton;</div><div>&nbsp; lblTitle: TclProLabel;</div><div>&nbsp; RestObj: TClRest;</div><div>&nbsp; HamMetin, UrunAdi: String;</div><div>&nbsp; P1, P2: Integer;</div><div>&nbsp; UrunListesi: TclStringList;</div><div>&nbsp; i: Integer;</div><div>void GoBack;</div><div>{</div><div>&nbsp; UrunForm.clHide;</div><div>}</div><div>void OnSearchChange;</div><div>{</div><div>&nbsp; ShowMessage('Aranıyor: ' + UrunArama.Text);</div><div>}</div><div>void FillProducts;</div><div>{</div><div>&nbsp; RestObj = TClRest.Create;</div><div>&nbsp; try</div><div>&nbsp; &nbsp; RestObj.BaseURL = 'http://localhost:5007/api/Product/GetProductList';&nbsp;</div><div>&nbsp; &nbsp; RestObj.Method = rmGet;</div><div>&nbsp; &nbsp; RestObj.Execute;</div><div>&nbsp; &nbsp; ShowMessage(RestObj.response);</div><div>&nbsp; &nbsp; if (RestObj.StatusCode == 200)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; HamMetin = RestObj.Response;</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; while (Pos('warehouseName":"', HamMetin) &gt; 0)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; P1 = Pos('warehouseName":"', HamMetin) + 16;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; HamMetin = Copy(HamMetin, P1, Length(HamMetin));</div><div>&nbsp; &nbsp; &nbsp; &nbsp; P2 = Pos('"', HamMetin);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; UrunAdi = Copy(HamMetin, 1, P2 - 1);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage(UrunAdi);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; UrunButon = UrunForm.AddNewProButton(ScrollBox, 'btn' + IntToStr(P1), UrunAdi);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; UrunButon.Align = alTop;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; UrunButon.Height = 65;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; UrunButon.Margins.Top = 8;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; UrunButon.Margins.Left = 15;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; UrunButon.Margins.Right = 15;&nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; clComponent.SetupComponent(UrunButon, '{"BackgroundColor":"#FFFFFF", "TextColor":"#C71585", "TextSize":15, "RoundHeight":12, "BorderColor":"#C71585", "BorderWidth":1, "TextBold":"yes"}');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; HamMetin = Copy(HamMetin, P2, Length(HamMetin));</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Ürünler yüklenirken hata oluştu!'+'Exception Class: '+LastExceptionClassName+' Exception Message: '+LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div>{</div><div>&nbsp; UrunForm = TClForm.Create(Self);</div><div>&nbsp; UrunForm.SetFormColor('#FFF0F5', '', clGNone);&nbsp;</div><div><br></div><div>&nbsp; lblTitle = UrunForm.AddNewProLabel(UrunForm, 'lblTitle', 'ÜRÜN LİSTESİ');</div><div>&nbsp; lblTitle.Align = alTop;</div><div>&nbsp; lblTitle.Height = 50;</div><div>&nbsp; clComponent.SetupComponent(lblTitle, '{"TextSize":22, "TextColor":"#C71585", "TextHorizontalAlign":"center", "TextBold":"yes"}');</div><div><br></div><div>&nbsp; UrunArama = UrunForm.AddNewProSearchEdit(UrunForm, 'UrunArama', 'Ürün adı ile ara...');</div><div>&nbsp; UrunArama.Align = alTop;</div><div>&nbsp; UrunArama.Height = 45;</div><div>&nbsp; UrunArama.Margins.Left = 15;</div><div>&nbsp; UrunArama.Margins.Right = 15;</div><div>&nbsp; UrunArama.Margins.Bottom = 10;</div><div>&nbsp; clComponent.SetupComponent(UrunArama, '{"RoundHeight":10, "BorderColor":"#C71585", "BorderWidth":1}');</div><div><br></div><div>&nbsp; ScrollBox = UrunForm.AddNewVertScrollBox(UrunForm, 'ScrollBox');</div><div>&nbsp; ScrollBox.Align = alClient;</div><div><br></div><div>&nbsp; btnBack = UrunForm.AddNewProButton(UrunForm, 'btnBack', '&lt;&lt; ANA MENÜYE DÖN');</div><div>&nbsp; btnBack.Align = alBottom;</div><div>&nbsp; btnBack.Height = 55;</div><div>&nbsp; clComponent.SetupComponent(btnBack, '{"BackgroundColor":"#C71585", "TextColor":"#FFFFFF", "RoundHeight":10, "TextBold":"yes"}');</div><div>&nbsp; UrunForm.AddNewEvent(btnBack, tbeOnClick, 'GoBack');</div><div>&nbsp; FillProducts;</div><div>&nbsp; UrunForm.Run;</div><div>}</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" 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, 25 Feb 2026 11:39:47 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1394&amp;PID=3148#3148</guid>
  </item> 
 </channel>
</rss>