<?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 : unit2 birden fazla kez açılıyor</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : unit2 birden fazla kez açılıyor]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 16:11:58 +0000</pubDate>
  <lastBuildDate>Tue, 23 Jul 2024 13:45:02 +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=708</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[unit2 birden fazla kez açılıyor : Merhaba &#350;enol, if (uForm.clFormGestureEvent_GestureID...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=708&amp;PID=1111#1111</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=142">BilalCndn</a><br /><strong>Konu:</strong> 708<br /><strong>Gönderim Zamanı:</strong> 23&nbsp;Temmuz&nbsp;2024 Saat 13:45<br /><br />Merhaba Şenol,<div><br></div><div><table width="99%"><tr><td><pre class="BBcode">if (uForm.clFormGestureEvent_GestureID == 264 &amp;&amp; not (isUnit2Open))</pre></td></tr></table></div><div>Boolean değeri bu şekilde kontrol edebilirsin.</div><div><br></div><div>İyi çalışmalar dilerim.</div>]]>
   </description>
   <pubDate>Tue, 23 Jul 2024 13:45:02 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=708&amp;PID=1111#1111</guid>
  </item> 
  <item>
   <title><![CDATA[unit2 birden fazla kez açılıyor : var uForm : TclForm; btnUnit :...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=708&amp;PID=1104#1104</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=191">Senol</a><br /><strong>Konu:</strong> 708<br /><strong>Gönderim Zamanı:</strong> 23&nbsp;Temmuz&nbsp;2024 Saat 10:10<br /><br /><div>var</div><div>&nbsp; uForm : TclForm;</div><div>&nbsp; btnUnit : TclButton;</div><div>&nbsp; edtUnit : TclEdit;</div><div>&nbsp; edtUrunAdi, edtUrunAciklamasi, edtUrunStok, edtBarkodBilgi, edtUrunFiyat : TclEdit;</div><div>&nbsp; btnInsert : TclButton;</div><div>&nbsp; testListview : TClListView;</div><div>&nbsp; Qry : TClSQLiteQuery;</div><div>&nbsp; database, password : String;</div><div>&nbsp; okutBtn: TclButton;</div><div>&nbsp; isUnit2Open: Boolean; // Burada sadece değişkeni tanımlıyoruz</div><div><br></div><div>void BarkodOkut;</div><div>{&nbsp;</div><div>&nbsp; uForm.CallBarcodeReader(edtBarkodBilgi);&nbsp;</div><div>}</div><div><br></div><div>void SendToMyForm;</div><div>{</div><div>&nbsp; CallerForm.clShow;</div><div>}</div><div><br></div><div>void GetData;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; Qry = Clomosy.DBSQLiteQueryWith('SELECT ''Urun adi:'' || UrunAdi as MAIN_TEXT, ''Urun Fiyati:'' || UrunFiyat as SIDE_TEXT_CENTER, ''Urun stok:'' || UrunStok as SIDE_TEXT_TOP, ''Barkod No:'' || BarkodOkut as FOOTER_TEXT, ''Urun Açıklaması:'' || Aciklamasi as SUB_TEXT FROM Categories');</div><div>&nbsp; &nbsp; Qry.OpenOrExecute;</div><div>&nbsp; &nbsp; testListview.clLoadListViewDataFromDataset(Qry);</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Exception class: ' + LastExceptionClassName + ' Exception Message: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void InsertToDatabase;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.SQL.Text = 'INSERT INTO Categories (UrunAdi, Aciklamasi, UrunStok, BarkodOkut, UrunFiyat) VALUES (' + QuotedStr(edtUrunAdi.Text) + ',' + QuotedStr(edtUrunAciklamasi.Text) + ',' + edtUrunStok.Text + ',' + QuotedStr(edtBarkodBilgi.Text) + ',' + edtUrunFiyat.Text + ')';</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.OpenOrExecute;</div><div>&nbsp; &nbsp; GetData;</div><div>&nbsp; &nbsp; ShowMessage('Veri ekleme başarılı');</div><div>&nbsp; &nbsp; edtUrunAdi.Text = '';</div><div>&nbsp; &nbsp; edtUrunFiyat.Text = '';</div><div>&nbsp; &nbsp; edtUrunAciklamasi.Text = '';</div><div>&nbsp; &nbsp; edtUrunStok.Text = '';</div><div>&nbsp; &nbsp; edtBarkodBilgi.Text = '';</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Exception class: ' + LastExceptionClassName + ' Exception Message: ' + LastExceptionMessage);</div><div>&nbsp; }&nbsp;</div><div>}</div><div><br></div><div>void dokunmaDurum;</div><div>{</div><div>&nbsp; if (uForm.clFormGestureEvent_GestureID == 264 &amp;&amp; !isUnit2Open)&nbsp;</div><div>&nbsp; {</div><div>&nbsp; &nbsp; isUnit2Open = True; // Unit2'nin açık olduğunu belirleyin</div><div>&nbsp; &nbsp; Clomosy.RunUnit('Unit2');</div><div>&nbsp; }</div><div>&nbsp; else {</div><div>&nbsp; &nbsp; ShowMessage('Calismadi');</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void Unit2CloseEvent;</div><div>{</div><div>&nbsp; isUnit2Open = False; // Unit2 kapandığında flag'i sıfırlayın</div><div>}</div><div><br></div><div>{</div><div>&nbsp; uForm = TclForm.Create(Self);</div><div>&nbsp; edtUrunAdi = uForm.AddNewEdit(uForm, 'edtUrunAdi', 'UrunAdi');</div><div>&nbsp; edtUrunAdi.Align = alMostTop;</div><div><br></div><div>&nbsp; edtUrunAciklamasi = uForm.AddNewEdit(uForm, 'edtUrunAciklamasi', 'Aciklamasi');</div><div>&nbsp; edtUrunAciklamasi.Align = alMostTop;</div><div><br></div><div>&nbsp; edtUrunFiyat = uForm.AddNewEdit(uForm, 'edtUrunFiyat', 'Urun Fiyati');</div><div>&nbsp; edtUrunFiyat.Align = alMostTop;</div><div><br></div><div>&nbsp; edtUrunStok = uForm.AddNewEdit(uForm, 'edtUrunStok', 'UrunStok');</div><div>&nbsp; edtUrunStok.Align = alMostTop;</div><div><br></div><div>&nbsp; okutBtn = uForm.AddNewButton(uForm, 'okutBtn', 'Barkodu okutunuz');</div><div>&nbsp; okutBtn.TextSettings.Font.Size = 40;</div><div>&nbsp; okutBtn.Height = 50;</div><div>&nbsp; okutBtn.Align = alMostTop;</div><div><br></div><div>&nbsp; edtBarkodBilgi = uForm.AddNewEdit(uForm, 'edtBarkodBilgi', 'Barkod No:');</div><div>&nbsp; edtBarkodBilgi.Align = alMostTop;</div><div>&nbsp; uForm.AddNewEvent(okutBtn, tbeOnMouseDown, 'BarkodOkut');</div><div><br></div><div>&nbsp; testListview = uForm.AddNewListView(uForm, 'testListview');</div><div>&nbsp; testListview.Align = alClient;</div><div><br></div><div>&nbsp; btnInsert = uForm.AddNewButton(uForm, 'btnInsert', 'Ekle');</div><div>&nbsp; btnInsert.Align = alBottom;</div><div>&nbsp; btnInsert.Height = 55;</div><div>&nbsp; uForm.AddNewEvent(btnInsert, tbeOnMouseDown, 'InsertToDatabase');</div><div><br></div><div>&nbsp; uForm.clSetTouchIG(igLongTap, testListview);</div><div>&nbsp; uForm.AddNewEvent(testListview, tbeOnGesture, 'dokunmaDurum');</div><div><br></div><div>&nbsp; database = Clomosy.AppFilesPath + 'ClomosyDatabase.db3';</div><div>&nbsp; password = '';</div><div><br></div><div>&nbsp; // Başlangıçta flag'i False olarak ayarlayın</div><div>&nbsp; isUnit2Open = False;</div><div><br></div><div>&nbsp; try</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteConnect(database, password);</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.SQL.Text = 'CREATE TABLE IF NOT EXISTS Categories(UrunAdi Text, Aciklamasi Text, UrunStok Text, BarkodOkut Text, UrunFiyat Text)';</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.OpenOrExecute;</div><div>&nbsp; &nbsp; ShowMessage('Veri tabanına tablo ekleme işlemi başarılı!');</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Exception class: ' + LastExceptionClassName + ' Exception Message: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div><br></div><div>&nbsp; GetData;</div><div>&nbsp; uForm.Run;</div><div>}</div><div><br><br>Kod şuan bu şekilde ama çalışmıyor yine&nbsp;<br><div>--------------------------------------------------------------------</div><div>TclStyleForm</div><div>Syntax error.</div><div>Source position: 53,52</div><div>Clomosy Build : 20240709.111531</div><div>--------------------------------------------------------------------<br><br>bu hatayı veriyor ben Booleanı yanlış kullandığımı düşünüyorum ve hatayı bulamıyorum</div></div>]]>
   </description>
   <pubDate>Tue, 23 Jul 2024 10:10:55 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=708&amp;PID=1104#1104</guid>
  </item> 
  <item>
   <title><![CDATA[unit2 birden fazla kez açılıyor : TclStyleFormSyntax error.source...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=708&amp;PID=1097#1097</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=191">Senol</a><br /><strong>Konu:</strong> 708<br /><strong>Gönderim Zamanı:</strong> 22&nbsp;Temmuz&nbsp;2024 Saat 16:24<br /><br />TclStyleForm<br>Syntax error.<br>source position: 12,24]]>
   </description>
   <pubDate>Mon, 22 Jul 2024 16:24:45 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=708&amp;PID=1097#1097</guid>
  </item> 
  <item>
   <title><![CDATA[unit2 birden fazla kez açılıyor : Merhaba &#350;enolAld&#305;&#287;&#305;n syntax hatas&#305;n&#305;...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=708&amp;PID=1095#1095</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=106">Developer</a><br /><strong>Konu:</strong> 708<br /><strong>Gönderim Zamanı:</strong> 22&nbsp;Temmuz&nbsp;2024 Saat 16:03<br /><br />Merhaba Şenol&nbsp;<div>Aldığın syntax hatasını paylaşır mısın ?</div>]]>
   </description>
   <pubDate>Mon, 22 Jul 2024 16:03:48 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=708&amp;PID=1095#1095</guid>
  </item> 
  <item>
   <title><![CDATA[unit2 birden fazla kez açılıyor : &#199;&#246;z&#252;m i&#231;in boolen yapmaya &#231;al&#305;&#351;t&#305;m...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=708&amp;PID=1091#1091</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=191">Senol</a><br /><strong>Konu:</strong> 708<br /><strong>Gönderim Zamanı:</strong> 22&nbsp;Temmuz&nbsp;2024 Saat 15:30<br /><br />Çözüm için boolen yapmaya çalıştım lakin syntax hatası alıyorum&nbsp;<br>Source position : 12,24<div><div>var</div><div>&nbsp; uForm : TclStyleForm;</div><div>&nbsp; btnUnit : TclButton;</div><div>&nbsp; edtUnit : TclEdit;</div><div>&nbsp; edtUrunAdi, edtUrunAciklamasi, edtUrunStok, edtBarkodBilgi, edtUrunFiyat : TclEdit;</div><div>&nbsp; btnInsert : TclButton;</div><div>&nbsp; testListview : TClListView;</div><div>&nbsp; Qry : TClSQLiteQuery;</div><div>&nbsp; database, password : String;</div><div>&nbsp; okutBtn: TclButton;</div><div>&nbsp; Unit2 : TclUnit;</div><div>&nbsp; isUnit2Open: Boolean = False; // Unit2'nin açık olup olmadığını belirleyecek kod</div><div><br></div><div>void BarkodOkut;</div><div>{&nbsp;</div><div>&nbsp; uForm.CallBarcodeReader(edtBarkodBilgi);&nbsp;</div><div>}</div><div><br></div><div>void SendToMyForm;</div><div>{</div><div>&nbsp; CallerForm.clShow;</div><div>}</div><div><br></div><div>void GetData;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; Qry = Clomosy.DBSQLiteQueryWith('SELECT ''Urun adi:'' || UrunAdi as MAIN_TEXT, ''Urun Fiyati:'' || UrunFiyat as SIDE_TEXT_CENTER, ''Urun stok:'' || UrunStok as SIDE_TEXT_TOP, ''Barkod No:'' || BarkodOkut as FOOTER_TEXT, ''Urun Açıklaması:'' || Aciklamasi as SUB_TEXT FROM Categories');</div><div>&nbsp; &nbsp; Qry.OpenOrExecute;</div><div>&nbsp; &nbsp; testListview.clLoadListViewDataFromDataset(Qry);</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Exception class: ' + LastExceptionClassName + ' Exception Message: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void InsertToDatabase;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.SQL.Text = 'INSERT INTO Categories (UrunAdi, Aciklamasi, UrunStok, BarkodOkut, UrunFiyat) VALUES (' + QuotedStr(edtUrunAdi.Text) + ',' + QuotedStr(edtUrunAciklamasi.Text) + ',' + edtUrunStok.Text + ',' + QuotedStr(edtBarkodBilgi.Text) + ',' + edtUrunFiyat.Text + ')';</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.OpenOrExecute;</div><div>&nbsp; &nbsp; GetData;</div><div>&nbsp; &nbsp; ShowMessage('Veri ekleme başarılı');</div><div>&nbsp; &nbsp; edtUrunAdi.Text = '';</div><div>&nbsp; &nbsp; edtUrunFiyat.Text = '';</div><div>&nbsp; &nbsp; edtUrunAciklamasi.Text = '';</div><div>&nbsp; &nbsp; edtUrunStok.Text = '';</div><div>&nbsp; &nbsp; edtBarkodBilgi.Text = '';</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Exception class: ' + LastExceptionClassName + ' Exception Message: ' + LastExceptionMessage);</div><div>&nbsp; }&nbsp;</div><div>}</div><div><br></div><div>void dokunmaDurum;</div><div>{</div><div>&nbsp; if (uForm.clFormGestureEvent_GestureID == 264 &amp;&amp; !isUnit2Open)&nbsp;</div><div>&nbsp; {</div><div>&nbsp; &nbsp; isUnit2Open = True; // Unit2'nin açık olduğunu belirleme</div><div>&nbsp; &nbsp; Clomosy.RunUnit('Unit2');</div><div>&nbsp; }</div><div>&nbsp; else {</div><div>&nbsp; &nbsp; ShowMessage('Calismadi');</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void Unit2CloseEvent;</div><div>{</div><div>&nbsp; isUnit2Open = False; // Unit2 kapandığında sıfırlancak</div><div>}</div><div><br></div><div>{</div><div>&nbsp; uForm = TclStyleForm.Create(Self);</div><div>&nbsp; edtUrunAdi = uForm.AddNewEdit(uForm, 'edtUrunAdi', 'UrunAdi');</div><div>&nbsp; edtUrunAdi.Align = alMostTop;</div><div><br></div><div>&nbsp; edtUrunAciklamasi = uForm.AddNewEdit(uForm, 'edtUrunAciklamasi', 'Aciklamasi');</div><div>&nbsp; edtUrunAciklamasi.Align = alMostTop;</div><div><br></div><div>&nbsp; edtUrunFiyat = uForm.AddNewEdit(uForm, 'edtUrunFiyat', 'Urun Fiyati');</div><div>&nbsp; edtUrunFiyat.Align = alMostTop;</div><div><br></div><div>&nbsp; edtUrunStok = uForm.AddNewEdit(uForm, 'edtUrunStok', 'UrunStok');</div><div>&nbsp; edtUrunStok.Align = alMostTop;</div><div><br></div><div>&nbsp; okutBtn = uForm.AddNewButton(uForm, 'okutBtn', 'Barkodu okutunuz');</div><div>&nbsp; okutBtn.TextSettings.Font.Size = 40;</div><div>&nbsp; okutBtn.Height = 50;</div><div>&nbsp; okutBtn.Align = alMostTop;</div><div><br></div><div>&nbsp; edtBarkodBilgi = uForm.AddNewEdit(uForm, 'edtBarkodBilgi', 'Barkod No:');</div><div>&nbsp; edtBarkodBilgi.Align = alMostTop;</div><div>&nbsp; uForm.AddNewEvent(okutBtn, tbeOnMouseDown, 'BarkodOkut');</div><div><br></div><div>&nbsp; testListview = uForm.AddNewListView(uForm, 'testListview');</div><div>&nbsp; testListview.Align = alClient;</div><div><br></div><div>&nbsp; btnInsert = uForm.AddNewButton(uForm, 'btnInsert', 'Ekle');</div><div>&nbsp; btnInsert.Align = alBottom;</div><div>&nbsp; btnInsert.Height = 55;</div><div>&nbsp; uForm.AddNewEvent(btnInsert, tbeOnMouseDown, 'InsertToDatabase');</div><div><br></div><div>&nbsp; uForm.clSetTouchIG(igLongTap, testListview);</div><div>&nbsp; uForm.AddNewEvent(testListview, tbeOnGesture, 'dokunmaDurum');</div><div><br></div><div>&nbsp; database = Clomosy.AppFilesPath + 'ClomosyDatabase.db3';</div><div>&nbsp; password = '';</div><div><br></div><div>&nbsp; try</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteConnect(database, password);</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.SQL.Text = 'CREATE TABLE IF NOT EXISTS Categories(UrunAdi Text, Aciklamasi Text, UrunStok Text, BarkodOkut Text, UrunFiyat Text)';</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.OpenOrExecute;</div><div>&nbsp; &nbsp; ShowMessage('Veri tabanına tablo ekleme işlemi başarılı!');</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Exception class: ' + LastExceptionClassName + ' Exception Message: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div><br></div><div>&nbsp; GetData;</div><div>&nbsp; uForm.Run;</div><div>}</div></div><div><br></div>]]>
   </description>
   <pubDate>Mon, 22 Jul 2024 15:30:16 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=708&amp;PID=1091#1091</guid>
  </item> 
 </channel>
</rss>