<?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 : bilgisayar ve telefon ekranında butonların kayması</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : bilgisayar ve telefon ekranında butonların kayması]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 08 May 2026 15:45:33 +0000</pubDate>
  <lastBuildDate>Fri, 08 May 2026 14:21:43 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>30</ttl>
  <WebWizForums:feedURL>https://forum.clomosy.com.tr/RSS_post_feed.asp?TID=1490</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[bilgisayar ve telefon ekranında butonların kayması : Telefon ve bilgisayar&#305;n geni&#351;lik...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1490&amp;PID=3414#3414</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=345">kaanl0</a><br /><strong>Konu:</strong> 1490<br /><strong>Gönderim Zamanı:</strong> 08&nbsp;Mayıs&nbsp;2026 Saat 14:21<br /><br />Telefon ve bilgisayarın genişlik ve uzunluk değerleri farklı olduğu için iki farklı cihazda farklı gözüküyor, Bunun için 2 yöntem önerebilirim<br><br>1. yöntem scaledlayout kullanmak aşağıda verdiğim kodu kullanıp kullanıp bütün componentlerin parentını form yerine scaledlayout'u yapacağız bu şekilde her cihazda aynı gözükecek.<br><br><div>var</div><div>&nbsp;MyForm:TCLForm;</div><div>&nbsp;ScaledLayout: TclScaledLayout;</div><div>&nbsp;testButton : TclButton;</div><div><br></div><div>{</div><div>MyForm = TCLForm.Create(Self);</div><div><br></div><div>ScaledLayout = MyForm.AddNewScaledLayout(MyForm, 'ScaledLayout');</div><div>ScaledLayout.Align = alClient;</div><div>ScaledLayout.OriginalHeight = 750;&nbsp;</div><div>ScaledLayout.OriginalWidth = 370;</div><div><br></div><div>testButton = MyForm.AddNewButton(ScaledLayout,'testButton','Click');</div><div>testButton.StyledSettings = ssFamily;</div><div>testButton.TextSettings.Font.Size = 20;</div><div>testButton.TextSettings.FontColor = clAlphaColor.clHexToColor('#8a067c');</div><div><br></div><div><br></div><div><br></div><div><br></div><div>clRTSetProperty(MyForm,'ClientHeight',750);</div><div>clRTSetProperty(MyForm,'ClientWidth',370);</div><div>MyForm.Run;</div><div>}<br><br><br>2. yöntem ise bütün widht height margin değerlerini responsive yapmak, aşağıda attığım şekilde mainformun boyutuna göre yüzdelik olarak hesaplıyor. Marginlerde top ve bottomlarda clheight left ve rightlarda clwidht kullanmalısın<br><br><div>&nbsp; TitlePnl.Height = (MainForm.clHeight*18)/100;</div><div>&nbsp; TitlePnl.Width = (MainForm.clWidth*100)/100;</div><br></div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516"</a> integrity="sha512-8DS7rgIrAmghBFwoOTujcf6D9rXvH8xm8JQ1Ja01h9QX8EzXldiszufYa4IFfKdLUKTTrnSFXLDkUEOTrZQ8Qg==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Fri, 08 May 2026 14:21:43 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1490&amp;PID=3414#3414</guid>
  </item> 
  <item>
   <title><![CDATA[bilgisayar ve telefon ekranında butonların kayması : Var MainForm: TclForm; ImgMain,...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1490&amp;PID=3411#3411</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=444">rümeysa</a><br /><strong>Konu:</strong> 1490<br /><strong>Gönderim Zamanı:</strong> 08&nbsp;Mayıs&nbsp;2026 Saat 12:44<br /><br /><div><div>Var</div><div>&nbsp; MainForm: TclForm;</div><div>&nbsp; ImgMain, ImgQuestion: TclImage;</div><div>&nbsp; BtnMag1, BtnMag2, BtnMag3, BtnMag4, BtnMag5, BtnMag6: TclProButton;</div><div>&nbsp; BtnA, BtnT, BtnG, BtnC: TclProButton;</div><div>&nbsp; QuestionPanel, TopHUD, CardPanel, ButtonPanel: TclProPanel;</div><div>&nbsp; LblScore, LblHealth, LblTitle, LblSub: TclProLabel;</div><div>&nbsp; score, health, solved: Integer;</div><div>&nbsp; currentAnswer, currentMag: String;</div><div>&nbsp; done1, done2, done3, done4, done5, done6: Boolean;</div><div><br></div><div>void UpdateHUD</div><div>{</div><div>&nbsp; LblScore.Text = 'SKOR: ' + IntToStr(score);</div><div>&nbsp; if (health == 3) LblHealth.Text = 'HAK: &#10084;&#65039;&#10084;&#65039;&#10084;&#65039;';</div><div>&nbsp; else if (health == 2) LblHealth.Text = 'HAK: &#10084;&#65039;&#10084;&#65039;';</div><div>&nbsp; else if (health == 1) LblHealth.Text = 'HAK: &#10084;&#65039;';</div><div>&nbsp; else LblHealth.Text = 'HAK: BİTTİ';</div><div><br></div><div>&nbsp; if (done1 == True) BtnMag1.Visible = False; else BtnMag1.Visible = True;</div><div>&nbsp; if (done2 == True) BtnMag2.Visible = False; else BtnMag2.Visible = True;</div><div>&nbsp; if (done3 == True) BtnMag3.Visible = False; else BtnMag3.Visible = True;</div><div>&nbsp; if (done4 == True) BtnMag4.Visible = False; else BtnMag4.Visible = True;</div><div>&nbsp; if (done5 == True) BtnMag5.Visible = False; else BtnMag5.Visible = True;</div><div>&nbsp; if (done6 == True) BtnMag6.Visible = False; else BtnMag6.Visible = True;</div><div>}</div><div><br></div><div>void ShowQuestion</div><div>{</div><div>&nbsp; ImgMain.Visible = False;</div><div>&nbsp; TopHUD.Visible = False;</div><div>&nbsp; BtnMag1.Visible = False; BtnMag2.Visible = False; BtnMag3.Visible = False;</div><div>&nbsp; BtnMag4.Visible = False; BtnMag5.Visible = False; BtnMag6.Visible = False;</div><div>&nbsp; QuestionPanel.Visible = True;</div><div>}</div><div><br></div><div>void ShowMain</div><div>{</div><div>&nbsp; ImgMain.Visible = True;</div><div>&nbsp; TopHUD.Visible = True;</div><div>&nbsp; QuestionPanel.Visible = False;</div><div>&nbsp; UpdateHUD;</div><div>}</div><div><br></div><div>void ResetGame</div><div>{</div><div>&nbsp; score = 0; health = 3; solved = 0;</div><div>&nbsp; done1 = False; done2 = False; done3 = False;</div><div>&nbsp; done4 = False; done5 = False; done6 = False;</div><div>&nbsp; ShowMain;</div><div>}</div><div><br></div><div>void CheckAnswer(ans: String)</div><div>{</div><div>&nbsp; if (ans == currentAnswer) {</div><div>&nbsp; &nbsp; ShowMessage('Doğru &#9989;');</div><div>&nbsp; &nbsp; score = score + 20; solved = solved + 1;</div><div>&nbsp; &nbsp; if (currentMag == '1') done1 = True;</div><div>&nbsp; &nbsp; if (currentMag == '2') done2 = True;</div><div>&nbsp; &nbsp; if (currentMag == '3') done3 = True;</div><div>&nbsp; &nbsp; if (currentMag == '4') done4 = True;</div><div>&nbsp; &nbsp; if (currentMag == '5') done5 = True;</div><div>&nbsp; &nbsp; if (currentMag == '6') done6 = True;</div><div><br></div><div>&nbsp; &nbsp; if (solved == 6) {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Tebrikler &#127881; Sarmal Tamamlandı!');</div><div>&nbsp; &nbsp; &nbsp; ResetGame;</div><div>&nbsp; &nbsp; } else ShowMain;</div><div>&nbsp; } else {</div><div>&nbsp; &nbsp; ShowMessage('Yanlış &#10060;');</div><div>&nbsp; &nbsp; health = health - 1; score = score - 10;</div><div>&nbsp; &nbsp; if (health &lt;= 0) {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Hakkınız Bitti!');</div><div>&nbsp; &nbsp; &nbsp; ResetGame;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div>&nbsp; UpdateHUD;</div><div>}</div><div><br></div><div>void ClickA { CheckAnswer('A'); }</div><div>void ClickT { CheckAnswer('T'); }</div><div>void ClickG { CheckAnswer('G'); }</div><div>void ClickC { CheckAnswer('C'); }</div><div><br></div><div>void Open1 { currentMag = '1'; currentAnswer = 'T'; MainForm.setImage(ImgQuestion, '<a href="https://resmim.net/cdn/2026/05/02/Ce0Anb.jpg" target="_blank" rel="nofollow">https://resmim.net/cdn/2026/05/02/Ce0Anb.jpg</a>'); ShowQuestion; }</div><div>void Open2 { currentMag = '2'; currentAnswer = 'C'; MainForm.setImage(ImgQuestion, '<a href="https://resmim.net/cdn/2026/05/02/Ce0uED.jpg" target="_blank" rel="nofollow">https://resmim.net/cdn/2026/05/02/Ce0uED.jpg</a>'); ShowQuestion; }</div><div>void Open3 { currentMag = '3'; currentAnswer = 'G'; MainForm.setImage(ImgQuestion, '<a href="https://resmim.net/cdn/2026/05/02/Ce0VFy.jpg" target="_blank" rel="nofollow">https://resmim.net/cdn/2026/05/02/Ce0VFy.jpg</a>'); ShowQuestion; }</div><div>void Open4 { currentMag = '4'; currentAnswer = 'G'; MainForm.setImage(ImgQuestion, '<a href="https://resmim.net/cdn/2026/05/02/Ce07uc.jpg" target="_blank" rel="nofollow">https://resmim.net/cdn/2026/05/02/Ce07uc.jpg</a>'); ShowQuestion; }</div><div>void Open5 { currentMag = '5'; currentAnswer = 'A'; MainForm.setImage(ImgQuestion, '<a href="https://resmim.net/cdn/2026/05/02/Ce0iD7.jpg" target="_blank" rel="nofollow">https://resmim.net/cdn/2026/05/02/Ce0iD7.jpg</a>'); ShowQuestion; }</div><div>void Open6 { currentMag = '6'; currentAnswer = 'T'; MainForm.setImage(ImgQuestion, '<a href="https://resmim.net/cdn/2026/05/02/Ce0RPq.jpg" target="_blank" rel="nofollow">https://resmim.net/cdn/2026/05/02/Ce0RPq.jpg</a>'); ShowQuestion; }</div><div><br></div><div>void SetupUI</div><div>{</div><div>&nbsp; MainForm = TclForm.Create(Self);</div><div>&nbsp; score = 0; health = 3; solved = 0;</div><div><br></div><div>&nbsp; // ANA EKRAN TASARIMI&nbsp;</div><div>&nbsp; ImgMain = MainForm.AddNewImage(MainForm, 'ImgMain');</div><div>&nbsp; ImgMain.Align = alClient;</div><div>&nbsp; MainForm.setImage(ImgMain, '<a href="https://resmim.net/cdn/2026/05/07/Cri56b.jpg" target="_blank" rel="nofollow">https://resmim.net/cdn/2026/05/07/Cri56b.jpg</a>');</div><div><br></div><div>&nbsp; // Skor ve Hak Paneli (Sol Üste Sabitlendi)</div><div>&nbsp; TopHUD = MainForm.AddNewProPanel(MainForm, 'TopHUD');</div><div>&nbsp; TopHUD.Align = alNone;</div><div>&nbsp; TopHUD.SetBounds(20, 20, 150, 80);</div><div>&nbsp;&nbsp;</div><div>&nbsp; LblScore = MainForm.AddNewProLabel(TopHUD, 'LblScore', 'SKOR: 0');</div><div>&nbsp; LblScore.Align = alTop; LblScore.Margins.Top = 10; LblScore.Margins.Left = 10;</div><div>&nbsp;&nbsp;</div><div>&nbsp; LblHealth = MainForm.AddNewProLabel(TopHUD, 'LblHealth', 'HAK: &#10084;&#65039;&#10084;&#65039;&#10084;&#65039;');</div><div>&nbsp; LblHealth.Align = alTop; LblHealth.Margins.Top = 5; LblHealth.Margins.Left = 10;</div><div><br></div><div>&nbsp; // BÜYÜTEÇLER (Koordinatlar tam sarmal üzerine göre )</div><div>&nbsp; // Sol taraf</div><div>&nbsp; BtnMag1 = MainForm.AddNewProButton(MainForm, 'BtnMag1', '&#128269;');</div><div>&nbsp; BtnMag1.Align = alNone; BtnMag1.SetBounds(50, 180, 55, 55); MainForm.AddNewEvent(BtnMag1, tbeOnClick, 'Open1');</div><div><br></div><div>&nbsp; BtnMag2 = MainForm.AddNewProButton(MainForm, 'BtnMag2', '&#128269;');</div><div>&nbsp; BtnMag2.Align = alNone; BtnMag2.SetBounds(50, 410, 55, 55); MainForm.AddNewEvent(BtnMag2, tbeOnClick, 'Open2');</div><div><br></div><div>&nbsp; BtnMag3 = MainForm.AddNewProButton(MainForm, 'BtnMag3', '&#128269;');</div><div>&nbsp; BtnMag3.Align = alNone; BtnMag3.SetBounds(50, 640, 55, 55); MainForm.AddNewEvent(BtnMag3, tbeOnClick, 'Open3');</div><div><br></div><div>&nbsp; // Sağ taraf</div><div>&nbsp; BtnMag4 = MainForm.AddNewProButton(MainForm, 'BtnMag4', '&#128269;');</div><div>&nbsp; BtnMag4.Align = alNone; BtnMag4.SetBounds(300, 280, 55, 55); MainForm.AddNewEvent(BtnMag4, tbeOnClick, 'Open4');</div><div><br></div><div>&nbsp; BtnMag5 = MainForm.AddNewProButton(MainForm, 'BtnMag5', '&#128269;');</div><div>&nbsp; BtnMag5.Align = alNone; BtnMag5.SetBounds(300, 510, 55, 55); MainForm.AddNewEvent(BtnMag5, tbeOnClick, 'Open5');</div><div><br></div><div>&nbsp; BtnMag6 = MainForm.AddNewProButton(MainForm, 'BtnMag6', '&#128269;');</div><div>&nbsp; BtnMag6.Align = alNone; BtnMag6.SetBounds(300, 740, 55, 55); MainForm.AddNewEvent(BtnMag6, tbeOnClick, 'Open6');</div><div><br></div><div>&nbsp; // SORU EKRANI TASARIMI&nbsp;</div><div>&nbsp; QuestionPanel = MainForm.AddNewProPanel(MainForm, 'QuestionPanel');</div><div>&nbsp; QuestionPanel.Align = alClient;</div><div>&nbsp; QuestionPanel.Visible = False;</div><div><br></div><div>&nbsp; LblTitle = MainForm.AddNewProLabel(QuestionPanel, 'LblTitle', 'DNA TAMAMLAMA');</div><div>&nbsp; LblTitle.Align = alNone; LblTitle.SetBounds(60, 40, 280, 40);</div><div><br></div><div>&nbsp; CardPanel = MainForm.AddNewProPanel(QuestionPanel, 'CardPanel');</div><div>&nbsp; CardPanel.Align = alNone; CardPanel.SetBounds(40, 110, 320, 260);</div><div><br></div><div>&nbsp; ImgQuestion = MainForm.AddNewImage(CardPanel, 'ImgQuestion');</div><div>&nbsp; ImgQuestion.Align = alClient; ImgQuestion.Margins.Left = 10; ImgQuestion.Margins.Right = 10;</div><div><br></div><div>&nbsp; ButtonPanel = MainForm.AddNewProPanel(QuestionPanel, 'ButtonPanel');</div><div>&nbsp; ButtonPanel.Align = alNone; ButtonPanel.SetBounds(0, 420, 400, 280);</div><div><br></div><div>&nbsp; // Butonlar&nbsp;</div><div>&nbsp; BtnA = MainForm.AddNewProButton(ButtonPanel, 'BtnA', 'A');</div><div>&nbsp; BtnA.Align = alNone; BtnA.SetBounds(20, 20, 160, 90); MainForm.AddNewEvent(BtnA, tbeOnClick, 'ClickA');</div><div><br></div><div>&nbsp; BtnT = MainForm.AddNewProButton(ButtonPanel, 'BtnT', 'T');</div><div>&nbsp; BtnT.Align = alNone; BtnT.SetBounds(210, 20, 160, 90); MainForm.AddNewEvent(BtnT, tbeOnClick, 'ClickT');</div><div><br></div><div>&nbsp; BtnG = MainForm.AddNewProButton(ButtonPanel, 'BtnG', 'G');</div><div>&nbsp; BtnG.Align = alNone; BtnG.SetBounds(20, 140, 160, 90); MainForm.AddNewEvent(BtnG, tbeOnClick, 'ClickG');</div><div><br></div><div>&nbsp; BtnC = MainForm.AddNewProButton(ButtonPanel, 'BtnC', 'C');</div><div>&nbsp; BtnC.Align = alNone; BtnC.SetBounds(210, 140, 160, 90); MainForm.AddNewEvent(BtnC, tbeOnClick, 'ClickC');</div><div><br></div><div>&nbsp; UpdateHUD;</div><div>&nbsp; MainForm.Run;</div><div>}</div><div><br></div><div>{</div><div>&nbsp; SetupUI;</div><div>}</div><div><br></div><div>kod açıldığında telefon ekranında büyüteçlerin yerleri istenilen gibi olurken bilgisayar ekranında büyüteçlerin yerleri kaymış olarak gözüküyor nasıl düzeltebilirim ve büyüteçler emoji şeklinde ekli biraz daha nasıl büyültülebilirim</div><div><br></div><div><br></div></div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516"</a> integrity="sha512-8DS7rgIrAmghBFwoOTujcf6D9rXvH8xm8JQ1Ja01h9QX8EzXldiszufYa4IFfKdLUKTTrnSFXLDkUEOTrZQ8Qg==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Fri, 08 May 2026 12:44:16 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1490&amp;PID=3411#3411</guid>
  </item> 
 </channel>
</rss>