<?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 : Sqlite ile fotoğraf bağlantısı</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : Sqlite ile fotoğraf bağlantısı]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 14:55:54 +0000</pubDate>
  <lastBuildDate>Thu, 08 Aug 2024 16:32:42 +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=850</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[Sqlite ile fotoğraf bağlantısı : Merhaba Furkan,Oncellikle bir...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=850&amp;PID=1584#1584</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=106">Developer</a><br /><strong>Konu:</strong> 850<br /><strong>Gönderim Zamanı:</strong> 08&nbsp;Ağustos&nbsp;2024 Saat 16:32<br /><br />Merhaba Furkan,<div>Oncellikle bir insert gormedim Insert islemini nerde yaptin?</div><div>Oncellikle verinin gelip gelmedigini kontrol etmen gerekiyor daha sonrasinda fieldByName yapabilirsin.</div><div><pre style="font-family: Menlo, C&#111;nsolas, M&#111;naco, &quot;Noto Mono&quot;, &quot;Nimbus Mono L&quot;, monospace; font-size: 15.2px; : rgb248, 249, 250; border: 1px solid rgb200, 204, 209; padding: 1em; text-wrap: wrap; overflow: auto;"> Qry = Clomosy.DBSQLiteQueryWith('SELECT * from StudentExamInformation');      Qry.OpenOrExecute;            if (Qry.Found)      {        for i = 0 to Qry.RecordCount-1        {          sLabel = MyForm.AddNewLabel(vScroll,'Label'+IntToStr(i),'');          sLabel.StyledSettings = ssFamily;          sLabel.TextSettings.Font.Size=20;          sLabel.Align = alTop;          sLabel.Margins.Left= 5;          sLabel.Margins.Top= 5;           sLabel.Height = 50;          sLabel.Text = '* '+Qry.FieldByName('schollID').AsString + '  '+ Qry.FieldByName('name').AsString + ' '+           Qry.FieldByName('surname').AsString + '  '+ Qry.FieldByName('lesson').AsString + '   '+           Qry.FieldByName('v_note').AsString + '-'+ Qry.FieldByName('f_note').AsString;                    sLabel.AutoSize = True;          sLabel.WordWrap = True;          Qry.Next;        }        }</pre><div><br></div></div>]]>
   </description>
   <pubDate>Thu, 08 Aug 2024 16:32:42 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=850&amp;PID=1584#1584</guid>
  </item> 
  <item>
   <title><![CDATA[Sqlite ile fotoğraf bağlantısı : varMyprofileForm : TclForm;labelID,...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=850&amp;PID=1575#1575</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=164">Furblood</a><br /><strong>Konu:</strong> 850<br /><strong>Gönderim Zamanı:</strong> 08&nbsp;Ağustos&nbsp;2024 Saat 15:35<br /><br /><div>var</div><div>MyprofileForm : TclForm;</div><div>labelID, labelUsername, labelName, labelSurname, labelAge, labelWeight, labelHeight, labelBMI, labelPhone, labelPassword, labelCity, labelGender, labelTitle, labelSidetitle1, labelSidetitle2, labelSidetitle3: TClProLabel;</div><div>Scroll: TCLVertScrollBox;</div><div>panelTop,panelBottom : TclProPanel;</div><div><br></div><div>Qry : TclSQLiteQuery;</div><div><br></div><div>BMI:Real;</div><div>bmiResultLabel: TClProLabel;</div><div><br></div><div>photoList : TCLProListView;</div><div>DesignerPanel : TClListViewDesignerPanel;</div><div>taskImg,userPhoto&nbsp;&nbsp;: TclProImage;</div><div>taskName : TClProLabel;</div><div><br></div><div><br></div><div>&nbsp; &nbsp; void SqLiteConnection;</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Clomosy.DBSQLiteConnect(Clomosy.AppFilesPath + 'GYM2.db3', '');&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; except</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ShowMessage('Exception Class: '+LastExceptionClassName+' Exception Message: '+LastExceptionMessage);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; void InsertPhotoIntoDatabase(photoUrl: String);</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Clomosy.DBSQLiteQuery.Sql.Text = 'UPDATE Users SET PROFILEPHOTO = ' + QuotedStr(photoUrl) + ' WHERE USERNAME = ' + QuotedStr(Clomosy.GlobalVariableString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Clomosy.DBSQLiteQuery.OpenOrExecute;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; // Immediately update the user photo on the form to reflect the new photo</div><div>&nbsp; &nbsp; &nbsp; &nbsp; userPhoto.clProSettings.PictureSource = photoUrl;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; userPhoto.SetclProSettings(userPhoto.clProSettings);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Photo updated successfully!');</div><div>&nbsp; &nbsp; &nbsp; except</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Exception Class: '+LastExceptionClassName+' Exception Message: '+LastExceptionMessage);</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; }</div><div><br></div><div><br></div><div>&nbsp; &nbsp; void KullaniciVerileri;</div><div>&nbsp; &nbsp; var photoUrl : String;</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Qry = Clomosy.DBSQLiteQueryWith('SELECT * FROM users WHERE USERNAME=' + QuotedStr(Clomosy.GlobalVariableString));</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Qry.OpenOrExecute;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; // Set the user photo based on the retrieved PROFILEPHOTO field</div><div>&nbsp; &nbsp; &nbsp; &nbsp; photoUrl = Qry.FieldByName('PROFILEPHOTO').AsString;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (photoUrl &lt;&gt; (''))</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; userPhoto.clProSettings.PictureSource = photoUrl;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; userPhoto.SetclProSettings(userPhoto.clProSettings);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Set a default photo if no PROFILEPHOTO is available</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; userPhoto.clProSettings.PictureSource = 'https://i.imgur.com/38uoXIt.png';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; userPhoto.SetclProSettings(userPhoto.clProSettings);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; except</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Exception Class: ' + LastExceptionClassName + ' Exception Message: ' + LastExceptionMessage);</div><div>&nbsp; &nbsp; &nbsp; }&nbsp;&nbsp;</div><div>&nbsp; &nbsp; }</div><div><br></div><div><br></div><div>&nbsp; &nbsp;&nbsp;</div><div><br></div><div>void CreateListView</div><div>{</div><div>&nbsp; photoList = MyprofileForm.AddNewProListView(MyprofileForm,'photoList');</div><div>&nbsp; photoList.Align = alRight;</div><div>&nbsp; photoList.Height = 300;</div><div>&nbsp; photoList.Width = 150;</div><div>&nbsp; photoList.Margins.Bottom = 20;</div><div>&nbsp; photoList.Margins.Top = 100;</div><div>&nbsp; photoList.clProSettings.ViewType = lvIcon; //(lvList, lvIcon, lvWaterFall)</div><div>&nbsp; photoList.clProSettings.ColCount = 1;</div><div>&nbsp; photoList.clProSettings.ItemHeight = 100;</div><div>&nbsp; photoList.clProSettings.ItemSpace = 10;</div><div>&nbsp; photoList.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#FFFCFF');</div><div>&nbsp; photoList.clProSettings.BorderColor = clAlphaColor.clHexToColor('#66FF7F');</div><div>&nbsp; photoList.clProSettings.BorderWidth = 2;</div><div>&nbsp; photoList.clProSettings.RoundHeight = 5;</div><div>&nbsp; photoList.clProSettings.RoundWidth = 5;</div><div>&nbsp; photoList.SetclProSettings(photoList.clProSettings);</div><div>&nbsp; MyprofileForm.AddNewEvent(photoList,tbeOnItemClick,'TaskClick');</div><div>&nbsp; photoList.Visible = false;</div><div>}</div><div><br></div><div>void CreateDesignerPanel</div><div>{</div><div>&nbsp; DesignerPanel = MyprofileForm.AddNewProListViewDesignerPanel(photoList, 'DesignerPanel');</div><div>&nbsp; DesignerPanel.Height = 100;</div><div>&nbsp; DesignerPanel.Width = 100;</div><div>&nbsp; DesignerPanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#B3FCE5');</div><div>&nbsp; DesignerPanel.clProSettings.BorderColor = clAlphaColor.clHexToColor('#16FF8C');</div><div>&nbsp; DesignerPanel.clProSettings.BorderWidth = 2;</div><div>&nbsp; DesignerPanel.clProSettings.RoundHeight = 20;</div><div>&nbsp; DesignerPanel.clProSettings.RoundWidth = 20;</div><div>&nbsp; DesignerPanel.SetclProSettings(DesignerPanel.clProSettings);</div><div>}</div><div><br></div><div>void CreateData;</div><div>{</div><div>&nbsp; taskImg = MyprofileForm.AddNewProImage(DesignerPanel, 'taskImg');</div><div>&nbsp; taskImg.Align = AlLeft;</div><div>&nbsp; taskImg.Margins.Top = 10;</div><div>&nbsp; taskImg.Margins.Bottom = 10;</div><div>&nbsp; DesignerPanel.AddPanelObject(taskImg, clText2);</div><div>&nbsp; photoList.SetDesignerPanel(DesignerPanel);</div><div>}</div><div><br></div><div>void AddDataToListView;</div><div>{</div><div>&nbsp; photoList.clLoadProListViewDataFromDataset(Clomosy.ClDataSetFromJSON('</div><div>&nbsp; {"taskImg" : "https://i.imgur.com/m5V9b4x.png"},</div><div>&nbsp; {"taskImg" : "https://i.imgur.com/LQ4J4dh.png"},</div><div>&nbsp; {"taskImg" : "https://i.imgur.com/w9lmYul.png"},</div><div>&nbsp; {"taskImg" : "https://i.imgur.com/b9jWqJK.png"},</div><div>&nbsp; {"taskImg" : "https://i.imgur.com/KUMAPMj.png"},</div><div>&nbsp; {"taskImg" : "https://i.imgur.com/4k2JH97.png"}</div><div>&nbsp; '));</div><div>}</div><div><br></div><div>void listAyarla;</div><div>{</div><div>&nbsp; AddDataToListview;</div><div>&nbsp; photoList.Visible = not photoList.Visible;</div><div>}</div><div><br></div><div>void TaskClick(item);</div><div>var&nbsp;</div><div>&nbsp; selectedPhotoUrl : string;</div><div>{</div><div>&nbsp; selectedPhotoUrl = photoList.clSelectedItemData(clText2);</div><div>&nbsp; userPhoto.clProSettings.PictureSource = selectedPhotoUrl;</div><div>&nbsp; userPhoto.SetclProSettings(userPhoto.clProSettings);</div><div>&nbsp; photoList.Visible = false;</div><div><br></div><div>&nbsp; // Now, you can use the selectedPhotoUrl to insert into the database</div><div>&nbsp; InsertPhotoIntoDatabase(selectedPhotoUrl);</div><div>&nbsp;&nbsp;</div><div>}</div><div><br></div><div><br></div><div><br></div><div>function BMIHesapla(weightR: Real; heightR: Real):Real;</div><div>var&nbsp;</div><div>&nbsp; heightM:Real;</div><div>{</div><div>&nbsp; heightM = heightR / 100;</div><div>&nbsp; BMI = weightR / Sqr(heightM);</div><div>&nbsp; BMI = Trunc(BMI*100)/100;</div><div>}</div><div>function bmiResult(BMI:Real):String;</div><div>{</div><div>&nbsp; if(BMI &lt; 18.5)</div><div>&nbsp; &nbsp; bmiResultLabel.Text = '(Underweight)';</div><div>&nbsp; else if(18.5 &lt;= BMI &amp;&amp; BMI &lt; 25 )</div><div>&nbsp; &nbsp; bmiResultLabel.Text = '(Normal weight)';</div><div>&nbsp; else if(25 &lt;= BMI &amp;&amp; BMI &lt; 30)</div><div>&nbsp; &nbsp; bmiResultLabel.Text = '(Overweight)';</div><div>&nbsp; else</div><div>&nbsp; &nbsp; bmiResultLabel.Text = '(Obesity)';</div><div>}</div><div><br></div><div><br></div><div>{</div><div>&nbsp; MyprofileForm = TclForm.Create(Self);</div><div>&nbsp; SqLiteConnection;</div><div>&nbsp; KullaniciVerileri;</div><div><br></div><div><br></div><div>&nbsp;&nbsp;</div><div>&nbsp; panelTop = MyprofileForm.AddNewProPanel(MyprofileForm,'panelTop');</div><div>&nbsp; panelTop.Align = alMostTop;</div><div>&nbsp; panelTop.Height = 100;</div><div>&nbsp; panelTop.clProSettings.BackgroundColor = clAlphaColor.clHextoColor('#ffffff');</div><div>&nbsp; panelTop.SetclProSettings(panelTop.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; labelTitle = MyprofileForm.AddNewProLabel(panelTop, 'labelTitle', '&#65325;&#65337; &#65328;&#65330;&#65327;&#65318;&#65321;&#65324;&#65317;');</div><div>&nbsp; labelTitle.Align = alCenter;</div><div>&nbsp; labelTitle.Width = 200;</div><div>&nbsp; labelTitle.clProSettings.FontColor = clAlphaColor.clHextoColor('#6482AD');</div><div>&nbsp; labelTitle.clProSettings.FontSize = 20;</div><div>&nbsp; labelTitle.SetclProSettings(labelTitle.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; userPhoto = MyprofileForm.AddNewProImage(MyprofileForm,'userPhoto');</div><div>&nbsp; userPhoto.Align = alCenter;</div><div>&nbsp; userPhoto.Height = 100;</div><div>&nbsp; userPhoto.Margins.Bottom = 500;</div><div>&nbsp; userPhoto.clProSettings.PictureSource = 'https://i.imgur.com/38uoXIt.png';</div><div>&nbsp; userPhoto.SetclProSettings(userPhoto.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; CreateListView;</div><div>&nbsp; CreateDesignerPanel;</div><div>&nbsp; CreateData;</div><div>&nbsp; MyprofileForm.AddNewEvent(userPhoto,tbeOnClick,'listAyarla');</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; panelBottom = MyprofileForm.AddNewProPanel(MyprofileForm,'panelBottom');</div><div>&nbsp; panelBottom.Align = AlLeft;</div><div>&nbsp; panelBottom.Margins.Left = 20;</div><div>&nbsp; panelBottom.Margins.Top = 20;</div><div>&nbsp; panelBottom.Width = 200;</div><div>&nbsp; panelBottom.clProSettings.BackgroundColor = clAlphaColor.clHextoColor('#ffffff');</div><div>&nbsp; panelBottom.SetclProSettings(panelBottom.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; Scroll = MyprofileForm.AddNewVertScrollBox(panelBottom,'Scroll');</div><div>&nbsp; Scroll.Height = panelBottom.height;</div><div>&nbsp; Scroll.Align = alMostTop;</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; labelSidetitle1 = MyprofileForm.AddNewProLabel(Scroll, 'labelSidetitle1', 'Personal Information');</div><div>&nbsp; &nbsp; labelSidetitle1.Align = alCenter;</div><div>&nbsp; &nbsp; labelSidetitle1.Margins.Bottom = 800;</div><div>&nbsp; &nbsp; labelSidetitle1.Width = 300;</div><div>&nbsp; &nbsp; labelSidetitle1.clProSettings.FontColor = clAlphaColor.clHextoColor('#000000');</div><div>&nbsp; &nbsp; labelSidetitle1.clProSettings.FontSize = 18;</div><div>&nbsp; &nbsp; labelSidetitle1.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; &nbsp; labelSidetitle1.SetclProSettings(labelSidetitle1.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; labelID = MyprofileForm.AddNewProLabel(Scroll, 'labelID', 'User ID:&nbsp; '+ Qry.FieldByName('userID').AsString);</div><div>&nbsp; labelID.Align = alCenter;</div><div>&nbsp; labelID.Margins.Bottom = 700;</div><div>&nbsp; labelID.Width = 300;</div><div>&nbsp; labelID.clProSettings.FontColor = clAlphaColor.clHextoColor('#6482AD');</div><div>&nbsp; labelID.clProSettings.FontSize = 14;</div><div>&nbsp; labelID.SetclProSettings(labelID.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; labelUsername = MyprofileForm.AddNewProLabel(Scroll, 'labelUsername', 'Username:&nbsp; '+ Qry.FieldByName('USERNAME').AsString);</div><div>&nbsp; labelUsername.Align = alCenter;</div><div>&nbsp; labelUsername.Margins.Bottom = 600;</div><div>&nbsp; labelUsername.Width = 300;</div><div>&nbsp; labelUsername.clProSettings.FontColor = clAlphaColor.clHextoColor('#6482AD');</div><div>&nbsp; labelUsername.clProSettings.FontSize = 14;</div><div>&nbsp; labelUsername.SetclProSettings(labelUsername.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; labelName = MyprofileForm.AddNewProLabel(Scroll, 'labelName', 'Name:&nbsp; ' + Qry.FieldByName('NAME').AsString);</div><div>&nbsp; labelName.Align = alCenter;</div><div>&nbsp; labelName.Margins.Bottom = 500;</div><div>&nbsp; labelName.Width = 300;</div><div>&nbsp; labelName.clProSettings.FontColor = clAlphaColor.clHextoColor('#6482AD');</div><div>&nbsp; labelName.clProSettings.FontSize = 14;</div><div>&nbsp; labelName.SetclProSettings(labelName.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; labelSurname = MyprofileForm.AddNewProLabel(Scroll, 'labelSurname', 'Surname:&nbsp; '+ Qry.FieldByName('SURNAME').AsString);</div><div>&nbsp; labelSurname.Align = alCenter;</div><div>&nbsp; labelSurname.Margins.Bottom = 400;</div><div>&nbsp; labelSurname.Width = 300;</div><div>&nbsp; labelSurname.clProSettings.FontColor = clAlphaColor.clHextoColor('#6482AD');</div><div>&nbsp; labelSurname.clProSettings.FontSize = 14;</div><div>&nbsp; labelSurname.SetclProSettings(labelSurname.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; labelAge = MyprofileForm.AddNewProLabel(Scroll, 'labelAge', 'Age:&nbsp; ' +Qry.FieldByName('AGE').AsString);</div><div>&nbsp; labelAge.Align = alCenter;</div><div>&nbsp; labelAge.Margins.Bottom = 300;</div><div>&nbsp; labelAge.Width = 300;</div><div>&nbsp; labelAge.clProSettings.FontColor = clAlphaColor.clHextoColor('#6482AD');</div><div>&nbsp; labelAge.clProSettings.FontSize = 14;</div><div>&nbsp; labelAge.SetclProSettings(labelAge.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; labelWeight = MyprofileForm.AddNewProLabel(Scroll, 'labelWeight', 'Weight: '+Qry.FieldByName('WEIGHT').AsString + ' kg');</div><div>&nbsp; labelWeight.Align = alCenter;</div><div>&nbsp; labelWeight.Margins.Bottom = 200;</div><div>&nbsp; labelWeight.Width = 300;</div><div>&nbsp; labelWeight.clProSettings.FontColor = clAlphaColor.clHextoColor('#6482AD');</div><div>&nbsp; labelWeight.clProSettings.FontSize = 14;</div><div>&nbsp; labelWeight.SetclProSettings(labelWeight.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; labelHeight = MyprofileForm.AddNewProLabel(Scroll, 'labelHeight', 'Height:&nbsp; '+Qry.FieldByName('HEIGHT').AsString + ' cm');</div><div>&nbsp; labelHeight.Align = alCenter;</div><div>&nbsp; labelHeight.Margins.Bottom = 100;</div><div>&nbsp; labelHeight.Width = 300;</div><div>&nbsp; labelHeight.clProSettings.FontColor = clAlphaColor.clHextoColor('#6482AD');</div><div>&nbsp; labelHeight.clProSettings.FontSize = 14;</div><div>&nbsp; labelHeight.SetclProSettings(labelHeight.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; BMIHesapla(StrToFloat(Qry.FieldByName('WEIGHT').AsString),StrToFloat(Qry.FieldByName('HEIGHT').AsString));</div><div>&nbsp; labelBMI = MyprofileForm.AddNewProLabel(Scroll, 'labelBMI', 'BMI:&nbsp; '+ FloatToStr(BMI));</div><div>&nbsp; labelBMI.Align = alCenter;</div><div>&nbsp; labelBMI.Margins.Bottom = 0;</div><div>&nbsp; labelBMI.Width = 300;</div><div>&nbsp; labelBMI.clProSettings.FontColor = clAlphaColor.clHextoColor('#6482AD');</div><div>&nbsp; labelBMI.clProSettings.FontSize = 14;</div><div>&nbsp; labelBMI.SetclProSettings(labelBMI.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; bmiResultLabel = MyprofileForm.AddNewProLabel(Scroll, 'bmiResultLabel', '');</div><div>&nbsp; bmiResultLabel.Align = alCenter;</div><div>&nbsp; bmiResultLabel.Margins.Bottom = 0;</div><div>&nbsp; bmiResultLabel.Margins.Left = 150;</div><div>&nbsp; bmiResultLabel.Width = 300;</div><div>&nbsp; bmiResultLabel.clProSettings.FontColor = clAlphaColor.clHextoColor('#6482AD');</div><div>&nbsp; bmiResultLabel.clProSettings.FontSize = 14;</div><div>&nbsp; bmiResultLabel.SetclProSettings(bmiResultLabel.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; labelGender = MyprofileForm.AddNewProLabel(Scroll, 'labelGender', 'Gender:&nbsp; '+Qry.FieldByName('GENDER').AsString);</div><div>&nbsp; labelGender.Align = alCenter;</div><div>&nbsp; labelGender.Margins.Bottom = -100;</div><div>&nbsp; labelGender.Width = 300;</div><div>&nbsp; labelGender.clProSettings.FontColor = clAlphaColor.clHextoColor('#6482AD');</div><div>&nbsp; labelGender.clProSettings.FontSize = 14;</div><div>&nbsp; labelGender.SetclProSettings(labelGender.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; labelPassword = MyprofileForm.AddNewProLabel(Scroll, 'labelPassword', 'Password:&nbsp; '+Qry.FieldByName('PASSWORD').AsString);</div><div>&nbsp; labelPassword.Align = alCenter;</div><div>&nbsp; labelPassword.Margins.Bottom = -200;</div><div>&nbsp; labelPassword.Width = 300;</div><div>&nbsp; labelPassword.clProSettings.FontColor = clAlphaColor.clHextoColor('#6482AD');</div><div>&nbsp; labelPassword.clProSettings.FontSize = 14;</div><div>&nbsp; labelPassword.SetclProSettings(labelPassword.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; labelSidetitle2 = MyprofileForm.AddNewProLabel(Scroll, 'labelSidetitle2', 'Contact Information');</div><div>&nbsp; &nbsp; labelSidetitle2.Align = alCenter;</div><div>&nbsp; &nbsp; labelSidetitle2.Margins.Bottom = -300;</div><div>&nbsp; &nbsp; labelSidetitle2.Width = 300;</div><div>&nbsp; &nbsp; labelSidetitle2.clProSettings.FontColor = clAlphaColor.clHextoColor('#000000');</div><div>&nbsp; &nbsp; labelSidetitle2.clProSettings.FontSize = 18;</div><div>&nbsp; &nbsp; labelSidetitle2.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; &nbsp; labelSidetitle2.SetclProSettings(labelSidetitle2.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; labelPhone = MyprofileForm.AddNewProLabel(Scroll, 'labelPhone', 'Phone:&nbsp; '+Qry.FieldByName('PHONE').AsString);</div><div>&nbsp; labelPhone.Align = alCenter;</div><div>&nbsp; labelPhone.Margins.Bottom = -400;</div><div>&nbsp; labelPhone.Width = 300;</div><div>&nbsp; labelPhone.clProSettings.FontColor = clAlphaColor.clHextoColor('#6482AD');</div><div>&nbsp; labelPhone.clProSettings.FontSize = 14;</div><div>&nbsp; labelPhone.SetclProSettings(labelPhone.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; labelSidetitle3 = MyprofileForm.AddNewProLabel(Scroll, 'labelSidetitle3', 'Location');</div><div>&nbsp; &nbsp; labelSidetitle3.Align = alCenter;</div><div>&nbsp; &nbsp; labelSidetitle3.Margins.Bottom = -500;</div><div>&nbsp; &nbsp; labelSidetitle3.Width = 300;</div><div>&nbsp; &nbsp; labelSidetitle3.clProSettings.FontColor = clAlphaColor.clHextoColor('#000000');</div><div>&nbsp; &nbsp; labelSidetitle3.clProSettings.FontSize = 18;</div><div>&nbsp; &nbsp; labelSidetitle3.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; &nbsp; labelSidetitle3.SetclProSettings(labelSidetitle3.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; labelCity = MyprofileForm.AddNewProLabel(Scroll, 'labelCity', 'City:&nbsp; '+Qry.FieldByName('CITY').AsString);</div><div>&nbsp; labelCity.Align = alCenter;</div><div>&nbsp; labelCity.Margins.Bottom = -600;</div><div>&nbsp; labelCity.Width = 300;</div><div>&nbsp; labelCity.clProSettings.FontColor = clAlphaColor.clHextoColor('#6482AD');</div><div>&nbsp; labelCity.clProSettings.FontSize = 14;</div><div>&nbsp; labelCity.SetclProSettings(labelCity.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; bmiResult(BMI);</div><div><br></div><div><br></div><div>&nbsp; MyprofileForm.Run;</div><div>}</div><div><br></div><div><br></div><div>Kullanıcı profil fotoğrafı seçip geri gittiğinde fotoğrafın kalmasını istiyorum çünkü daha sonra bu fotoğrafı başka yerde kullanacağım. Sqlite ile fotoğrafı update etmeyi denedim fakat olmadı<img src="https://forum.clomosy.com.tr/smileys/smiley19.gif" border="0" alt="Cry" title="Cry" />. Hata almıyorum ama uygulama açılmıyor.&nbsp;&nbsp;<img src="https://forum.clomosy.com.tr/smileys/smiley19.gif" border="0" alt="Cry" title="Cry" /></div><div><br></div>]]>
   </description>
   <pubDate>Thu, 08 Aug 2024 15:35:01 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=850&amp;PID=1575#1575</guid>
  </item> 
 </channel>
</rss>