<?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 : ListView Görünmeme Hatası</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : ListView Görünmeme Hatası]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 31 Jul 2026 16:07:35 +0000</pubDate>
  <lastBuildDate>Fri, 31 Jul 2026 15:59:45 +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=1645</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[ListView Görünmeme Hatası : Merhaba Enes,ListView&amp;#039;da...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1645&amp;PID=3809#3809</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> 1645<br /><strong>Gönderim Zamanı:</strong> 31&nbsp;Temmuz&nbsp;2026 Saat 15:59<br /><br />Merhaba Enes,<br><div>ListView'da AddPanelObject(lbl, clCaption) yazdığında, dataset'te MAIN_TEXT alanını arar. AddPanelObject(lbl, clText) ise SUB_TEXT alanını arar. Sen JSON'da clText ve clCaption yazmışsın ama olması gereken MAIN_TEXT ve SUB_TEXT.</div><div><br></div><div>bir diğeri de bağlantıdan sonra selectQuery.First eksikti</div><br><br><br><div>var</div><div>&nbsp; ListForm : TclForm;</div><div>&nbsp; MainPnl : TclProPanel;</div><div>&nbsp; btnTest : TClProButton;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // ListView yerine garantili render panelleri</div><div>&nbsp; MainVertScroll : TclVertScrollBox;</div><div>&nbsp; ListContainerPnl : TclProPanel;</div><div>&nbsp; selectQuery : TclSqlQuery;</div><div><br></div><div>void ConnectToDatabase;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; if (Clomosy.DBSQLServerConnection == nil)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; Clomosy.DBSQLServerConnect('SQL Server', '192.168.5.227\ACARPLUS', 'AcarPlus', '1234', 'Odeme_App', 1433);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; selectQuery.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Veritabanı bağlantısı kurulamadı: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void SelectAndRenderData;</div><div>var</div><div>&nbsp; ItemIndex : Integer;</div><div>&nbsp; CardPanel : TclProPanel;</div><div>&nbsp; TextLayout : TclLayout;</div><div>&nbsp; LblFullName, LblCompany : TclProLabel;</div><div>&nbsp; CustName, CustComp, UniqueID : String;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; selectQuery.Sql.Text =&nbsp;</div><div>&nbsp; &nbsp; &nbsp; 'SELECT CAST(CustomerID AS VARCHAR(50)) AS CustID, ' +</div><div>&nbsp; &nbsp; &nbsp; 'ISNULL(CustomerFullName, '''') AS CustName, ' +</div><div>&nbsp; &nbsp; &nbsp; 'ISNULL(CustomerCompany, '''') AS CustCompany ' +</div><div>&nbsp; &nbsp; &nbsp; 'FROM Odeme_App.dbo.Customers WITH (NOLOCK) WHERE CustomerIsActive = 1';</div><div>&nbsp; &nbsp; selectQuery.Open;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (not selectQuery.Eof)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; if (ListContainerPnl &lt;&gt; nil) { ListContainerPnl.Visible = False; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; UniqueID = IntToStr(Random(999999));</div><div>&nbsp; &nbsp; &nbsp; ListContainerPnl = ListForm.AddNewProPanel(MainVertScroll, 'ListPnl_' + UniqueID);</div><div>&nbsp; &nbsp; &nbsp; ListContainerPnl.Align = alTop;</div><div>&nbsp; &nbsp; &nbsp; ListContainerPnl.clProSettings.IsTransparent = True;</div><div>&nbsp; &nbsp; &nbsp; ListContainerPnl.SetclProSettings(ListContainerPnl.clProSettings);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; ItemIndex = 0;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; while (not selectQuery.Eof)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CustName = selectQuery.FieldByName('CustName').AsString;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CustComp = selectQuery.FieldByName('CustCompany').AsString;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; // Her Müşteri İçin Kart Paneli</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CardPanel = ListForm.AddNewProPanel(ListContainerPnl, 'Card_' + UniqueID + '_' + IntToStr(ItemIndex));</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CardPanel.Align = alTop;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CardPanel.Height = 65;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CardPanel.Margins.Top = 8;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CardPanel.Margins.Left = 8;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CardPanel.Margins.Right = 8;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CardPanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CardPanel.clProSettings.BorderColor = clAlphaColor.clHexToColor('#CBD5E1');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CardPanel.clProSettings.BorderWidth = 1;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CardPanel.clProSettings.IsRound = True;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CardPanel.clProSettings.RoundHeight = 10;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CardPanel.clProSettings.RoundWidth = 10;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CardPanel.clProSettings.IsFill = True;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CardPanel.SetclProSettings(CardPanel.clProSettings);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; // Metin Yerleşimi</div><div>&nbsp; &nbsp; &nbsp; &nbsp; TextLayout = ListForm.AddNewLayout(CardPanel, 'TLay_' + UniqueID + '_' + IntToStr(ItemIndex));</div><div>&nbsp; &nbsp; &nbsp; &nbsp; TextLayout.Align = alClient;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; TextLayout.Margins.Left = 12;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; TextLayout.Margins.Top = 8;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; TextLayout.Margins.Right = 12;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; // Müşteri Adı (Koyu Renk Bold)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; LblFullName = ListForm.AddNewProLabel(TextLayout, 'LblName_' + UniqueID + '_' + IntToStr(ItemIndex), CustName);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; LblFullName.Align = alTop;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; LblFullName.Height = 24;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; LblFullName.clProSettings.FontColor = clAlphaColor.clHexToColor('#0F172A');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; LblFullName.clProSettings.FontSize = 12;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; LblFullName.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; LblFullName.SetclProSettings(LblFullName.clProSettings);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; // Şirket Adı</div><div>&nbsp; &nbsp; &nbsp; &nbsp; LblCompany = ListForm.AddNewProLabel(TextLayout, 'LblComp_' + UniqueID + '_' + IntToStr(ItemIndex), 'Şirket: ' + CustComp);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; LblCompany.Align = alTop;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; LblCompany.Height = 20;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; LblCompany.clProSettings.FontColor = clAlphaColor.clHexToColor('#475569');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; LblCompany.clProSettings.FontSize = 10;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; LblCompany.SetclProSettings(LblCompany.clProSettings);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ItemIndex = ItemIndex + 1;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; selectQuery.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; ListContainerPnl.Height = (ItemIndex * 75) + 20;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Kayıtlı aktif müşteri bulunamadı.');</div><div>&nbsp; &nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Hata Oluştu: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>{</div><div>&nbsp; ListForm = TclForm.Create(Self);</div><div>&nbsp; ListForm.SetFormColor('#F8FAFC', '', clGNone);</div><div><br></div><div>&nbsp; selectQuery = TclSqlQuery.Create(nil);</div><div><br></div><div>&nbsp; MainPnl = ListForm.AddNewProPanel(ListForm, 'MainPnl');</div><div>&nbsp; MainPnl.Align = alClient;</div><div>&nbsp; MainPnl.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F8FAFC');</div><div>&nbsp; MainPnl.clProSettings.IsFill = True;</div><div>&nbsp; MainPnl.SetclProSettings(MainPnl.clProSettings);</div><div><br></div><div>&nbsp; // Üst Buton</div><div>&nbsp; btnTest = ListForm.AddNewProButton(MainPnl, 'btnTest', 'MÜŞTERİ LİSTESİ');</div><div>&nbsp; btnTest.Align = alTop;</div><div>&nbsp; btnTest.Height = 42;</div><div>&nbsp; btnTest.Margins.Left = 12;</div><div>&nbsp; btnTest.Margins.Right = 12;</div><div>&nbsp; btnTest.Margins.Top = 10;</div><div>&nbsp; btnTest.Margins.Bottom = 6;</div><div>&nbsp; btnTest.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#2563EB');</div><div>&nbsp; btnTest.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; btnTest.clProSettings.IsRound = True;</div><div>&nbsp; btnTest.clProSettings.RoundHeight = 8;</div><div>&nbsp; btnTest.clProSettings.RoundWidth = 8;</div><div>&nbsp; btnTest.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; btnTest.clProSettings.FontSize = 12;</div><div>&nbsp; btnTest.clProSettings.IsFill = True;</div><div>&nbsp; btnTest.SetclProSettings(btnTest.clProSettings);</div><div><br></div><div>&nbsp; // Dikey Scroll Alanı</div><div>&nbsp; MainVertScroll = ListForm.AddNewVertScrollBox(MainPnl, 'MainVertScroll');</div><div>&nbsp; MainVertScroll.Align = alClient;</div><div>&nbsp; MainVertScroll.Margins.Left = 10;</div><div>&nbsp; MainVertScroll.Margins.Right = 10;</div><div>&nbsp; MainVertScroll.Margins.Bottom = 10;</div><div><br></div><div>&nbsp; ListContainerPnl = nil;</div><div><br></div><div>&nbsp; ConnectToDatabase;</div><div>&nbsp; SelectAndRenderData;</div><div><br></div><div>&nbsp; ListForm.Run;</div><div>}</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496"</a> integrity="sha512-ZE9pZaUXND66v380QUtch/5sE9tPFh2zg45pR2PB0CVkCtOREv2AJKkSidISWkysEuQ0EH8faUU5du78bx87UQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Fri, 31 Jul 2026 15:59:45 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1645&amp;PID=3809#3809</guid>
  </item> 
  <item>
   <title><![CDATA[ListView Görünmeme Hatası : a&#231;&#305;lan formda listview visible...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1645&amp;PID=3807#3807</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=482">AcarPlus</a><br /><strong>Konu:</strong> 1645<br /><strong>Gönderim Zamanı:</strong> 31&nbsp;Temmuz&nbsp;2026 Saat 14:48<br /><br />açılan formda listview visible = true olmasına rağmen görünmüyor test etmek amaçlı listviewi oluşturmadan önce bir buton oluşturdum listview visible iken butona tıklanma engelleniyor invisibe olduğunda tıklayabiliyorum ama her iki durumdada listview unitte görünmüyor.<br><br><br>///////kod bloğu//////////////<br><div>var</div><div>&nbsp; ListForm : TclForm;</div><div>&nbsp; MainPnl : TclProPanel;</div><div>&nbsp; listviewShow : TclProListView;</div><div>&nbsp; DesignerPanel1 : TClProListViewDesignerPanel;</div><div>&nbsp; lblFullName, lblCompany : TClProLabel;</div><div>&nbsp; selectQuery : TclSqlQuery;</div><div>&nbsp; CustomerViewer : TclUnit;</div><div>&nbsp; btnTest : TClProButton;</div><div>&nbsp;&nbsp;</div><div><br></div><div>void CreateListView;</div><div>{</div><div><br></div><div>&nbsp; btnTest = ListForm.AddNewButton(MainPnl,'btnTest', 'test buton');</div><div>&nbsp; listviewShow = ListForm.AddNewProListView(MainPnl, 'listviewShow');</div><div>&nbsp; listviewShow.Align = alClient;</div><div>&nbsp; listviewShow.Margins.Left = 20;</div><div>&nbsp; listviewShow.Margins.Right = 20;</div><div>&nbsp; listviewShow.Margins.Top = 20;</div><div>&nbsp; listviewShow.Margins.Bottom = 20;</div><div>&nbsp; listviewShow.Width = 340;</div><div>&nbsp; listviewShow.Height = 400;</div><div>&nbsp; listviewShow.clProSettings.ColCount = 1;</div><div>&nbsp; listviewShow.clProSettings.ItemHeight = 60;</div><div>&nbsp; listviewShow.clProSettings.ViewType = lvList;</div><div>&nbsp; listviewShow.SetclProSettings(listviewShow.clProSettings);</div><div>&nbsp; listviewShow.Visible = True;</div><div>}</div><div><br></div><div>void CreateDesignerPanel;</div><div>{</div><div>&nbsp; DesignerPanel1 = ListForm.AddNewProListViewDesignerPanel(listviewShow, 'DesignerPanel1');</div><div>&nbsp; DesignerPanel1.Height = 60;</div><div>&nbsp; DesignerPanel1.Width = 300;</div><div>&nbsp; listviewShow.SetDesignerPanel(DesignerPanel1);</div><div>}</div><div><br></div><div>void CreateDesignerFields;</div><div>{</div><div>&nbsp; lblFullName = ListForm.AddNewProLabel(DesignerPanel1, 'lblFullName', 'test');</div><div>&nbsp; lblFullName.Align = alTop;</div><div>&nbsp; lblFullName.Height = 25;</div><div>&nbsp; DesignerPanel1.AddPanelObject(lblFullName, clText);</div><div><br></div><div>&nbsp; lblCompany = ListForm.AddNewProLabel(DesignerPanel1, 'lblCompany', 'test');</div><div>&nbsp; lblCompany.Align = alTop;</div><div>&nbsp; lblCompany.Height = 25;</div><div>&nbsp; DesignerPanel1.AddPanelObject(lblCompany, clCaption);</div><div>}</div><div><br></div><div>void ConnectToDatabase;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; if (Clomosy.DBSQLServerConnection == nil)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; Clomosy.DBSQLServerConnect('SQL Server', '192.168.5.227\ACARPLUS', 'AcarPlus', '1234', 'Odeme_App', 1433);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; selectQuery.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Veritabanı bağlantısı kurulamadı ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void selectToDatabase;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; selectQuery.Sql.Text = 'SELECT CAST(CustomerID as FLOAT) as clRecord_GUID, CustomerFullName as clText, CustomerCompany as clCaption FROM Customers WHERE CustomerIsActive = 1';</div><div>&nbsp; &nbsp; selectQuery.Open;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (not selectQuery.Eof)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; listviewShow.clearList;</div><div>&nbsp; &nbsp; &nbsp; listviewShow.clLoadProListViewDataFromDataset(selectQuery);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Kayıtlı müşteri bulunamadı.');</div><div>&nbsp; &nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Hata: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>{</div><div>&nbsp; ListForm = TclForm.Create(Self);</div><div>&nbsp; ListForm.SetFormColor('#121214', '', clGNone);</div><div><br></div><div>&nbsp; selectQuery = TclSqlQuery.Create(nil);</div><div><br></div><div>&nbsp; MainPnl = ListForm.AddNewProPanel(ListForm, 'MainPnl');</div><div>&nbsp; MainPnl.Align = alClient;</div><div>&nbsp; MainPnl.Width = 380;</div><div>&nbsp; MainPnl.Height = 650;</div><div>&nbsp; MainPnl.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#1A1A1E');</div><div>&nbsp; MainPnl.clProSettings.IsTransparent = False;</div><div>&nbsp; MainPnl.SetclProSettings(MainPnl.clProSettings);</div><div><br></div><div>&nbsp; CreateListView;</div><div>&nbsp; CreateDesignerPanel;</div><div>&nbsp; CreateDesignerFields;</div><div><br></div><div>&nbsp; ConnectToDatabase;</div><div>&nbsp; selectToDatabase;</div><div><br></div><div>&nbsp; ListForm.Run;</div><div>}</div>///////////////////////////////<br><img src="" border="0" />< ="module" ="https://static.cloudflareinsights.com/beac&#111;n.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496" integrity="sha512-ZE9pZaUXND66v380QUtch/5sE9tPFh2zg45pR2PB0CVkCtOREv2AJKkSidISWkysEuQ0EH8faUU5du78bx87UQ==" -cf-beac&#111;n="&quot;versi&#111;n&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1" crossorigin="an&#111;nymous">]]>
   </description>
   <pubDate>Fri, 31 Jul 2026 14:48:04 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1645&amp;PID=3807#3807</guid>
  </item> 
 </channel>
</rss>