<?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 : Json verisi DataSet e dönüştürülemiyor.</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : Json verisi DataSet e dönüştürülemiyor.]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 14:55:09 +0000</pubDate>
  <lastBuildDate>Thu, 28 Nov 2024 09:23:19 +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=968</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[Json verisi DataSet e dönüştürülemiyor. : Merhaba Elif,IOS ve Android telefonda...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=968&amp;PID=1916#1916</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=142">BilalCndn</a><br /><strong>Konu:</strong> 968<br /><strong>Gönderim Zamanı:</strong> 28&nbsp;Kasım&nbsp;2024 Saat 09:23<br /><br />Merhaba Elif,<div><br></div><div>IOS ve Android telefonda test ettim. Bahsettiğin 'Yanıt Vermiyor' uyarısı ile karşılaşmadım. Projenin yavaş açılmasının sebebi de başlangıçta verileri çekerken döngü içerisinde tek tek çekiyor olman. Döngü kullandığın için cihaz hızı ve her döngüde internetten veri çektiğin için internet hızı açılış süresinde etken olacaktır.</div><div><br></div><div>İyi çalışmalar dilerim.</div>]]>
   </description>
   <pubDate>Thu, 28 Nov 2024 09:23:19 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=968&amp;PID=1916#1916</guid>
  </item> 
  <item>
   <title><![CDATA[Json verisi DataSet e dönüştürülemiyor. : Bu &#351;ekilde yapt&#305;m ve &#231;al&#305;&#351;t&#305; te&#351;ekk&#252;r...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=968&amp;PID=1913#1913</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=236">ElifKarabacak</a><br /><strong>Konu:</strong> 968<br /><strong>Gönderim Zamanı:</strong> 22&nbsp;Kasım&nbsp;2024 Saat 18:21<br /><br />Bu şekilde yaptım ve çalıştı teşekkür ederim. Ama bu projeyi telefonda çalıştırdığımda ClomosyLearn 'Yanıt Vermiyor' uyarısını veriyor ve uygulama kapanıyor. Bir de exe de açarken çok yavaş açılıyor. Bunu nasıl düzeltebilirim?<div>Şimdiden teşekkürler, iyi çalışmalar.</div>]]>
   </description>
   <pubDate>Fri, 22 Nov 2024 18:21:28 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=968&amp;PID=1913#1913</guid>
  </item> 
  <item>
   <title><![CDATA[Json verisi DataSet e dönüştürülemiyor. : Merhaba Elif,Kullanm&#305;&#351; oldu&#287;un...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=968&amp;PID=1912#1912</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=142">BilalCndn</a><br /><strong>Konu:</strong> 968<br /><strong>Gönderim Zamanı:</strong> 22&nbsp;Kasım&nbsp;2024 Saat 18:06<br /><br />Merhaba Elif,<div><br></div><div>Kullanmış olduğun JSON içerisinde '\' karakteri olduğu için JSON verini bozuyor. Bu şekilde JSON verini düzelterek kullanabilirsin.</div><div><br></div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div style=": rgb251, 251, 253;"><span style="white-space:pre">	</span>ornekString<span style=": rgb255, 255, 255;">&nbsp;= clGetStringReplace(FSender.Cells&#091;FCol,FRow&#093;,'\','');</span></div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; &nbsp; jsonObject2 = Clomosy.ClDataSetFromJSON(ornekString);&nbsp;</div><div style=": rgb251, 251, 253;"><span style="white-space:pre">	</span>jsonObject2.OpenOrExecute;</div></div><div></pre></td></tr></table></div><div><br></div><div>İyi çalışmalar dilerim.</div>]]>
   </description>
   <pubDate>Fri, 22 Nov 2024 18:06:41 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=968&amp;PID=1912#1912</guid>
  </item> 
  <item>
   <title><![CDATA[Json verisi DataSet e dönüştürülemiyor. : A&#351;a&#287;&#305;daki kodda i&#231;i birden fazla...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=968&amp;PID=1910#1910</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=236">ElifKarabacak</a><br /><strong>Konu:</strong> 968<br /><strong>Gönderim Zamanı:</strong> 22&nbsp;Kasım&nbsp;2024 Saat 15:43<br /><br />Aşağıdaki kodda içi birden fazla dolu olan hücreye tıklandığında tıklanan veriyi json olarak alıyor ama dataset e dönüştürmüyor. Aşağıdaki kısımda dataset e dönüştüremediği için ' ShowMessage(jsonObject2); 'a girmiyor. Yardımcı olabilir misiniz?<div>Teşekkürler.</div><div>---</div><div><div>&nbsp; ShowMessage(FSender.Cells&#091;FCol,FRow&#093;);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; jsonObject2 = Clomosy.ClDataSetFromJSON(FSender.Cells&#091;FCol,FRow&#093;);&nbsp;</div><div>&nbsp; &nbsp;jsonObject2.OpenOrExecute;</div><div>&nbsp; &nbsp; &nbsp;ShowMessage(jsonObject2);</div><div><br><div>------</div><div><div>var&nbsp;</div><div>jsonObject, jsonObject2, jsonObject3, jsonObject4 :TClJsonQuery;</div><div>clRest:TclRest;</div><div>mainform, mainform2, mainform3, mainform4 : TclForm;</div><div>progrid, progrid2, progrid3, progrid4 : TclProGrid;</div><div>mainvertScrollBox, mainvertScrollBox2, mainvertScrollBox3, mainvertScrollBox4 : TCLVertScrollBox;</div><div>FSender, FSender2, FSender3 : TCLProGrid;</div><div>FRow, FCol, FRow2, FCol2, FRow3, FCol3 : Integer;</div><div>Position, Position2, Position3: Integer;</div><div>a: string;</div><div><br></div><div>jsonMetin,ToplamJson,yeniMetin,eskikarakter1,eskikarakter2 : String;</div><div>kayitTut : TclArrayString ;</div><div>allData: TClJsonQuery;</div><div>sonrakiveri : Integer;</div><div><br></div><div><br></div><div>void usersgrid4;</div><div>&nbsp;{</div><div>&nbsp; &nbsp;FSender3 = TCLProGrid(mainform3.clSender);</div><div>&nbsp; &nbsp;FRow3 = mainform3.clSenderRow;</div><div>&nbsp; &nbsp;FCol3 = mainform3.clSenderCol;</div><div>&nbsp; &nbsp;//ShowMessage('&#091;'+IntToStr(FRow3)+','+IntToStr(FCol3)+'&#093; '+'Hücresinde Bulunan Veri: '+FSender3.Cells&#091;FCol3,FRow3&#093;);</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; jsonObject4 = Clomosy.ClDataSetFromJSON(FSender3.Cells&#091;FCol3,FRow3&#093;);</div><div>&nbsp; &nbsp; &nbsp; jsonObject4.openorexecute;</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; Position3 =&nbsp; Pos('{', FSender3.Cells&#091;FCol3,FRow3&#093;);</div><div>&nbsp; &nbsp; &nbsp; //ShowMessage(Position3);</div><div>&nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;if (Position3 &gt; 1)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('İçerik Bulunamadı.');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;else&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mainform4 = TclForm.Create(self);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ClRTSetProperty(mainform4, 'ClientWidth', 900);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ClRTSetProperty(mainform4, 'ClientHeight', 750);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mainvertScrollBox4 = mainform4.AddNewVertScrollBox(mainform4, 'mainvertScrollBox4');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mainvertScrollBox4.align = alClient;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //ShowMessage('İçerik Bulundu. Position3: ' + IntToStr(Position3));</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; progrid4 = mainform4.addnewprogrid(mainvertScrollBox4, 'progrid4');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; progrid4.ConnectDataSet(jsonObject4);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;with progrid4 do</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; align = alClient;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; margins.right = 30;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; margins.left = 30;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; margins.bottom = 30;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; width = (mainform.clwidth*90)/100;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; height=(mainform.clheight*75)/100;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AutoSizeColumns(True,50);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FixedLayoutFillColor = clalphacolor.clhextocolor('#43cd80');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectedLayoutFillColor = clalphacolor.clhextocolor('#698b69');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectedLayoutFontColor = clalphacolor.clhextocolor('#ffffff');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FocusedLayoutFillColor = clalphacolor.clhextocolor('#9bcd9b');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FocusedLayoutFontColor = clalphacolor.clhextocolor('#000000');</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mainform4.Run;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; except</div><div>&nbsp; &nbsp; &nbsp;//ShowMessage('Exception Class2: '+LastExceptionClassName+' Exception Message: '+LastExceptionMessage);</div><div>&nbsp; &nbsp; }</div><div>&nbsp;}</div><div><br></div><div><br></div><div>void usersgrid3;</div><div>&nbsp;{</div><div>&nbsp; &nbsp;FSender2 = TCLProGrid(mainform2.clSender);</div><div>&nbsp; &nbsp;FRow2 = mainform2.clSenderRow;</div><div>&nbsp; &nbsp;FCol2 = mainform2.clSenderCol;</div><div>&nbsp; &nbsp;//ShowMessage('&#091;'+IntToStr(FRow2)+','+IntToStr(FCol2)+'&#093; '+'Hücresinde Bulunan Veri: '+FSender2.Cells&#091;FCol2,FRow2&#093;);</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; jsonObject3 = Clomosy.ClDataSetFromJSON(FSender2.Cells&#091;FCol2,FRow2&#093;);</div><div>&nbsp; &nbsp; &nbsp; jsonObject3.openorexecute;</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; Position2 =&nbsp; Pos('{', FSender2.Cells&#091;FCol2,FRow2&#093;);</div><div>&nbsp; &nbsp; &nbsp; //ShowMessage(Position2);</div><div>&nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;if (Position2 &gt; 1)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('İçerik Bulunamadı.');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;else&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mainform3 = TclForm.Create(self);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ClRTSetProperty(mainform3, 'ClientWidth', 900);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ClRTSetProperty(mainform3, 'ClientHeight', 750);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mainvertScrollBox3 = mainform3.AddNewVertScrollBox(mainform3, 'mainvertScrollBox3');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mainvertScrollBox3.align = alClient;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //ShowMessage('İçerik Bulundu. Position2: ' + IntToStr(Position2));</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; progrid3 = mainform3.addnewprogrid(mainvertScrollBox3, 'progrid3');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; progrid3.ConnectDataSet(jsonObject3);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;with progrid3 do</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; align = alClient;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; margins.right = 30;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; margins.left = 30;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; margins.bottom = 30;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; width = (mainform.clwidth*90)/100;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; height=(mainform.clheight*75)/100;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AutoSizeColumns(True,50);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FixedLayoutFillColor = clalphacolor.clhextocolor('#43cd80');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectedLayoutFillColor = clalphacolor.clhextocolor('#698b69');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectedLayoutFontColor = clalphacolor.clhextocolor('#ffffff');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FocusedLayoutFillColor = clalphacolor.clhextocolor('#9bcd9b');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FocusedLayoutFontColor = clalphacolor.clhextocolor('#000000');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mainform3.AddNewEvent(progrid3, tbeOnProGridCellClick, 'usersgrid4');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mainform3.Run;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; except</div><div>&nbsp; &nbsp; &nbsp;//ShowMessage('Exception Class2: '+LastExceptionClassName+' Exception Message: '+LastExceptionMessage);</div><div>&nbsp; }</div><div>&nbsp;}</div><div><br></div><div><br></div><div><br></div><div>void usersgrid2;</div><div>&nbsp;{</div><div>&nbsp;</div><div><br></div><div>&nbsp; FSender = TCLProGrid(mainform.ClSender);</div><div>&nbsp; FRow = mainform.ClSenderRow; // 1 den başlıyor satırlar</div><div>&nbsp; FCol = mainform.ClSenderCol; //0 dan başlıyor sütunlar</div><div>&nbsp; //ShowMessage('&#091;'+IntToStr(FRow)+','+IntToStr(FCol)+'&#093; '+'Hücresinde Bulunan Veri: '+FSender.Cells&#091;FCol,FRow&#093;);</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp;try</div><div>&nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp;Position = Pos('{', FSender.Cells&#091;FCol,FRow&#093;);</div><div>&nbsp; &nbsp; // ShowMessage(Position)</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; if (Position ==0)</div><div>&nbsp; &nbsp; &nbsp; &nbsp;{&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Substring not found.');</div><div>&nbsp; &nbsp; &nbsp; &nbsp;}&nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp; else if (Position==1)</div><div>&nbsp; &nbsp; &nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; mainform2 = TclForm.Create(self);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ClRTSetProperty(mainform2,'ClientWidth',900);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ClRTSetProperty(mainform2,'ClientHeight',750);</div><div>&nbsp;&nbsp;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; mainvertScrollBox2 = mainform2.AddNewVertScrollBox(mainform2,'mainvertScrollBox2');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; mainvertScrollBox2.align=alClient;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage(FSender.Cells&#091;FCol,FRow&#093;);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; jsonObject2 = Clomosy.ClDataSetFromJSON(FSender.Cells&#091;FCol,FRow&#093;);&nbsp;</div><div>&nbsp; &nbsp;jsonObject2.OpenOrExecute;</div><div>&nbsp; &nbsp; &nbsp;ShowMessage(jsonObject2);</div><div>&nbsp; &nbsp; &nbsp;ShowMessage('2');</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; //ShowMessage('Substring found. Position: ' + IntToStr(Position));</div><div>&nbsp; &nbsp; &nbsp; &nbsp; progrid2 = mainform2.addnewprogrid(mainvertScrollBox2, 'progrid2');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ProGrid2.ConnectDataSet(jsonObject2);</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;with progrid2 do</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;align= alClient;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;margins.right= 30;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;margins.left= 30;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;margins.bottom= 30;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;width=(mainform.clwidth*90)/100;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;height=(mainform.clheight*75)/100;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AutoSizeColumns(True,50);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FixedLayoutFillColor = clalphacolor.clhextocolor('#43cd80');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectedLayoutFillColor = clalphacolor.clhextocolor('#698b69');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectedLayoutFontColor = clalphacolor.clhextocolor('#ffffff');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FocusedLayoutFillColor = clalphacolor.clhextocolor('#9bcd9b');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FocusedLayoutFontColor = clalphacolor.clhextocolor('#000000');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mainform2.AddNewEvent(progrid2, tbeOnProGridCellClick, 'usersgrid3');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mainform2.run;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//mainform2.AddNewEvent(progrid2, tbeOnProGridCellClick,'idgridac2');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;except</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Exception Class2: '+LastExceptionClassName+' Exception Message: '+LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div><br></div><div><br></div><div><br></div><div>{</div><div>&nbsp; mainform = TclForm.Create(self);</div><div>&nbsp; ClRTSetProperty(mainform,'ClientWidth',1200);</div><div>&nbsp; ClRTSetProperty(mainform,'ClientHeight',750);</div><div>&nbsp;&nbsp;</div><div>&nbsp; mainvertScrollBox = mainform.AddNewVertScrollBox(mainform,'mainvertScrollBox');</div><div>&nbsp; mainvertScrollBox.align=alClient;</div><div>&nbsp;&nbsp;</div><div>&nbsp; progrid = mainform.addnewprogrid(mainvertScrollBox, 'progrid');</div><div><br></div><div><br></div><div>&nbsp; allData = TClJsonQuery.Create(nil);&nbsp;&nbsp;</div><div><br></div><div>&nbsp; clRest&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= TclRest.Create;</div><div>&nbsp; jsonObject&nbsp; &nbsp; &nbsp;= TClJsonQuery.Create(nil);</div><div>&nbsp; clRest.Accept&nbsp; = 'application/json';</div><div>&nbsp; clRest.Method&nbsp; = rmGet;</div><div>&nbsp;&nbsp;</div><div>&nbsp; ToplamJson = '&#091;';</div><div>&nbsp;&nbsp;</div><div>&nbsp; for ( sonrakiveri=1 to 30)</div><div>&nbsp; {</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp; clRest.BaseURl = '<a href="https://dummyjs&#111;n.com/users/" target="_blank" rel="nofollow">https://dummyjson.com/users/</a>' + IntToStr(sonrakiveri);&nbsp;&nbsp;</div><div>&nbsp; &nbsp; clRest.Execute;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; clRest.Execute;</div><div>&nbsp;</div><div>&nbsp; &nbsp;//ShowMessage(clRest.Response);</div><div><br></div><div>&nbsp; &nbsp; jsonObject = Clomosy.ClDataSetFromJSON(clRest.Response);&nbsp;</div><div>&nbsp; &nbsp; jsonObject.OpenOrExecute;</div><div><br></div><div>&nbsp; &nbsp; with jsonObject do</div><div>&nbsp; &nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp;try</div><div>&nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp; if (Found)&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; First;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;while (not EOF)&nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(jsonObject.Found)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; jsonMetin = jsonObject.getJSONString;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; yeniMetin = clGetStringReplace(jsonMetin,'&#091;','');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; yeniMetin = clGetStringReplace(yeniMetin,'&#093;','');&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ToplamJson = ToplamJson + yeniMetin;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Next;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;}</div><div>&nbsp; &nbsp; &nbsp; &nbsp;except</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ShowMessage('Exception Class3: '+LastExceptionClassName+' Exception Message: '+LastExceptionMessage);</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (sonrakiveri == 30)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ToplamJson = ToplamJson + '&#093;';</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ToplamJson = ToplamJson + ',';</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; allData = Clomosy.ClDataSetFromJSON(ToplamJson);</div><div>&nbsp; ProGrid.ConnectDataSet(allData);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; with progrid do</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; align= alClient;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; margins.right= 30;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; margins.left= 30;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; margins.bottom= 30;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; width=(mainform.clwidth*90)/100;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; height=(mainform.clheight*75)/100;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AutoSizeColumns(True,50);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FixedLayoutFillColor = clalphacolor.clhextocolor('#43cd80');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectedLayoutFillColor = clalphacolor.clhextocolor('#698b69');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectedLayoutFontColor = clalphacolor.clhextocolor('#ffffff');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FocusedLayoutFillColor = clalphacolor.clhextocolor('#9bcd9b');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FocusedLayoutFontColor = clalphacolor.clhextocolor('#000000');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; mainform.AddNewEvent(progrid, tbeOnProGridCellClick,'usersgrid2');</div><div>&nbsp;&nbsp;</div><div><br></div><div>&nbsp;&nbsp;</div><div>&nbsp; mainform.Run;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>}</div></div></div></div>]]>
   </description>
   <pubDate>Fri, 22 Nov 2024 15:43:09 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=968&amp;PID=1910#1910</guid>
  </item> 
 </channel>
</rss>