<?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 : memoya yazı eklerken 2 tane hata alıyorum</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : memoya yazı eklerken 2 tane hata alıyorum]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 11:24:59 +0000</pubDate>
  <lastBuildDate>Wed, 24 Jul 2024 15:24:19 +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=731</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[memoya yazı eklerken 2 tane hata alıyorum : varunitform:tclform;panel:TCLP...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=731&amp;PID=1153#1153</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=199">yazilimci21</a><br /><strong>Konu:</strong> 731<br /><strong>Gönderim Zamanı:</strong> 24&nbsp;Temmuz&nbsp;2024 Saat 15:24<br /><br /><div><br></div><div><br></div><div><br></div><div><img src="uploads/199/2.jpg" height="110" width="317" border="0" /><br></div><div><br></div><div><br></div><div><br></div><div><img src="https://forum.clomosy.com.tr/uploads/199/2.png" height="110" width="321" border="0" /></div><div>var</div><div>unitform:tclform;</div><div>panel:TCLProPanel;</div><div>img,img1:TCProLImage;</div><div>text1:TCLProEdit;</div><div>list:TCLMemo;</div><div>sozler: TclStringList;</div><div>testlabel:TClProLabel;</div><div>box,box1:tclcheckbox;</div><div>a:String;</div><div>i:float;</div><div>insertQuery: TclSqlQuery;</div><div>daylabel:TCLProlabel;</div><div>selectQuery, veriSorgusu : TClSqlQuery;</div><div>k:Integer;</div><div><br></div><div><br></div><div>void AddDataToListview;</div><div><br></div><div><br></div><div>&nbsp; try</div><div>selectQuery= Clomosy.DBSQLServerQueryWith('SELECT&nbsp; * FROM yapilacaklar WHERE&nbsp; gunismi = ' + QuotedStr(daylabel.text));</div><div>&nbsp; &nbsp; selectQuery.Open;</div><div>&nbsp; &nbsp; while (Not selectQuery.EOF)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp; box1=unitform.addnewcheckbox(list,'b'+IntToStr(k),'');</div><div>box1.Position.Y=box1.Position.Y+i*21;&nbsp; &nbsp;</div><div>box1.margins.right=150;</div><div>&nbsp;</div><div>&nbsp;list.Lines.Add((selectQuery.FieldByName('notlar').AsString));</div><div>&nbsp;i=i+1;</div><div>&nbsp;k=k+1;</div><div>&nbsp; &nbsp; selectQuery.Next;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('1'+LastExceptionMessage);</div><div>&nbsp;}</div><div><br></div><div><br></div><div><br></div><div>void InsertToDatabase;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; Clomosy.DBSQLServerQuery.Sql.Text = 'INSERT INTO yapilacaklar (gunismi,notlar) VALUES ('+QuotedStr(daylabel.text)+', '+QuotedStr(text1.Text)+')';</div><div>&nbsp; &nbsp; Clomosy.DBSQLServerQuery.ExecSql;</div><div>&nbsp; &nbsp; ShowMessage('Veri ekleme başarılı');</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Exception class: '+LastExceptionClassName+' Exception Message: ' +LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void img1OnClick;</div><div>{</div><div>box=unitform.addnewcheckbox(list,'a'+IntToStr(k),'');</div><div>box.Position.Y=box.Position.Y+i*21;&nbsp; &nbsp;</div><div>box.margins.right=150;</div><div>&nbsp;list.Lines.Add('&nbsp; &nbsp; &nbsp;'</div><div>&nbsp;+list.Lines.Add(text1.Text));</div><div>&nbsp;text1.Text = '';</div><div>&nbsp;i=i+1;</div><div>&nbsp;k=k+1;</div><div>&nbsp;InsertToDatabase;</div><div>}</div><div><br></div><div>void sozler1;&nbsp;</div><div>&nbsp;{</div><div>&nbsp; &nbsp;sozler= Clomosy.StringListNew;&nbsp;</div><div>&nbsp; &nbsp; &nbsp;sozler.Capacity = 7;&nbsp;</div><div>&nbsp;</div><div>&nbsp; &nbsp; &nbsp;sozler.Add('“Hayatınızı ortaya koymazsanız,</div><div>&nbsp;hayatınızı kazanamazsınız.”');</div><div>&nbsp; &nbsp; &nbsp;sozler.Add('“Dünden ders çıkar, bugünü yaşa,</div><div>&nbsp; &nbsp; &nbsp;yarın için umut et!”');</div><div>&nbsp; &nbsp; &nbsp;sozler.Add('“İyi düşünmek iyidir</div><div>&nbsp; &nbsp; &nbsp;iyi hareket etmek,çok iyidir.”');</div><div>&nbsp; &nbsp; &nbsp;sozler.Add('“Öne geçmenin sırrı, başlamaktır.”');</div><div>&nbsp; &nbsp; &nbsp;sozler.Add('“Hareket etmeyen,</div><div>&nbsp; &nbsp; &nbsp;zincirlerin farkına varamaz.”');</div><div>&nbsp; &nbsp; &nbsp;sozler.Add('“Tehlikeli olan gelişmemektir.”');</div><div>&nbsp; &nbsp; &nbsp;sozler.Add('“Başarı,her gün küçük</div><div>&nbsp; &nbsp; &nbsp;çabaların birikimidir.”');</div><div>&nbsp;</div><div>&nbsp; &nbsp;}</div><div>&nbsp;</div><div>{</div><div>insertQuery = TclSqlQuery.Create(nil);</div><div>&nbsp; if (Clomosy.DBSQLServerConnect('SQL Server', '172.16.222.124', 'sa', '123456', 'aaaa', 50000))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('Bağlandı');</div><div>&nbsp; }</div><div>&nbsp; else&nbsp;</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('Bağlanmadı');</div><div>&nbsp; }</div><div><br></div><div><br></div><div><br></div><div>selectQuery = TClSqlQuery.Create(nil);</div><div>&nbsp; selectQuery.Connection = Clomosy.DBSQLServerConnection;</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>unitform=tclform.Create(self);</div><div>unitform.SetFormColor('#ffffff','',clGNone);</div><div>panel=unitform.AddNewProPanel(unitform, 'panel');</div><div>clcomponent.setupcomponent(panel,'{</div><div>&nbsp;"height":550,</div><div>&nbsp;"width":450</div><div>}');&nbsp;</div><div>&nbsp;</div><div><br></div><div><br></div><div><br></div><div>text1=unitform.AddNewProEdit(unitform,'text1','');</div><div>text1.width=220;</div><div>text1.margins.right=20;</div><div>text1.styledsettings=ssFamily;</div><div>text1.margins.bottom=575;</div><div>text1.TextSettings.FontColor = clAlphaColor.clHexToColor('#000000');</div><div>clcomponent.setupcomponent(text1,'{</div><div>"bordercolor":"#000000",</div><div>"borderwidth":1,</div><div>"Roundheight":5,</div><div>"roundwidth":5,</div><div>"textcolor":"#000000",</div><div>"height":40</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>}');</div><div><br></div><div><br></div><div><br></div><div>img=unitform.AddNewProImage(panel,'img');</div><div>unitform.SetImage(img,'https://i.hizliresim.com/5z3h5t3.jpg');</div><div>clcomponent.setupcomponent(img,'{</div><div>&nbsp;&nbsp;</div><div>&nbsp;"align":"client"&nbsp;</div><div>}');</div><div><br></div><div><br></div><div><br></div><div><br></div><div>img1=unitform.AddNewProImage(panel, 'img1');</div><div>unitform.SetImage(img1,'https://clomosy.com/demos/add-list.png');</div><div>clcomponent.setupcomponent(img1,'{</div><div>&nbsp;&nbsp;</div><div>&nbsp;"height":50,</div><div>&nbsp;"width":50,</div><div>&nbsp;"marginbottom":575,</div><div>&nbsp;"marginleft":250</div><div><br></div><div>}');</div><div><br></div><div><br></div><div>list=unitform.AddNewMemo(unitform,'list', '');</div><div>list.width=280;</div><div>list.align=alCenter;</div><div>list.height=390;</div><div>list.margins.top=70;</div><div>list.margins.left=20;</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>&nbsp;sozler1;</div><div>&nbsp;</div><div>testlabel=unitform.AddNewProLabel(unitform, 'sozlerr', 'sozlerr');</div><div><br></div><div>clcomponent.setupcomponent(testlabel,'{</div><div>&nbsp;&nbsp;</div><div>"width":300,</div><div>&nbsp; "height":35,</div><div>&nbsp; &nbsp;"marginbottom":650,</div><div>&nbsp; &nbsp;"marginleft":100</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>}');</div><div><br></div><div>testlabel.text = sozler&#091;clMath.GenerateRandom(0,6)&#093;;</div><div><br></div><div>i=-0.23;</div><div>k=0;</div><div>unitform.AddNewEvent(img1,tbeOnClick,'img1OnClick');</div><div><br></div><div><br></div><div>daylabel=unitform.AddNewProLabel(unitform, 'daylabel', '');</div><div>daylabel.align=albottom;</div><div>daylabel.margins.bottom=(unitform.clheight*2)/100;</div><div>daylabel.margins.left=(unitform.clheight*22)/100;</div><div>daylabel.text=(testlist.clSelectedItemData(dayname));</div><div><br></div><div><br></div><div>sozler1;</div><div>AddDataToListview;</div><div>unitform.run;&nbsp;</div><div>}</div><div><br></div>]]>
   </description>
   <pubDate>Wed, 24 Jul 2024 15:24:19 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=731&amp;PID=1153#1153</guid>
  </item> 
 </channel>
</rss>