<?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 : ProGrid</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : ProGrid]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 19:50:46 +0000</pubDate>
  <lastBuildDate>Fri, 25 Apr 2025 17:10:46 +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=997</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[ProGrid : MerhabarxSfdSELECTName, Frequency,...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=997&amp;PID=1991#1991</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=106">Developer</a><br /><strong>Konu:</strong> 997<br /><strong>Gönderim Zamanı:</strong> 25&nbsp;Nisan&nbsp;2025 Saat 17:10<br /><br />Merhaba&nbsp;<span style="font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: 700; : rgb251, 251, 253;">rxSfd</span><div><span style=": rgb251, 251, 253;">SELECT&nbsp;</span><span style=": rgb251, 251, 253;">Name, Frequency, CreatedDate, IsActive</span><span style=": rgb251, 251, 253;">&nbsp;FROM Endpoints WHERE UserID = '+ QuotedStr(k) burada veri çekerken istediğini yapabilirsin. Bu şekilde grid gereksiz alanlar olmamış olur.</span></div>]]>
   </description>
   <pubDate>Fri, 25 Apr 2025 17:10:46 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=997&amp;PID=1991#1991</guid>
  </item> 
  <item>
   <title><![CDATA[ProGrid : USES UGirisEkrani;var Form1: TCLForm;...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=997&amp;PID=1987#1987</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=255">rxSfd</a><br /><strong>Konu:</strong> 997<br /><strong>Gönderim Zamanı:</strong> 24&nbsp;Nisan&nbsp;2025 Saat 09:37<br /><br /><div>USES UGirisEkrani;</div><div><br></div><div>var</div><div>&nbsp; Form1: TCLForm;</div><div>&nbsp; ProGrid1: TCLProGrid;</div><div>&nbsp; mainVertSB: TCLVertScrollBox;</div><div>&nbsp; Label1,urlLbl,urlAciklama,frekans,delLabel: TCLLabel;</div><div>&nbsp; urlEdit, aciklamaEdit, frekansEdit,delEdit: TclProEdit;</div><div>&nbsp; ekleBtn,delBtn: TClProButton;</div><div>&nbsp; endpointCombo: TClComboBox;</div><div>&nbsp; I,J,K,y, secilenEndpointId: Integer;</div><div>&nbsp; Unit5: TCLUnit;</div><div>&nbsp; delQuery: TclSQLQuery;</div><div>&nbsp; query: TclSQLQuery;</div><div>&nbsp; FRow,FRow2: integer;</div><div>&nbsp; FSender,FSender2: TCLProGrid;</div><div>&nbsp; clickedUrl,clickedUrl2,selectime: String;</div><div><br></div><div>void goToDurumUnit;</div><div>{</div><div>&nbsp; Unit5.UnitName = 'UEndpointDurum';</div><div>&nbsp; Unit5.CallerForm = Form1;</div><div>&nbsp; Unit5.Run;</div><div>}</div><div>void ProGridCellDblClick;</div><div>{</div><div>&nbsp; FSender = TCLProGrid(Form1.ClSender);</div><div>&nbsp; FRow = Form1.ClSenderRow;</div><div>&nbsp; clickedUrl=FSender.Cells&#091;3,FRow&#093;;</div><div>&nbsp; J = FSender.Cells&#091;0,Frow&#093;;</div><div>&nbsp; secilenEndpointId=FSender.Cells&#091;1,FRow&#093;;</div><div>&nbsp; selectime=FSender.Cells&#091;6,FRow&#093;;</div><div>&nbsp; ShowMessage(clickedUrl);</div><div>&nbsp; goToDurumUnit;</div><div>}</div><div><br></div><div>void ProGridCellClick;</div><div>{</div><div>&nbsp; FSender = TCLProGrid(Form1.ClSender);</div><div>&nbsp; FRow = Form1.ClSenderRow;</div><div>&nbsp; clickedUrl=FSender.Cells&#091;3,FRow&#093;;</div><div>}</div><div>void ekran;</div><div>{</div><div>&nbsp; urlLbl = Form1.AddNewProLabel(Form1, 'urlLbl', 'Endpoint:');</div><div>&nbsp; clComponent.SetupComponent(urlLbl, '{</div><div>&nbsp; &nbsp; "Align" : "Center",</div><div>&nbsp; &nbsp; "Width":160,</div><div>&nbsp; &nbsp; "Height":45,</div><div>&nbsp; &nbsp; "TextColor":"#8c8377",</div><div>&nbsp; &nbsp; "TextSize":25,&nbsp;</div><div>&nbsp; &nbsp; "TextBold":"yes",</div><div>&nbsp; &nbsp; "MarginBottom":500,</div><div>&nbsp; &nbsp; "MarginRight":300,</div><div>&nbsp; &nbsp; "BackgroundColor":"#fffaf2"</div><div>&nbsp; }');</div><div><br></div><div>&nbsp; urlEdit = Form1.AddNewProEdit(Form1, 'urlEdit', 'ENDPOINT');</div><div>&nbsp; clComponent.SetupComponent(urlEdit, '{</div><div>&nbsp; &nbsp; "Align" : "Center",</div><div>&nbsp; &nbsp; "Width":250,</div><div>&nbsp; &nbsp; "Height":45,</div><div>&nbsp; &nbsp; "BorderColor":"#fffaf2",</div><div>&nbsp; &nbsp; "MarginBottom":500,</div><div>&nbsp; &nbsp; "MarginLeft":200,</div><div>&nbsp; &nbsp; "TextColor":"#162207",</div><div>&nbsp; &nbsp; "TextSize":30,</div><div>&nbsp; &nbsp; "TextVerticalAlign":"center",</div><div>&nbsp; &nbsp; "TextHorizontalAlign":"center",&nbsp;</div><div>&nbsp; &nbsp; "TextBold":"yes"</div><div>&nbsp; }');</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp;urlAciklama = Form1.AddNewProLabel(Form1, 'urlAciklama', 'Not:');</div><div>&nbsp; clComponent.SetupComponent(urlAciklama, '{</div><div>&nbsp; &nbsp; "Align" : "Center",</div><div>&nbsp; &nbsp; "Width":160,</div><div>&nbsp; &nbsp; "Height":45,</div><div>&nbsp; &nbsp; "TextColor":"#8c8377",</div><div>&nbsp; &nbsp; "TextSize":25,&nbsp;</div><div>&nbsp; &nbsp; "TextBold":"yes",</div><div>&nbsp; &nbsp; "MarginBottom":400,</div><div>&nbsp; &nbsp; "MarginRight":300,</div><div>&nbsp; &nbsp; "BackgroundColor":"#fffaf2"</div><div>&nbsp; }');</div><div>&nbsp;&nbsp;</div><div>&nbsp; aciklamaEdit = Form1.AddNewProEdit(Form1, 'aciklamaEdit', 'NOT');</div><div>&nbsp; clComponent.SetupComponent(aciklamaEdit, '{</div><div>&nbsp; &nbsp; "Align" : "Center",</div><div>&nbsp; &nbsp; "Width":250,</div><div>&nbsp; &nbsp; "Height":45,</div><div>&nbsp; &nbsp; "BorderColor":"#fffaf2",</div><div>&nbsp; &nbsp; "MarginBottom":400,</div><div>&nbsp; &nbsp; "MarginLeft":200,</div><div>&nbsp; &nbsp; "TextColor":"#162207",</div><div>&nbsp; &nbsp; "TextSize":30,</div><div>&nbsp; &nbsp; "TextVerticalAlign":"center",</div><div>&nbsp; &nbsp; "TextHorizontalAlign":"center",&nbsp;</div><div>&nbsp; &nbsp; "TextBold":"yes"</div><div>&nbsp; }');</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp;frekans = Form1.AddNewProLabel(Form1, 'frekans', 'Frekans(Dk):');</div><div>&nbsp; clComponent.SetupComponent(frekans, '{</div><div>&nbsp; &nbsp; "Align" : "Center",</div><div>&nbsp; &nbsp; "Width":160,</div><div>&nbsp; &nbsp; "Height":45,</div><div>&nbsp; &nbsp; "TextColor":"#8c8377",</div><div>&nbsp; &nbsp; "TextSize":25,&nbsp;</div><div>&nbsp; &nbsp; "TextBold":"yes",</div><div>&nbsp; &nbsp; "MarginBottom":300,</div><div>&nbsp; &nbsp; "MarginRight":300,</div><div>&nbsp; &nbsp; "BackgroundColor":"#fffaf2"</div><div>&nbsp; }');</div><div>&nbsp; /*</div><div>&nbsp; delEdit = Form1.AddNewProEdit(Form1, 'delEdit', 'URL WILL DELETE');</div><div>&nbsp; clComponent.SetupComponent(delEdit, '{</div><div>&nbsp; &nbsp; "Align" : "Center",</div><div>&nbsp; &nbsp; "Width":250,</div><div>&nbsp; &nbsp; "Height":45,</div><div>&nbsp; &nbsp; "BorderColor":"#fffaf2",</div><div>&nbsp; &nbsp; "MarginBottom":300,</div><div>&nbsp; &nbsp; "MarginLeft":200,</div><div>&nbsp; &nbsp; "TextColor":"#162207",</div><div>&nbsp; &nbsp; "TextSize":30,</div><div>&nbsp; &nbsp; "TextVerticalAlign":"center",</div><div>&nbsp; &nbsp; "TextHorizontalAlign":"center",&nbsp;</div><div>&nbsp; &nbsp; "TextBold":"yes"</div><div>&nbsp; }');</div><div>&nbsp; */</div><div>&nbsp; /*endpointCombo = Form1.AddNewComboBox(Form1, 'endpointCombo');</div><div>&nbsp; endpointCombo.Align = alTop;</div><div>&nbsp; endpointCombo.Width = 100;</div><div>&nbsp; endpointCombo.Height = 50;</div><div>&nbsp; endpointCombo.Margins.Top = 500;</div><div>&nbsp; endpointCombo.Margins.Left = 400;</div><div>&nbsp; endpointCombo.Margins.Right = 200;</div><div>&nbsp; */</div><div>&nbsp;&nbsp;</div><div>&nbsp; delLabel = Form1.AddNewProLabel(Form1, 'delLabel', 'Delete URL:');</div><div>&nbsp; clComponent.SetupComponent(delLabel, '{</div><div>&nbsp; &nbsp; "Align" : "Center",</div><div>&nbsp; &nbsp; "Width":160,</div><div>&nbsp; &nbsp; "Height":45,</div><div>&nbsp; &nbsp; "TextColor":"#8c8377",</div><div>&nbsp; &nbsp; "TextSize":25,&nbsp;</div><div>&nbsp; &nbsp; "TextBold":"yes",</div><div>&nbsp; &nbsp; "MarginBottom":0,</div><div>&nbsp; &nbsp; "MarginRight":300,</div><div>&nbsp; &nbsp; "BackgroundColor":"#fffaf2"</div><div>&nbsp; }');</div><div>&nbsp;&nbsp;</div><div>&nbsp; frekansEdit = Form1.AddNewProEdit(Form1, 'frekansEdit', 'Check Frekans');</div><div>&nbsp; clComponent.SetupComponent(frekansEdit, '{</div><div>&nbsp; &nbsp; "Align" : "Center",</div><div>&nbsp; &nbsp; "Width":250,</div><div>&nbsp; &nbsp; "Height":45,</div><div>&nbsp; &nbsp; "BorderColor":"#fffaf2",</div><div>&nbsp; &nbsp; "MarginBottom":300,</div><div>&nbsp; &nbsp; "MarginLeft":200,</div><div>&nbsp; &nbsp; "TextColor":"#162207",</div><div>&nbsp; &nbsp; "TextSize":30,</div><div>&nbsp; &nbsp; "TextVerticalAlign":"center",</div><div>&nbsp; &nbsp; "TextHorizontalAlign":"center",&nbsp;</div><div>&nbsp; &nbsp; "TextBold":"yes"</div><div>&nbsp; }');</div><div>}</div><div>void dbtoUrl;</div><div>{</div><div>&nbsp; query.Sql.Text = 'SELECT * FROM Endpoints WHERE UserID = '+ QuotedStr(k);</div><div>&nbsp; query.ExecSQL;</div><div>&nbsp; ProGrid1.ConnectDataSet(query);</div><div>&nbsp; Form1.AddNewEvent(ProGrid1,tbeOnProGridCellDblClick,'ProGridCellDblClick');</div><div>}</div><div>void chooseRowDelete;</div><div>{</div><div>&nbsp; &nbsp;query.Sql.Text = 'Delete from Endpoints Where URL = ' + QuotedStr(clickedUrl);</div><div>&nbsp; &nbsp;query.ExecSQL;</div><div>}</div><div>void Buttons;</div><div>{</div><div>&nbsp; ekleBtn = Form1.AddNewProButton(Form1, 'ekleBtn', '');</div><div>&nbsp; ekleBtn.Align = alCenter;</div><div>&nbsp; ekleBtn.Width = 120;</div><div>&nbsp; ekleBtn.Height = 65;</div><div>&nbsp; ekleBtn.Margins.Bottom = 400;</div><div>&nbsp; ekleBtn.Margins.Left = 470;</div><div>&nbsp; ekleBtn.clProSettings.FontColor = clAlphaColor.clDarkorchid;</div><div>&nbsp; ekleBtn.clProSettings.FontVertAlign = palcenter;</div><div>&nbsp; ekleBtn.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; ekleBtn.clProSettings.TextSettings.Font.Style = &#091;fsBold, fsItalic&#093;;</div><div>&nbsp; ekleBtn.clProSettings.IsFill = True;</div><div>&nbsp; ekleBtn.clProSettings.PictureSource = 'https://r.resimlink.com/miLGyHAJ9.png';</div><div>&nbsp; ekleBtn.SetclProSettings(ekleBtn.clProSettings);</div><div>&nbsp; Form1.AddNewEvent(ekleBtn, tbeOnClick, 'saveMethod');</div><div>&nbsp;&nbsp;</div><div>&nbsp; delBtn = Form1.AddNewProButton(Form1, 'delBtn', '');</div><div>&nbsp; delBtn.Align = alCenter;</div><div>&nbsp; delBtn.Width = 120;</div><div>&nbsp; delBtn.Height = 65;</div><div>&nbsp; //delBtn.Margins.Bottom = 100;</div><div>&nbsp; delBtn.Margins.Left = 470;</div><div>&nbsp; delBtn.clProSettings.FontColor = clAlphaColor.clDarkorchid;</div><div>&nbsp; delBtn.clProSettings.FontVertAlign = palcenter;</div><div>&nbsp; delBtn.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; delBtn.clProSettings.TextSettings.Font.Style = &#091;fsBold, fsItalic&#093;;</div><div>&nbsp; delBtn.clProSettings.IsFill = True;</div><div>&nbsp; delBtn.clProSettings.PictureSource = 'https://r.resimlink.com/tkiJ-c72X4b.png';</div><div>&nbsp; delBtn.SetclProSettings(delBtn.clProSettings);</div><div>&nbsp; Form1.AddNewEvent(delBtn, tbeOnClick, 'chooseRowDelete');</div><div>}</div><div>void saveMethod;</div><div>var</div><div>&nbsp; todayDate: TclDateTime;</div><div>{</div><div>&nbsp; todayDate = Date;</div><div>&nbsp; query.SQL.Text = 'INSERT INTO Endpoints (UserId, Url, Name, Frequency, CreatedDate, IsActive) ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'VALUES (' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IntToStr(K) + ', ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'''' + urlEdit.Text + ''', ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'''' + aciklamaEdit.Text + ''', ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IntToStr(StrToInt(frekansEdit.Text)) + ', ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'''' + FormatDateTime('yyyy-MM-dd HH:nn:ss', todayDate) + ''', 1)';</div><div><br></div><div>&nbsp; query.ExecSQL;</div><div><br></div><div>&nbsp; ShowMessage('Endpoint başarıyla eklendi.');</div><div>&nbsp; dbtoUrl;</div><div>}</div><div><br></div><div>{</div><div>&nbsp; Form1 = TCLForm.Create(Self);</div><div>&nbsp; Unit5 = TclUnit.Create;</div><div>&nbsp;&nbsp;</div><div>&nbsp; ekran();</div><div>&nbsp;&nbsp;</div><div>&nbsp; ProGrid1 = Form1.AddNewProGrid(Form1, 'ProGrid1');</div><div>&nbsp; ProGrid1.AutoSizeColumns(False,200);</div><div>&nbsp; ProGrid1.ColumnWidths&#091;1&#093; = 0;</div><div>&nbsp; ProGrid1.ColumnWidths&#091;2&#093; = 120;</div><div>&nbsp; ProGrid1.ColumnWidths&#091;3&#093; = 120;</div><div>&nbsp; ProGrid1.ColumnWidths&#091;4&#093; = 130;</div><div>&nbsp; ProGrid1.ColumnWidths&#091;5&#093; = 130;</div><div>&nbsp; ProGrid1.ColumnWidths&#091;6&#093; = 130;</div><div>&nbsp; ProGrid1.ColumnWidths&#091;7&#093; = 130;</div><div>&nbsp; ProGrid1.BeginUpdate;</div><div>&nbsp;&nbsp;</div><div>&nbsp; with ProGrid1 do</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Align = alTop;</div><div>&nbsp; &nbsp; Margins.Right=10;</div><div>&nbsp; &nbsp; Margins.LEFT=10;</div><div>&nbsp; &nbsp; Margins.Bottom=10;</div><div>&nbsp; &nbsp; Width=(Form1.clWidth*70)/100;</div><div>&nbsp; &nbsp; Height=(Form1.clHeight*50)/100;</div><div>&nbsp; &nbsp; NormalLayoutFillColor = clAlphaColor.clhextocolor('#fffb40');</div><div>&nbsp; &nbsp; BandLayoutFillColor&nbsp; = clAlphaColor.clhextocolor('#fffb40');&nbsp;</div><div>&nbsp; &nbsp; SelectedLayoutFontColor = clAlphaColor.clHexToColor('#0555e4');&nbsp;</div><div>&nbsp; &nbsp; SelectedLayoutFillColor = clAlphaColor.clHexToColor('#fffb40');&nbsp;</div><div>&nbsp; &nbsp; FocusedLayoutFontColor = clAlphaColor.clHexToColor('#808080');&nbsp; &nbsp;</div><div>&nbsp; &nbsp; FocusedLayoutFillColor = clAlphaColor.clHexToColor('#808080');&nbsp;</div><div>&nbsp; &nbsp; FixedLayoutFillColor = clAlphaColor.clHexToColor('#c0c0c0');&nbsp;</div><div>&nbsp; &nbsp; FixedLayoutFontColor = clAlphaColor.clHexToColor('#0555e4');&nbsp;</div><div>&nbsp; &nbsp;}</div><div>&nbsp; &nbsp;</div><div>&nbsp; ProGrid1.Options.Selection.Mode = smSingleRow;</div><div>&nbsp; Form1.AddNewEvent(ProGrid1,tbeOnProGridCellClick,'ProGridCellClick');</div><div>&nbsp;&nbsp;</div><div>/*</div><div>&nbsp; ProGrid1.Cells&#091;0, 0&#093; = 'No';</div><div>&nbsp; ProGrid1.Cells&#091;1, 0&#093; = 'URL';</div><div>&nbsp; ProGrid1.Cells&#091;2, 0&#093; = 'İZLEME ARALIĞI';</div><div>&nbsp; ProGrid1.Cells&#091;3, 0&#093; = 'AKTİF';</div><div>&nbsp; ProGrid1.Cells&#091;4, 0&#093; = 'ACİKLAMA';</div><div><div>&nbsp; ProGrid1.Cells&#091;5, 0&#093; = '****';</div><div>&nbsp; ProGrid1.Cells&#091;6, 0&#093; = '****';</div></div><div><div>&nbsp; ProGrid1.Cells&#091;7, 0&#093; = '****';</div><div>*/</div></div><div>&nbsp; ProGrid1.EndUpdate;</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp;</div><div>&nbsp; K = GirisId;</div><div><br></div><div>&nbsp; ShowMessage(K);</div><div><br></div><div>&nbsp; Buttons;</div><div>&nbsp;&nbsp;</div><div>&nbsp; ClRTSetProperty(Form1,'ClientWidth',660);</div><div>&nbsp; ClRTSetProperty(Form1,'ClientHeight',990);</div><div>&nbsp; Form1.Run;</div><div><br></div><div>&nbsp; query = TclSQLQuery.Create(nil);</div><div>&nbsp; Clomosy.DBSQLServerConnect('SQL Server', 'DESKTOP-2GVDU8F\FURKAN', 'sa', '******', 'fApp', 1433);</div><div>&nbsp; query.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp;dbtoUrl;</div><div>}<br><br>burada 1 ve 2. sütunları gizlemek istiyorum.<br>ProGrid1.ColumnWidths&#091;0&#093; = 0;<br>ProGrid1.ColumnWidths&#091;1&#093; = 0;<br>Bu sekilde yaptıgımda herhangi bir şey değişmiyor.Sebebi nedir? DB'den direkt verileri cekip aynı zamanda sütunları kontrol edemiyor muyum?<img src="https://forum.clomosy.com.tr/smileys/smiley19.gif" border="0" alt="Cry" title="Cry" /></div>]]>
   </description>
   <pubDate>Thu, 24 Apr 2025 09:37:26 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=997&amp;PID=1987#1987</guid>
  </item> 
 </channel>
</rss>