<?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 : butona basınca yeni unite geçemiyorum</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : TclForm Olu&#351;turma : butona basınca yeni unite geçemiyorum]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 20:55:30 +0000</pubDate>
  <lastBuildDate>Thu, 31 Jul 2025 18:00:34 +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=1026</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[butona basınca yeni unite geçemiyorum : Merhaba G&#252;l&#351;enBirimde ki ad&#305; ile...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1026&amp;PID=2426#2426</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> 1026<br /><strong>Gönderim Zamanı:</strong> 31&nbsp;Temmuz&nbsp;2025 Saat 18:00<br /><br />Merhaba Gülşen<br>Birimde ki adı ile kod da ki birim adını kontrol eder misin?&nbsp;]]>
   </description>
   <pubDate>Thu, 31 Jul 2025 18:00:34 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1026&amp;PID=2426#2426</guid>
  </item> 
  <item>
   <title><![CDATA[butona basınca yeni unite geçemiyorum : MAIN CODE----------------void...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1026&amp;PID=2051#2051</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=296">Gulsen</a><br /><strong>Konu:</strong> 1026<br /><strong>Gönderim Zamanı:</strong> 25&nbsp;Mayıs&nbsp;2025 Saat 16:29<br /><br /><div><br></div><div>MAIN CODE</div><div>----------------</div><div><br></div><div>void SqLiteConnectionCreateTable;</div><div>var</div><div>&nbsp; TableExists: Boolean;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteConnect(Clomosy.AppFilesPath + 'DBWORDS.db3', '');</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.Sql.Text = 'SELECT name FROM sqlite_master WHERE type="table" AND name="TBLWORDS";';</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.OpenOrExecute;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; TableExists = not Clomosy.DBSQLiteQuery.Eof;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if not TableExists</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; Clomosy.DBSQLiteQuery.Sql.Text = 'CREATE TABLE TBLWORDS(WordID INTEGER NOT NULL, English TEXT NOT NULL, Turkish TEXT NOT NULL)';</div><div>&nbsp; &nbsp; &nbsp; Clomosy.DBSQLiteQuery.OpenOrExecute;</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Tablo başarıyla oluşturuldu!');</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Tablo zaten mevcut.');</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div>&nbsp; except</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('Tablo oluşturma hatası: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>&nbsp; }</div><div>}</div><div><br></div><div>// --- Olay Fonksiyonları ---</div><div>void OpenAddWordUnit;</div><div>{</div><div>&nbsp; Clomosy.RunUnit('AddWordUnit');&nbsp; // AddWordUnit adlı unit açılır.</div><div>}</div><div><br></div><div>void OpenListWordUnit;</div><div>{</div><div>&nbsp; Clomosy.RunUnit('ListWordUnit');&nbsp; // ListWordUnit adlı unit açılır.</div><div>}</div><div><br></div><div>// --- Ana Ekran (Main Screen) ---</div><div>var</div><div>&nbsp; Form1: TclForm;</div><div>&nbsp; AddWordBtn, ListBtn: TclButton;</div><div><br></div><div>{</div><div>&nbsp; Form1 = TclForm.Create(Self);</div><div><br></div><div>&nbsp; // "Kelime Kaydet" butonunu oluştur</div><div>&nbsp; AddWordBtn = Form1.AddNewButton(Form1, 'btnAddWord', 'Kelime Kaydet');</div><div>&nbsp; AddWordBtn.Align = alTop;</div><div>&nbsp; AddWordBtn.Margins.Top = 20;</div><div>&nbsp; AddWordBtn.Height = 50;</div><div>&nbsp; Form1.AddNewEvent(AddWordBtn, tbeOnClick, 'OpenAddWordUnit');</div><div><br></div><div>&nbsp; // "Listem" butonunu oluştur</div><div>&nbsp; ListBtn = Form1.AddNewButton(Form1, 'btnListWord', 'Listem');</div><div>&nbsp; ListBtn.Align = alTop;</div><div>&nbsp; ListBtn.Margins.Top = 10;</div><div>&nbsp; ListBtn.Height = 50;</div><div>&nbsp; Form1.AddNewEvent(ListBtn, tbeOnClick, 'OpenListWordUnit');</div><div>&nbsp;&nbsp;</div><div>&nbsp; SqLiteConnectionCreateTable;</div><div>&nbsp;&nbsp;</div><div>&nbsp; Form1.Run;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>}</div><div><br></div><div>AddWordUnit deki kod</div><div>------------------------</div><div><br></div><div><div>var</div><div>&nbsp; AddForm: TclForm;</div><div>&nbsp; EnglishEdt, TurkishEdt: TclEdit;</div><div>&nbsp; SaveBtn: TclButton;</div><div><br></div><div>void AddWordUnit;</div><div>{</div><div>&nbsp; // Kelime ekleme formunu oluştur</div><div>&nbsp; AddForm = TclForm.Create(Self);</div><div>&nbsp;&nbsp;</div><div>&nbsp; // İngilizce kelime giriş alanı</div><div>&nbsp; EnglishEdt = AddForm.AddNewEdit(AddForm, 'edtEnglish', 'İngilizce kelimeyi giriniz...');</div><div>&nbsp; EnglishEdt.Align = alTop;</div><div>&nbsp; EnglishEdt.Margins.Top = 20;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // Türkçe karşılık giriş alanı</div><div>&nbsp; TurkishEdt = AddForm.AddNewEdit(AddForm, 'edtTurkish', 'Türkçe karşılığını giriniz...');</div><div>&nbsp; TurkishEdt.Align = alTop;</div><div>&nbsp; TurkishEdt.Margins.Top = 10;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // "Kaydet" butonunu oluştur</div><div>&nbsp; SaveBtn = AddForm.AddNewButton(AddForm, 'btnSaveWord', 'Kaydet');</div><div>&nbsp; SaveBtn.Align = alTop;</div><div>&nbsp; SaveBtn.Margins.Top = 10;</div><div>&nbsp; SaveBtn.Height = 50;</div><div>&nbsp; AddForm.AddNewEvent(SaveBtn, tbeOnClick, 'SaveWordData');</div><div>&nbsp;&nbsp;</div><div>&nbsp; AddForm.Run;</div><div>}</div><div><br></div><div>void SaveWordData;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; {</div><div>&nbsp; &nbsp; // Veritabanına INSERT sorgusu ile ekle</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.Sql.Text = 'INSERT INTO TBLWORDS (English, Turkish) VALUES (''' + EnglishEdt.Text + ''', ''' + TurkishEdt.Text + ''');';</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.OpenOrExecute;</div><div>&nbsp; &nbsp; ShowMessage('Kelimeniz başarıyla kaydedildi!');</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; //AddForm.Close;</div><div>&nbsp; }</div><div>&nbsp; except</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('Kaydetme hatası: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>&nbsp; }</div><div>}</div><div><br></div></div><div>ListWordUnit deki kod</div><div>-------------------------</div><div><br></div><div><div>// 4. Kelime Listeleme Birimi (ListWordUnit)</div><div>var</div><div>&nbsp; ListForm: TclForm;</div><div>&nbsp; WordListView: TclListView;</div><div>&nbsp;&nbsp;</div><div>&nbsp; void GetWordData;</div><div>var</div><div>&nbsp; Qry: TClSQLiteQuery;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Qry = Clomosy.DBSQLiteQueryWith('SELECT WordID as RECORD_GUID, English as MAIN_TEXT, Turkish as FOOTER_TEXT FROM TBLWORDS');</div><div>&nbsp; &nbsp; Qry.OpenOrExecute;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; while (not Qry.EOF)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; WordListView.clLoadListViewDataFromDataset(Qry);</div><div>&nbsp; &nbsp; &nbsp; Qry.Next;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div>&nbsp; except</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('Veri çekme hatası: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>&nbsp; }</div><div>}</div><div><br></div><div><br></div><div><br></div><div>void ListWordUnit;</div><div>{</div><div>&nbsp; // Listeleme formunu oluştur</div><div>&nbsp; ListForm = TclForm.Create(Self);</div><div>&nbsp;&nbsp;</div><div>&nbsp; // ListView bileşenini ekle</div><div>&nbsp; WordListView = ListForm.AddNewListView(ListForm, 'WordListView');</div><div>&nbsp; WordListView.Align = alClient;</div><div>&nbsp; WordListView.Margins.Left = 5;</div><div>&nbsp; WordListView.Margins.Top = 5;</div><div>&nbsp; WordListView.Margins.Right = 5;</div><div>&nbsp; WordListView.Margins.Bottom = 5;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // Verileri yükle</div><div>&nbsp; GetWordData;</div><div>&nbsp;&nbsp;</div><div>&nbsp; ListForm.Run;</div><div>}</div><div><br></div></div><div><br></div><div>hata mesajı vb yok</div><div><br></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Sun, 25 May 2025 16:29:54 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1026&amp;PID=2051#2051</guid>
  </item> 
 </channel>
</rss>