<?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 : proje</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : proje]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 17:07:23 +0000</pubDate>
  <lastBuildDate>Mon, 04 May 2026 13:46:33 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>30</ttl>
  <WebWizForums:feedURL>https://forum.clomosy.com.tr/RSS_post_feed.asp?TID=1461</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[proje : var MainForm: TClForm; ProductList:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1461&amp;PID=3331#3331</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=411">elanur</a><br /><strong>Konu:</strong> 1461<br /><strong>Gönderim Zamanı:</strong> 04&nbsp;Mayıs&nbsp;2026 Saat 13:46<br /><br /><div>var</div><div>&nbsp; MainForm: TClForm;</div><div>&nbsp; ProductList: TClListView;</div><div>&nbsp; BtnAdd, BtnRefresh: TClProButton;</div><div>&nbsp; EdtName, EdtQty: TClEdit;</div><div>&nbsp; LblName, LblQty: TClProLabel;</div><div>&nbsp; PopUpForm: TClForm;</div><div><br></div><div>// --- Veritabanı ve Liste Güncelleme ---</div><div>void RefreshData;</div><div>{</div><div>&nbsp; // Verileri SQL'den çek ve ListView'e aktar</div><div>&nbsp; Clomosy.DBSQLServerQuery.SQL.Text('SELECT ProductName as (MainText), CAST(ProductStock AS VARCHAR) + '' Adet'' as (FooterText) FROM Products');</div><div>&nbsp; ProductList.Dataset = Clomosy.DBSQLServerDataset;</div><div>}</div><div><br></div><div>// --- Yeni Ürün Kaydetme ---</div><div>void SaveProduct;</div><div>{</div><div>&nbsp; if ((EdtName.Text == '') || (EdtQty.Text == ''))&nbsp;</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('Lütfen tüm alanları doldurun!');</div><div>&nbsp; &nbsp; Exit;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; try</div><div>&nbsp; &nbsp; // SQL Insert işlemi</div><div>&nbsp; &nbsp; Clomosy.DBSQLServerQuery('INSERT INTO Products (ProductName, ProductStock) VALUES (' +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; QuotedStr(EdtName.Text) + ', ' + EdtQty.Text + ')');</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; ShowMessage('Ürün başarıyla kaydedildi.');</div><div>&nbsp; &nbsp; PopUpForm.Close;</div><div>&nbsp; &nbsp; RefreshData; // Listeyi yenile</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Hata: Veri kaydedilemedi. Sayısal değerleri kontrol edin.');</div><div>&nbsp; }</div><div>}</div><div><br></div><div>// --- Ürün Ekleme Penceresini Aç ---</div><div>void OpenAddWindow;</div><div>{</div><div>&nbsp; PopUpForm = TClForm.Create(Self);</div><div>&nbsp; PopUpForm.SetFormColor('#f4f4f4');</div><div>&nbsp;&nbsp;</div><div>&nbsp; LblName = PopUpForm.AddNewProLabel(PopUpForm, 'LblName', 'Ürün Adı:');</div><div>&nbsp; LblName.Align = alTop;</div><div>&nbsp; LblName.Margins.Top = 20;</div><div><br></div><div>&nbsp; EdtName = PopUpForm.AddNewEdit(PopUpForm, 'EdtName', 'Örn: Bilgisayar');</div><div>&nbsp; EdtName.Align = alTop;</div><div><br></div><div>&nbsp; LblQty = PopUpForm.AddNewProLabel(PopUpForm, 'LblQty', 'Stok Miktarı:');</div><div>&nbsp; LblQty.Align = alTop;</div><div>&nbsp; LblQty.Margins.Top = 10;</div><div><br></div><div>&nbsp; EdtQty = PopUpForm.AddNewEdit(PopUpForm, 'EdtQty', 'Örn: 50');</div><div>&nbsp; EdtQty.Align = alTop;</div><div>&nbsp; EdtQty.clTextSettings.KeyboardType = clkNumeric; // Sadece sayı klavyesi</div><div><br></div><div>&nbsp; BtnAdd = PopUpForm.AddNewProButton(PopUpForm, 'BtnSave', 'Kaydet');</div><div>&nbsp; BtnAdd.Align = alBottom;</div><div>&nbsp; BtnAdd.Height = 50;</div><div>&nbsp; BtnAdd.clSetStyle(cpbSuccess);</div><div>&nbsp; PopUpForm.AddNewEvent(BtnAdd, tbeOnClick, 'SaveProduct');</div><div><br></div><div>&nbsp; PopUpForm.Run;</div><div>}</div><div><br></div><div>// --- Ana Uygulama Kurulumu ---</div><div>{</div><div>&nbsp; MainForm = TClForm.Create(Self);</div><div>&nbsp;&nbsp;</div><div>&nbsp; // Tablo oluşturma (Eğer yoksa)</div><div>&nbsp; Clomosy.DBSQLServerQuery('IF NOT EXISTS (SELECT * FROM sysobjects WHERE name=''Products'' AND xtype=''U'') ' +</div><div>&nbsp; &nbsp; 'CREATE TABLE Products (ProductID INT IDENTITY(1,1) PRIMARY KEY, ProductName VARCHAR(100), ProductStock FLOAT)');</div><div><br></div><div>&nbsp; // Başlık</div><div>&nbsp; MainForm.Caption = 'ClomoStock v1.0';</div><div><br></div><div>&nbsp; // Ürün Listesi</div><div>&nbsp; ProductList = MainForm.AddNewListView(MainForm, 'ProductList');</div><div>&nbsp; ProductList.Align = alClient;</div><div>&nbsp; ProductList.Margins.Top = 10;</div><div><br></div><div>&nbsp; // Ekle Butonu</div><div>&nbsp; BtnAdd = MainForm.AddNewProButton(MainForm, 'BtnAdd', '+ Yeni Ürün Ekle');</div><div>&nbsp; BtnAdd.Align = alTop;</div><div>&nbsp; BtnAdd.Height = 60;</div><div>&nbsp; BtnAdd.clSetStyle(cpbInfo);</div><div>&nbsp; MainForm.AddNewEvent(BtnAdd, tbeOnClick, 'OpenAddWindow');</div><div><br></div><div>&nbsp; // Yenile Butonu</div><div>&nbsp; BtnRefresh = MainForm.AddNewProButton(MainForm, 'BtnRefresh', 'Listeyi Yenile');</div><div>&nbsp; BtnRefresh.Align = alBottom;</div><div>&nbsp; BtnRefresh.Height = 50;</div><div>&nbsp; MainForm.AddNewEvent(BtnRefresh, tbeOnClick, 'RefreshData');</div><div><br></div><div>&nbsp; // İlk açılışta verileri getir</div><div>&nbsp; RefreshData;</div><div><br></div><div>&nbsp; MainForm.Run;</div><div>}</div><div><span style=": rgb255, 255, 254; font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; white-space: pre; color: rgb0, 128, 128;">Unit</span><span style=": rgb255, 255, 254; font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; white-space: pre;"> </span><span style=": rgb255, 255, 254; font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; white-space: pre; color: rgb0, 128, 128;">Main</span><span style=": rgb255, 255, 254; font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; white-space: pre;">: </span><span style=": rgb255, 255, 254; font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; white-space: pre; color: rgb0, 128, 128;">Unknown</span><span style=": rgb255, 255, 254; font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; white-space: pre;"> member method: </span><span style=": rgb255, 255, 254; font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; white-space: pre; color: rgb163, 21, 21;">'Text'</span><span style=": rgb255, 255, 254; font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; white-space: pre;">.</span></div><div><div style=": rgb255, 255, 254; font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; line-height: 16px; white-space: pre;"><div><span style="color: #008080;">Source</span> position: <span style="color: #098658;">13</span>,<span style="color: #098658;">145</span></div></div></div><div>hatamda bu sekilde nasıl düzeltebilirim</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516"</a> integrity="sha512-8DS7rgIrAmghBFwoOTujcf6D9rXvH8xm8JQ1Ja01h9QX8EzXldiszufYa4IFfKdLUKTTrnSFXLDkUEOTrZQ8Qg==" 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, 04 May 2026 13:46:33 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1461&amp;PID=3331#3331</guid>
  </item> 
 </channel>
</rss>