<?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 tıklayınca tepki yok</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : Butona tıklayınca tepki yok]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 14:37:24 +0000</pubDate>
  <lastBuildDate>Thu, 03 Jul 2025 16:29:06 +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=1050</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 tıklayınca tepki yok : Merhaba Turgut,Muhtemelen event2&#305;n...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1050&amp;PID=2098#2098</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> 1050<br /><strong>Gönderim Zamanı:</strong> 03&nbsp;Temmuz&nbsp;2025 Saat 16:29<br /><br />Merhaba Turgut,&nbsp;<br>Muhtemelen event2ın çalışmaması&nbsp;uManagerForm adı birimin de forumun prosedür içerisinde kalması.&nbsp;<br>Form Create void içerisinde yazmadan çalıştığın zaman birime geçiş sağlanıyor. Ya da void çağırman gerekir.&nbsp;<br>Birime geçtikten sonra&nbsp;uManagerForm adlı birimde 86. satırda Create hatası çıkıyor.<span style="white-space:pre">	</span>]]>
   </description>
   <pubDate>Thu, 03 Jul 2025 16:29:06 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1050&amp;PID=2098#2098</guid>
  </item> 
  <item>
   <title><![CDATA[Butona tıklayınca tepki yok : Y&#246;netici Se&#231;imini yap&#305;p Devam...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1050&amp;PID=2094#2094</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=312">turgutkir</a><br /><strong>Konu:</strong> 1050<br /><strong>Gönderim Zamanı:</strong> 03&nbsp;Temmuz&nbsp;2025 Saat 15:40<br /><br />Yönetici Seçimini yapıp Devam Et butouna tıklayınca hiçbir tepki vermiyor. Kodlarda bi hata yok gibi gözüküyor mesaj bloklarıyla test etmeye çalıştım fakat sorunu çözemedim.<br><br><div>//------------------------------------------------------------------</div><div>//&nbsp; MainCode</div><div>//------------------------------------------------------------------</div><div><br></div><div>var</div><div>&nbsp; MainForm&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: TclForm;</div><div>&nbsp; lblTitle, lblDesc: TclLabel;</div><div>&nbsp; cmbRole&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : TclComboBox;</div><div>&nbsp; btnNext&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : TclButton;</div><div><br></div><div><br></div><div>void OpenPanel;</div><div>var</div><div>&nbsp; roleVal : String;</div><div>{</div><div>&nbsp; roleVal=LowerCase(cmbRole.Text);&nbsp; &nbsp;&nbsp;</div><div><br></div><div>&nbsp; if&nbsp; &nbsp; &nbsp; roleVal == 'personel'&nbsp;</div><div>&nbsp; Clomosy.RunUnit('uPersonnelForm')</div><div>&nbsp; else if&nbsp;</div><div>&nbsp; roleVal == 'yönetici'&nbsp;</div><div>&nbsp; Clomosy.RunUnit('uManagerForm')</div><div>&nbsp; else&nbsp; &nbsp;&nbsp;</div><div>&nbsp; ShowMessage('Lütfen önce rol seçin.');</div><div>}</div><div><br></div><div><br></div><div>{</div><div>&nbsp; MainForm=TclForm.Create(Self);</div><div>&nbsp; MainForm.clSetCaption('Rol Seçimi');</div><div><br></div><div>&nbsp; // Başlık</div><div>&nbsp; lblTitle=MainForm.AddNewLabel(MainForm,'lblTitle',</div><div>&nbsp; &nbsp; 'Ziyaretçi Yönetim Sistemine Hoş Geldiniz');</div><div>&nbsp; lblTitle.Font.Size&nbsp; =18;</div><div>&nbsp; lblTitle.Align&nbsp; &nbsp; &nbsp; =alTop;</div><div>&nbsp; lblTitle.Margins.Top=24;</div><div><br></div><div>&nbsp; // Açıklama</div><div>&nbsp; lblDesc=MainForm.AddNewLabel(MainForm,'lblDesc',</div><div>&nbsp; &nbsp; 'Lütfen rolünüzü seçin:');</div><div>&nbsp; lblDesc.Align&nbsp; &nbsp; &nbsp; =alTop;</div><div>&nbsp; lblDesc.Margins.Top=12;</div><div><br></div><div>&nbsp; // Rol seçimi</div><div>&nbsp; cmbRole=MainForm.AddNewComboBox(MainForm,'cmbRole');</div><div>&nbsp; cmbRole.AddItem('Personel','personel');</div><div>&nbsp; cmbRole.AddItem('Yönetici','yonetici');</div><div>&nbsp; cmbRole.Align&nbsp; &nbsp; &nbsp; =alTop;</div><div>&nbsp; cmbRole.Margins.Top=20;</div><div>&nbsp; cmbRole.Width&nbsp; &nbsp; &nbsp; =200;</div><div>&nbsp; cmbRole.ItemIndex&nbsp; =0;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div><br></div><div>&nbsp; // Devam butonu</div><div>&nbsp; btnNext=MainForm.AddNewButton(MainForm,'btnNext','Devam Et');</div><div>&nbsp; btnNext.Align&nbsp; &nbsp; &nbsp; =alTop;</div><div>&nbsp; btnNext.Margins.Top=32;</div><div>&nbsp; btnNext.Width&nbsp; &nbsp; &nbsp; =200;</div><div>&nbsp; btnNext.Height&nbsp; &nbsp; &nbsp;=40;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; MainForm.AddNewEvent(btnNext, tbeOnClick, 'OpenPanel');&nbsp;&nbsp;</div><div><br></div><div>&nbsp; MainForm.Run;</div><div>}</div><div><br></div><div><br></div><div>//------------------------------------------------------------------</div><div>//&nbsp; uManagerForm</div><div>//------------------------------------------------------------------</div><div><br></div><div>var</div><div>&nbsp; FrmMgr&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : TclForm;</div><div>&nbsp; lstMeetings&nbsp; &nbsp; &nbsp;: TclListView;</div><div><br></div><div>&nbsp; edtStart, edtEnd : TclEdit;&nbsp; &nbsp; &nbsp; &nbsp;</div><div><br></div><div>&nbsp; cmbUser&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: TclComboBox;</div><div>&nbsp; btnFilter&nbsp; &nbsp; &nbsp; &nbsp;: TclButton;</div><div>&nbsp; qData&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: TclSqlQuery;</div><div><br></div><div>/*---------------&nbsp; personel listesini doldur&nbsp; --------------------*/</div><div>void LoadUsers;</div><div>&nbsp;var</div><div>&nbsp; q : TclSqlQuery;&nbsp;</div><div><br></div><div>{</div><div>&nbsp;</div><div>&nbsp; q = Clomosy.DBSQLServerQueryWith(</div><div>&nbsp; &nbsp; &nbsp; &nbsp; 'SELECT ID, FullName FROM Users ORDER BY FullName');</div><div><br></div><div>&nbsp; cmbUser.Clear;</div><div>&nbsp; while (not q.EOF) {</div><div>&nbsp; &nbsp; cmbUser.AddItem(q.FieldByName('FullName').AsString,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; q.FieldByName('ID').AsString);</div><div>&nbsp; &nbsp; q.Next;</div><div>&nbsp; };</div><div>}</div><div><br></div><div>/*---------------&nbsp; tarih + personel filtresi&nbsp; --------------------*/</div><div>void ApplyFilter;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>var</div><div>&nbsp; sql : String;</div><div>&nbsp; uid : String;</div><div>{</div><div>&nbsp; sql =</div><div>&nbsp; &nbsp; 'SELECT M.ID as RECORD_GUID,' +</div><div>&nbsp; &nbsp; '&nbsp; &nbsp; &nbsp; &nbsp;U.FullName + '' - '' + M.CompanyName as MAIN_TEXT,' +</div><div>&nbsp; &nbsp; '&nbsp; &nbsp; &nbsp; &nbsp;CONVERT(nvarchar, M.MeetingDate,104) + '' '' +' +</div><div>&nbsp; &nbsp; '&nbsp; &nbsp; &nbsp; &nbsp;CONVERT(nvarchar, M.MeetingDate,108) as SUB_TEXT ' +</div><div>&nbsp; &nbsp; 'FROM Meetings M ' +</div><div>&nbsp; &nbsp; 'LEFT JOIN Users U ON U.ID = M.UserID ' +</div><div>&nbsp; &nbsp; 'WHERE 1=1';</div><div><br></div><div>&nbsp; /* Tarih aralığı */</div><div>&nbsp; sql =</div><div>&nbsp; &nbsp; sql + ' AND M.MeetingDate BETWEEN ' +</div><div>&nbsp; &nbsp; QuotedStr(Trim(edtStart.Text) + ' 00:00') +</div><div>&nbsp; &nbsp; ' AND ' +</div><div>&nbsp; &nbsp; QuotedStr(Trim(edtEnd.Text)&nbsp; &nbsp;+ ' 23:59');</div><div><br></div><div>&nbsp; /* Personel filtresi */</div><div>&nbsp; uid = cmbUser.GetValueIndex(cmbUser.ItemIndex);</div><div>&nbsp; if (uid &lt;&gt; '') {</div><div>&nbsp; &nbsp; sql = sql + ' AND M.UserID = ' + uid;</div><div>&nbsp; };</div><div><br></div><div>&nbsp; try</div><div>&nbsp; &nbsp; qData.SQL.Text = sql;</div><div>&nbsp; &nbsp; qData.Open;</div><div>&nbsp; &nbsp; lstMeetings.clLoadListViewDataFromDataset(qData);</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Sorgu hatası: ' + LastExceptionMessage);</div><div>&nbsp; };</div><div>}</div><div><br></div><div><br></div><div>/*---------------&nbsp; formu oluştur&nbsp; -------------------------------*/</div><div>void CreateForm;</div><div>{</div><div>&nbsp; FrmMgr = TclForm.Create(Self);</div><div>&nbsp; FrmMgr.clSetCaption('Yönetici Paneli');</div><div><br></div><div>&nbsp; /* Tarih giriş kutuları */</div><div>&nbsp; edtStart = FrmMgr.AddNewEdit(FrmMgr,'edtStart','Başlangıç (yyyy-MM-dd)');</div><div>&nbsp; edtEnd&nbsp; &nbsp;= FrmMgr.AddNewEdit(FrmMgr,'edtEnd'&nbsp; ,'Bitiş (yyyy-MM-dd)');</div><div><br></div><div>&nbsp; cmbUser&nbsp; = FrmMgr.AddNewComboBox(FrmMgr,'cmbUser');</div><div><br></div><div>&nbsp; btnFilter = FrmMgr.AddNewButton(FrmMgr,'btnFilter','Uygula');</div><div>&nbsp; FrmMgr.AddNewEvent(btnFilter,tbeOnClick,'ApplyFilter');</div><div><br></div><div>&nbsp; lstMeetings = FrmMgr.AddNewListView(FrmMgr,'lstMeetings');</div><div>&nbsp; lstMeetings.Align = alClient;</div><div><br></div><div>&nbsp; /* SQL Server bağlantısı */</div><div>&nbsp; qData = TclSqlQuery.Create(null);</div><div>&nbsp; Clomosy.DBSQLServerConnect(</div><div>&nbsp; &nbsp; 'SQL Server',</div><div>&nbsp; &nbsp; 'TURGUT-KIR\\ATIKER',</div><div>&nbsp; &nbsp; 'sa',</div><div>&nbsp; &nbsp; '1',</div><div>&nbsp; &nbsp; 'TURGUT25',</div><div>&nbsp; &nbsp; 1433);</div><div>&nbsp; qData.Connection = Clomosy.DBSQLServerConnection;</div><div><br></div><div>&nbsp; /* Kutulara bugünün tarihi */</div><div>&nbsp; edtStart.Text = FormatDateTime('yyyy-MM-dd', Date);</div><div>&nbsp; edtEnd.Text&nbsp; &nbsp;= edtStart.Text;</div><div><br></div><div>&nbsp; LoadUsers;</div><div>&nbsp; ApplyFilter;</div><div><br></div><div>&nbsp; FrmMgr.Run;</div><div>}</div><div><br></div><div>/*---------------&nbsp; RunUnit giriş noktası&nbsp; -----------------------*/</div><div>void RunUnit;</div><div>{</div><div>&nbsp; if (FrmMgr == null) {</div><div>&nbsp; &nbsp; CreateForm;</div><div>&nbsp; } else {</div><div>&nbsp; &nbsp; FrmMgr.clShow;</div><div>&nbsp; };</div>}&nbsp;]]>
   </description>
   <pubDate>Thu, 03 Jul 2025 15:40:18 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1050&amp;PID=2094#2094</guid>
  </item> 
 </channel>
</rss>