<?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 : Farklı Unitten fonksiyon kullanımı</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; : Farklı Unitten fonksiyon kullanımı]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 03:03:49 +0000</pubDate>
  <lastBuildDate>Tue, 11 Nov 2025 11:10:21 +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=1220</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[Farklı Unitten fonksiyon kullanımı : bu hatay&#305; &#231;&#246;zd&#252;m te&#351;ekk&#252;rler.h...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1220&amp;PID=2668#2668</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> 1220<br /><strong>Gönderim Zamanı:</strong> 11&nbsp;Kasım&nbsp;2025 Saat 11:10<br /><br />bu hatayı çözdüm teşekkürler.<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>Tue, 11 Nov 2025 11:10:21 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1220&amp;PID=2668#2668</guid>
  </item> 
  <item>
   <title><![CDATA[Farklı Unitten fonksiyon kullanımı : Merhaba G&#252;ney, galiba sorunu &#231;&#246;zd&#252;n,...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1220&amp;PID=2663#2663</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> 1220<br /><strong>Gönderim Zamanı:</strong> 10&nbsp;Kasım&nbsp;2025 Saat 14:14<br /><br />Merhaba Güney, galiba sorunu çözdün, şu an için mevcut bir hata var mı?<br><a href="https://www.docs.clomosy.com/Global_Variables&nbsp" target="_blank" rel="nofollow">https://www.docs.clomosy.com/Global_Variables&nbsp</a>;<br>Docs te yer alan linki bıraktım. Sana faydalı olacağını düşünüyorum inceler misin?<br>Ayrıca fonksiyonları başka birimden uses ile mi çağrıyorsun&nbsp;<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>Mon, 10 Nov 2025 14:14:10 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1220&amp;PID=2663#2663</guid>
  </item> 
  <item>
   <title><![CDATA[Farklı Unitten fonksiyon kullanımı : clSender dan ald&#305;&#287;&#305;m veriyi farkl&#305;...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1220&amp;PID=2660#2660</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> 1220<br /><strong>Gönderim Zamanı:</strong> 10&nbsp;Kasım&nbsp;2025 Saat 13:34<br /><br /><div>clSender dan aldığım veriyi farklı bir değişkene atayınca problemi gidersim fakat hata mesajı döndürmeden direk kodun çalışmaması nedeniyle anlamam biraz uzun sürdü.<br><br>void GetUserPrivilegesCompletedV</div><div>var</div><div>&nbsp; jsonResponse, TableName: String;</div><div>&nbsp; Arr : TCLJSONArray;</div><div>&nbsp; I, OrderID: Integer;</div><div>&nbsp; hasViewOrders, hasTakePayment: Boolean;</div><div>{</div><div>&nbsp; jsonResponse = TCRest.Response;</div><div>&nbsp; //ShowMessage(jsonResponse);</div><div>&nbsp; Arr = TCLJSONArray.Create;</div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>Arr = TCLJSONArray.CreateFromJSON(jsonResponse);</span></div><div>&nbsp; if(jsonResponse == ''){</div><div>&nbsp; &nbsp; ShowMessage('Yetkiler listesi boş herhangi bir yetki yok.')</div><div>&nbsp; }else{</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; if(Main.IsArrayContain(Arr, jsonResponse, 'privilege_name', 'VIEW_ORDERS')){</div><div>&nbsp; &nbsp; &nbsp; &nbsp; TableName = TClProButton(MainForm.Clsender).clTagStr;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; OrderID = TClProButton(MainForm.Clsender).clTagInt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; //ShowMessage(TableName);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('uWaiterAndChefDetails');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; uWaiterAndChefDetails.SetTitleV(TableName);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; uWaiterAndChefDetails.SetOrderIDV(OrderID);<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>Mon, 10 Nov 2025 13:34:29 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1220&amp;PID=2660#2660</guid>
  </item> 
  <item>
   <title><![CDATA[Farklı Unitten fonksiyon kullanımı : Ek olarak farkl&#305; unitteki fonksiyonu...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1220&amp;PID=2658#2658</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> 1220<br /><strong>Gönderim Zamanı:</strong> 10&nbsp;Kasım&nbsp;2025 Saat 11:21<br /><br />Ek olarak farklı unitteki fonksiyonu çağırıp title ı değiştirmek istiyorum&nbsp;<br><div>if(Main.IsArrayContain(Arr, jsonResponse, 'privilege_name', 'VIEW_ORDERS')){</div><div>&nbsp; &nbsp; &nbsp; &nbsp; //ShowMessage('Table Tag: ' + TClProButton(MainForm.Clsender).clTagStr); // clTagStr</div><div>&nbsp; &nbsp; &nbsp; &nbsp; uWaiterAndChefDetails.SetTitleV(TClProButton(MainForm.Clsender).clTagStr);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('uWaiterAndChefDetails');</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; Tag doğru string olarak gelmesine rağmen değiştiremiyorum.<br>ve o unit açılmıyor.<br><div>void SetTitleV(FTableName : String)</div><div>{</div><div>&nbsp; TitleLbl.Text = FTableName + 'Sipariş';</div><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>Mon, 10 Nov 2025 11:21:06 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1220&amp;PID=2658#2658</guid>
  </item> 
  <item>
   <title><![CDATA[Farklı Unitten fonksiyon kullanımı : Main&amp;#039;imde bulunan IsArrayContain...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1220&amp;PID=2657#2657</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> 1220<br /><strong>Gönderim Zamanı:</strong> 10&nbsp;Kasım&nbsp;2025 Saat 10:42<br /><br />Main'imde bulunan IsArrayContain fonksiyonundan aldığım boolean değerini değişkene atamak istiyorum fakat ne hata veriyor ne de değişkene yeni veeriyi yazıyor. Fakat showmessage içinde verdiğimde başarılı bir şekilde True yazısı geliyor değişkene ise atayamıyorum.<div><br></div><div>Boolean gelen veriyi boolean'a atamk istiyorum fakat atayamadım.<br><br><br><br><div><br></div><div>void GetUserPrivilegesCompletedV</div><div>var</div><div>&nbsp; jsonResponse: String;</div><div>&nbsp; Arr : TCLJSONArray;</div><div>&nbsp; I: Integer;</div><div>&nbsp; hasViewOrders, hasTakePayment: Boolean;</div><div>{</div><div>&nbsp; jsonResponse = TCRest.Response;</div><div>&nbsp;ShowMessage('query completed');</div><div>&nbsp; //ShowMessage(jsonResponse);</div><div>&nbsp; Arr = TCLJSONArray.Create;</div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>Arr = TCLJSONArray.CreateFromJSON(jsonResponse);</span></div><div>&nbsp; if(jsonResponse == ''){</div><div>&nbsp; &nbsp; ShowMessage('Yetkiler listesi boş herhangi bir yetki yok.')</div><div>&nbsp; }else{</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Privileges output: '+ jsonResponse);</div><div>&nbsp; &nbsp; &nbsp; ShowMessage( Main.IsArrayContain(Arr, jsonResponse, 'privilege_name', 'VIEW_ORDERS'));</div><div>&nbsp; &nbsp; &nbsp; hasViewOrders = Main.IsArrayContain(Arr, jsonResponse, 'privilege_name', 'VIEW_ORDERS');</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('hasViewOrders: '+ hasViewOrders);</div><div>&nbsp; &nbsp; &nbsp; hasTakePayment = Main.IsArrayContain(Arr, jsonResponse, 'privilege_name', 'TAKE_PAYMENT');</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('hasTakePayment: '+ hasTakePayment);</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; //ShowMessage('Table Tag: ' + TClProButton(MainForm.Clsender).clTagInt); // clTagStr</div><div>&nbsp; &nbsp; &nbsp; if (hasViewOrders &amp;&amp; hasTakePayment)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('SelectRoleV');</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; else if (hasViewOrders)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('uWaiterAndChefDetails');</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; else if (hasTakePayment)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('uCashierDetails');</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Uyarı: Gereken yetki bulunamadı!');</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>}</div><br>// MAIN CODE<br><br><br><br>function IsArrayContain(FArr: TCLJSONArray; FJson: String; FArrayItem: String; FLookingStr: String): Boolean<div>var</div><div>&nbsp; I: Integer;</div><div>&nbsp; currentValue: String;</div><div>{</div><div>&nbsp; Result = False;</div><div>&nbsp;&nbsp;</div><div>&nbsp; Try</div><div>&nbsp; &nbsp; if (FArr == nil)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Array is nil return back.');</div><div>&nbsp; &nbsp; &nbsp; Result = False;</div><div>&nbsp; &nbsp; &nbsp; Exit;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (FJson == '')</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Array is empty return back.');</div><div>&nbsp; &nbsp; &nbsp; Result = False;</div><div>&nbsp; &nbsp; &nbsp; Exit;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; for (I = 0 to (FArr.Count - 1))</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; Try</div><div>&nbsp; &nbsp; &nbsp; &nbsp; currentValue = Clomosy.CLParseJSON(FJson, IntToStr(I) + '.' + FArrayItem);</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (currentValue == FLookingStr)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Result = True;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Find Item in Array.' + FLookingStr);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Exit;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; except</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; Result = False;</div><div>&nbsp; }</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"></div>]]>
   </description>
   <pubDate>Mon, 10 Nov 2025 10:42:11 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1220&amp;PID=2657#2657</guid>
  </item> 
 </channel>
</rss>