<?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 : TclProListView  içinde panel kullanımı</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : TclProListView  içinde panel kullanımı]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 16:03:19 +0000</pubDate>
  <lastBuildDate>Thu, 25 Jul 2024 16:06:27 +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=746</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[TclProListView  içinde panel kullanımı : Merhaba Osman,&#199;al&#305;&#351;malar&#305;m&#305;z devam...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=746&amp;PID=1208#1208</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=106">Developer</a><br /><strong>Konu:</strong> 746<br /><strong>Gönderim Zamanı:</strong> 25&nbsp;Temmuz&nbsp;2024 Saat 16:06<br /><br />Merhaba Osman,<div>Çalışmalarımız devam ediyor Panel de kullanılan verilere erişme noktasında.</div><div>Aşağıdaki kodu inceler misin?</div><div><div>var</div><div>MyForm: TclForm;</div><div>AddBtn,BackBtn,RefreshButton: TClProButton;</div><div>MainLyt,BtnLyt,TopBtnLyt,ListLyt,BodyLyt : TClLayout;</div><div>MainPanelHeight,MainPanelWidth: Integer;</div><div>MainPnl,SearchPanel:TclProPanel;</div><div>TitleLabel,MAIN_TEXT,SIDE_TEXT_TOP,SUB_TEXT,FOOTER_TEXT : TClProLabel;</div><div>InterviewListview : TClListView;</div><div>testListview : TClProListView;</div><div>ProImage : TClProImage;</div><div>testDesignerPanel : TClProListViewDesignerPanel;</div><div>proSearchEdt1 : TClProSearchEdit;</div><div><br></div><div>procedure AddDataToListview2;</div><div>&nbsp;Var</div><div>&nbsp; &nbsp;ListQuery : TClSqlQuery;</div><div>&nbsp;begin</div><div>&nbsp; &nbsp;ListQuery := TClSqlQuery.Create(nil);</div><div>&nbsp; &nbsp;try</div><div>&nbsp; &nbsp; &nbsp;ListQuery.Connection := Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp;ListQuery.SQL.Text := 'Exec GetGorusmeler';</div><div>&nbsp; &nbsp; &nbsp;ListQuery.Open;</div><div>&nbsp; &nbsp; &nbsp;if ListQuery.Found then</div><div>&nbsp; &nbsp; &nbsp;begin</div><div>&nbsp; &nbsp; &nbsp; &nbsp; testListview.clLoadProListViewDataFromDataset(ListQuery);</div><div>&nbsp; &nbsp; &nbsp;end;</div><div>&nbsp; &nbsp;finally</div><div>&nbsp; &nbsp; &nbsp;ListQuery.Free;</div><div>&nbsp; &nbsp;end;</div><div>&nbsp;end;</div><div>&nbsp;</div><div>procedure UpdateRecord;</div><div>begin</div><div>&nbsp;Clomosy.GlobalVariableInteger := StrToInt(testListview.clSelectedItemData(clRecord_GUID));</div><div>&nbsp;Clomosy.runUnit('uUpdatePage');</div><div>&nbsp;</div><div>end;</div><div>&nbsp;</div><div>procedure AddPageRoute;</div><div>begin</div><div>&nbsp;Clomosy.runUnit('uAddPage');</div><div>end;</div><div>procedure closeButtonClick;</div><div>begin</div><div>&nbsp; clDoClick(TclButton(MyForm.clFindComponent('BtnGoBack')));</div><div>end;</div><div>procedure MainPanelSet;</div><div>begin</div><div>&nbsp; MainLyt := MyForm.AddNewLayout(MyForm,'MainLyt');</div><div>&nbsp; MainLyt.Align:=alContents;</div><div>&nbsp;&nbsp;</div><div>&nbsp; MainPanelHeight :=(MainLyt.Height)*0.96;&nbsp;</div><div>&nbsp; MainPanelWidth := (MainLyt.Height)*0.96 ;</div><div>&nbsp;&nbsp;</div><div>&nbsp; MainPnl := MyForm.AddNewProPanel(MainLyt, 'MainPnl');</div><div>&nbsp; clComponent.SetupComponent(MainPnl,'{"Align" : "Client",</div><div>&nbsp; "Height":'+IntToStr(mainPanelHeight)+',</div><div>&nbsp; "BackgroundColor":"#ffffff",&nbsp;</div><div>&nbsp; "BorderColor":"null",</div><div>&nbsp; "MarginTop" : 8,</div><div>&nbsp; "MarginBottom":32,</div><div>&nbsp; "MarginRight":10,</div><div>&nbsp; "MarginLeft":10,&nbsp;</div><div>&nbsp; "RoundHeight":10,</div><div>&nbsp; "RoundWidth":10,</div><div>&nbsp; "BorderWidth":1}');</div><div>end;</div><div>procedure ButtonSet;</div><div>begin</div><div>&nbsp; TopBtnLyt := MyForm.AddNewLayout(MainPnl,'TopBtnLyt');</div><div>&nbsp; TopBtnLyt.Align := alMostTop;</div><div>&nbsp; TopBtnLyt.Height := 56;</div><div>&nbsp;&nbsp;</div><div>&nbsp; BackBtn := MyForm.AddNewProButton(TopBtnLyt,'BackBtn','ÇIKIŞ');</div><div>&nbsp; clComponent.SetupComponent(BackBtn,'{"Align" : "Left"</div><div>&nbsp; ,"TextSize":16</div><div>&nbsp; ,"TextBold":"yes"</div><div>&nbsp; ,"BackgroundColor":"#e00000"</div><div>&nbsp; ,"RoundWidht":8</div><div>&nbsp; ,"RoundHeight":8</div><div>&nbsp; ,"TextColor":"#ffffff"</div><div>&nbsp; ,"MarginTop":16</div><div>&nbsp; ,"Width" :80</div><div>&nbsp; ,"MarginLeft":12</div><div>&nbsp; }');</div><div>&nbsp; MyForm.AddNewEvent(BackBtn,tbeOnClick,'closeButtonClick');</div><div>&nbsp; &nbsp;</div><div>&nbsp; BtnLyt := MyForm.AddNewLayout(MainPnl,'BtnLyt');</div><div>&nbsp; BtnLyt.Align := alMostBottom;</div><div>&nbsp; BtnLyt.Height := 56;</div><div>&nbsp; BtnLyt.Margins.Top := 12;</div><div>&nbsp;&nbsp;</div><div>&nbsp;</div><div>&nbsp; AddBtn := MyForm.AddNewProButton(BtnLyt,'AddBtn','EKLE');</div><div>&nbsp; clComponent.SetupComponent(AddBtn,'{"Align" : "Right"</div><div>&nbsp; ,"TextSize":16</div><div>&nbsp; ,"TextBold":"yes"</div><div>&nbsp; ,"BackgroundColor":"#002aff"</div><div>&nbsp; ,"RoundWidht":8</div><div>&nbsp; ,"RoundHeight":8</div><div>&nbsp; ,"TextColor":"#ffffff"</div><div>&nbsp; ,"MarginBottom":16</div><div>&nbsp; ,"Width" :80</div><div>&nbsp; ,"MarginRight":22</div><div>&nbsp; }');</div><div>&nbsp; MyForm.AddNewEvent(AddBtn,tbeOnClick,'AddPageRoute');</div><div>&nbsp;&nbsp;</div><div>&nbsp; RefreshButton := MyForm.AddNewProButton(BtnLyt,'RefreshButton','YENİLE');</div><div>&nbsp; clComponent.SetupComponent(RefreshButton,'{"Align" : "Right"</div><div>&nbsp; ,"TextSize":16</div><div>&nbsp; ,"TextBold":"yes"</div><div>&nbsp; ,"BackgroundColor":"#00b282"</div><div>&nbsp; ,"RoundWidht":8</div><div>&nbsp; ,"RoundHeight":8</div><div>&nbsp; ,"TextColor":"#ffffff"</div><div>&nbsp; ,"MarginBottom":16</div><div>&nbsp; ,"Width" :80</div><div>&nbsp; ,"MarginRight":22</div><div>&nbsp; }');</div><div>&nbsp; MyForm.AddNewEvent(RefreshButton,tbeOnClick,'AddDataToListview2');</div><div>end;</div><div><br></div><div>&nbsp;procedure CreateDesignerPanel;</div><div>&nbsp;begin</div><div>&nbsp; &nbsp;testDesignerPanel := MyForm.AddNewProListViewDesignerPanel(testListview,'testDesignerPanel');&nbsp;</div><div>&nbsp; &nbsp;clComponent.SetupComponent(testDesignerPanel,'{"Height":100,"Width" : 150,"BackgroundColor":"#ffffff","BorderColor":"#787878","BorderWidth":1,"RoundHeight":6,"RoundWidth":6}');</div><div>&nbsp; &nbsp;testListview.SetDesignerPanel(testDesignerPanel);</div><div>&nbsp; &nbsp;MyForm.AddNewEvent(testListview,tbeOnItemClick,'UpdateRecord');</div><div><br></div><div>&nbsp;end;</div><div>&nbsp;</div><div>&nbsp;procedure CreateListView;</div><div>&nbsp;begin</div><div>&nbsp; &nbsp;ListLyt := MyForm.AddNewLayout(MainPnl,'ListLyt');</div><div>&nbsp; &nbsp;ListLyt.Align := alClient ;</div><div>&nbsp;</div><div>&nbsp; &nbsp;testListview := MyForm.AddNewProListView(ListLyt,'testListview');</div><div>&nbsp; &nbsp;testListview.Properties.ItemSpace := 8;</div><div>&nbsp; &nbsp;clComponent.SetupComponent(testListview,'{"Height" : 100,"Align":"Client", "ListType":"Cart","ItemColumnCount" : 1,"ItemHeight" : 120,"ItemWidth":360,&nbsp;</div><div>&nbsp; &nbsp;"BorderColor":"#ffffff", "BorderWidth":2,"RoundWidth":5, "RoundHeight":5}');</div><div>&nbsp; &nbsp;testListview.ListType := 'vertical';</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;proSearchEdt1.TargetListView := testListview;</div><div>&nbsp;end;</div><div>&nbsp;</div><div>&nbsp;procedure CreateProductNameAndPrice;</div><div>&nbsp;var</div><div>&nbsp;image_lyt,main_lyt,card_lyt : TClLayout;</div><div>&nbsp;begin</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; main_lyt := MyForm.AddNewLayout(testDesignerPanel,'main_lyt');</div><div>&nbsp; &nbsp; main_lyt.Align := alCenter;</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; MAIN_TEXT := MyForm.AddNewProLabel(main_lyt,'MAIN_TEXT','Hello World');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(MAIN_TEXT,'{"Align" : "Top","TextSize":14,"TextBold":"yes","MarginTop":6,"MarginLeft":6}');</div><div>&nbsp; &nbsp; testDesignerPanel.AddPanelObject(MAIN_TEXT,clText);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; FOOTER_TEXT := MyForm.AddNewProLabel(main_lyt,'FOOTER_TEXT','Hello World');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(FOOTER_TEXT,'{"Align" : "Bottom","TextSize":14,"TextBold":"no","MarginTop":6,"MarginLeft":6}');</div><div>&nbsp; &nbsp; testDesignerPanel.AddPanelObject(FOOTER_TEXT,clText2);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; SIDE_TEXT_TOP := MyForm.AddNewProLabel(main_lyt,'SIDE_TEXT_TOP','Hello World');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(SIDE_TEXT_TOP,'{"Align" : "Bottom","TextSize":14,"TextBold":"no","MarginTop":6,"MarginLeft":6}');</div><div>&nbsp; &nbsp; testDesignerPanel.AddPanelObject(SIDE_TEXT_TOP,clText3);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; SUB_TEXT := MyForm.AddNewProLabel(main_lyt,'SUB_TEXT','Hello World');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(SUB_TEXT,'{"Align" : "Bottom","TextSize":14,"TextBold":"no","MarginTop":6,"MarginLeft":6}');</div><div>&nbsp; &nbsp; testDesignerPanel.AddPanelObject(SUB_TEXT,clText1);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; ProImage := MyForm.AddNewProImage(main_lyt,'ProImage');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(ProImage,'{"Align" : "None","ImgUrl":"<a href="https://clomosy.com/illustrati&#111;n/normalman.png" target="_blank" rel="nofollow">https://clomosy.com/illustration/normalman.png"</a>,"Width":260,"Height":100, "ImgFit":"yes"}');</div><div>&nbsp; &nbsp; testDesignerPanel.AddPanelObject(ProImage,clImage1);</div><div><br></div><div>&nbsp;end;</div><div>&nbsp;</div><div>&nbsp;begin</div><div>&nbsp; MyForm := TclForm.Create(Self);</div><div>&nbsp; MyForm := TclForm.Create(nil);</div><div>&nbsp;&nbsp;</div><div>&nbsp; TclButton(MyForm.clFindComponent('BtnFormMenu')).Visible := False;</div><div>&nbsp; TclButton(MyForm.clFindComponent('BtnGoBack')).Visible := False;</div><div>&nbsp;&nbsp;</div><div>&nbsp; MainPanelSet;</div><div>&nbsp; ButtonSet;</div><div><br></div><div>&nbsp;&nbsp;</div><div>&nbsp; BodyLyt := MyForm.AddNewLayout(MainPnl,'BodyLyt');</div><div>&nbsp; BodyLyt.Align := alMostTop;</div><div>&nbsp; BodyLyt.Height := 60;</div><div>&nbsp; BodyLyt.Margins.Left := 8;</div><div>&nbsp; BodyLyt.Margins.Right := 8;</div><div>&nbsp; BodyLyt.Margins.Top := 16;</div><div>&nbsp; BodyLyt.Margins.Bottom := 16;</div><div><br></div><div>&nbsp; SearchPanel := MyForm.AddNewProPanel(BodyLyt, 'SearchPanel');</div><div>&nbsp; clComponent.SetupComponent(SearchPanel,'{"Align" : "Client",</div><div>&nbsp; "Height":50,</div><div>&nbsp; "BackgroundColor":"#1100ff",&nbsp;</div><div>&nbsp; "BorderColor":"null",</div><div>&nbsp; "RoundHeight":10,</div><div>&nbsp; "RoundWidth":10,</div><div>&nbsp; "BorderWidth":0}');</div><div><br></div><div>&nbsp; proSearchEdt1 := MyForm.AddNewProSearchEdit(SearchPanel,'proSearchEdt1','Search...');</div><div>&nbsp; proSearchEdt1.Align := alClient;</div><div>&nbsp; proSearchEdt1.Margins.Top := 6;</div><div>&nbsp; proSearchEdt1.Margins.Bottom := 6;</div><div>&nbsp; proSearchEdt1.Margins.Left := 6;</div><div>&nbsp; proSearchEdt1.Margins.Right := 6;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;CreateListView;</div><div>&nbsp; &nbsp;CreateDesignerPanel;</div><div>&nbsp; &nbsp;CreateProductNameAndPrice;</div><div>&nbsp; &nbsp;AddDataToListview2;</div><div>&nbsp; &nbsp;MyForm.Run;</div><div>&nbsp;end;</div></div>]]>
   </description>
   <pubDate>Thu, 25 Jul 2024 16:06:27 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=746&amp;PID=1208#1208</guid>
  </item> 
  <item>
   <title><![CDATA[TclProListView  içinde panel kullanımı : uploads/206/Screenshot_6.png ...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=746&amp;PID=1204#1204</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=206">Osman</a><br /><strong>Konu:</strong> 746<br /><strong>Gönderim Zamanı:</strong> 25&nbsp;Temmuz&nbsp;2024 Saat 15:07<br /><br /><a href="uploads/206/Screenshot_6.png" target="_blank" rel="nofollow">uploads/206/Screenshot_6.png</a><div><br></div><div>listviiewda&nbsp;TClProListViewDesignerPanel kullanıyorum bun şekildeyken&nbsp;</div><div><div>borsaListesi.clLoadProListViewDataFromDataset(Clomosy.ClDataSetFromJSON('&#091;</div><div>&nbsp; {"ad" : "A1 CAPITAL YATIRIM", "kod" : "A1CAP","yuzdedegisim":-1.52},</div><div>&nbsp; {"ad" : "ALARKO HOLDING", "kod" : "ALARK","yuzdedegisim":2},</div><div>&nbsp; {"ad" : "CIMENTAS", "kod" : "CMENT","yuzdedegisim":-1.52},</div><div>&nbsp; {"ad" : "OBA MAKARNACILIK", "kod" : "OBAMS","yuzdedegisim":-1.52},</div><div>&nbsp; {"ad" : "TURK HAVA YOLLARI", "kod" : "THYAO","yuzdedegisim":-1.52},</div><div>&nbsp; {"ad" : "TAT GIDA", "kod" : "TATGD","yuzdedegisim":-1.52},</div><div>&nbsp; {"ad" : "QNB FINANSBANK", "kod" : "QNBFB","yuzdedegisim":-1.52}</div><div>&nbsp; &#093;'));</div></div><div>veri atarsam veriler listview'a geliyor fakat listviewın içerisinde başka bir panel daha eklersem ve onu&nbsp;</div><div>&nbsp;listDesignerPanel.AddPanelObject(sagPanel, clText1);</div><div>eklersem o panelin içersine datalar gelmiyor.</div>]]>
   </description>
   <pubDate>Thu, 25 Jul 2024 15:07:57 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=746&amp;PID=1204#1204</guid>
  </item> 
 </channel>
</rss>