Sayfayı Yazdır | Pencereyi Kapat

TCLProLabel

Nereden Yazdırıldığı: Clomosy | Forum
Kategori: Genel Programlama
Forum Adı: Clomosy ile değişken kullanımı
Forum Tanımlaması: TRObject dili ile değişken tanımlaması ve ekranda gösterme
URL: https://forum.clomosy.com.tr/forum_posts.asp?TID=1390
Tarih: 24 Şubat 2026 Saat 18:33
Program Versiyonu: Web Wiz Forums 12.07 - https://www.webwizforums.com


Konu: TCLProLabel
Mesajı Yazan: sumeyyesoy
Konu: TCLProLabel
Mesaj Tarihi: 24 Şubat 2026 Saat 14:31
Projemde tclproLabel kullandığım bir kısım var arka planını renklendirmek istiyorum clSetting ile denedim ama renklendirme işlemi gerçekleşmedi. Nasıl arka planı renklendirebilirim? https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" rel="nofollow - https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{"version":"2024.11.0","token":"439455f3e46c40b98dbd42a2f1a954d8","r":1,"server_timing":{"name":{"cfCacheStatus":true,"cfEdge":true,"cfExtPri":true,"cfL4":true,"cfOrigin":true,"cfSpeedBrain":true},"location_startswith":null}}" crossorigin="anonymous">



Cevaplar:
Mesajı Yazan: sumeyyesoy
Mesaj Tarihi: 24 Şubat 2026 Saat 14:51
  headerLbl= mainForm.AddNewProLabel(mainForm,'headerLbl','Yeni Geri Bildirim Oluştur');
  headerLbl.Align = alMostTop;
  headerLbl.Margins.Top = 20;
  headerLbl.Height = 50;
  headerLbl.Margins.Left = 10; 
https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" rel="nofollow - https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{"version":"2024.11.0","token":"439455f3e46c40b98dbd42a2f1a954d8","r":1,"server_timing":{"name":{"cfCacheStatus":true,"cfEdge":true,"cfExtPri":true,"cfL4":true,"cfOrigin":true,"cfSpeedBrain":true},"location_startswith":null}}" crossorigin="anonymous">


Mesajı Yazan: Nevra Nur
Mesaj Tarihi: 24 Şubat 2026 Saat 14:51
Merhaba Sümeyye,
var
  LoginForm: TclForm;
  LogContainer: TclProPanel;
  LogTitle: TclProLabel;
{
  LoginForm = TclForm.Create(Self);
  LoginForm.SetFormColor('#F3F4F6', '', clGNone);
  
  LogContainer = LoginForm.AddNewProPanel(LoginForm, 'LogContainer');
  LogContainer.Align = alCenter; 
  LogContainer.Width = 300; 
  LogContainer.Height = 150;
  clComponent.SetupComponent(LogContainer, '{"BackgroundColor":"#FFFFFF", "RoundHeight":15, "BorderColor":"#E5E7EB", "BorderWidth":1}');

  LogTitle = LoginForm.AddNewProLabel(LogContainer, 'LogTitle', 'Görev Yöneticisine Giriş');
  LogTitle.Align = alTop; 
  LogTitle.Height = 50; 
  LogTitle.Margins.Top = 15;
  LogTitle.Margins.Left = 15;
  LogTitle.Margins.Right = 15; 
  
  clComponent.SetupComponent(LogTitle, '{"TextHorizontalAlign":"center", "FontSize":18, "TextBold":"yes", "TextColor":"#ffffff", "BackgroundColor":"#750000", "RoundHeight":8}');
  
  LoginForm.Run;
}  bu yapıyı inceleyebilirsin.


Mesajı Yazan: kaanl0
Mesaj Tarihi: 24 Şubat 2026 Saat 14:57
  headerLbl.clProSettings.backgroundcolor = clAlphaColor.clHexToColor('#0e0c88');
  headerLbl.SetclProSettings(headerLbl.clProSettings);

Bu ikisini ekleyerek arkaplanı renklendirebilirsin.
https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" rel="nofollow - https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{"version":"2024.11.0","token":"439455f3e46c40b98dbd42a2f1a954d8","r":1,"server_timing":{"name":{"cfCacheStatus":true,"cfEdge":true,"cfExtPri":true,"cfL4":true,"cfOrigin":true,"cfSpeedBrain":true},"location_startswith":null}}" crossorigin="anonymous">


Mesajı Yazan: kaanl0
Mesaj Tarihi: 24 Şubat 2026 Saat 14:59
Nevra Nur Merhaba Clomosy'de artık SetupComponent yapısını kullanmıyoruz. ClProSettings kullanımını dökümantasyon sitesinden incelemeni öneririm


Mesajı Yazan: sumeyyesoy
Mesaj Tarihi: 24 Şubat 2026 Saat 15:07
Teşekkürler. https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" rel="nofollow - https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{"version":"2024.11.0","token":"439455f3e46c40b98dbd42a2f1a954d8","r":1,"server_timing":{"name":{"cfCacheStatus":true,"cfEdge":true,"cfExtPri":true,"cfL4":true,"cfOrigin":true,"cfSpeedBrain":true},"location_startswith":null}}" crossorigin="anonymous">



Sayfayı Yazdır | Pencereyi Kapat

Forum Software by Web Wiz Forums® version 12.07 - https://www.webwizforums.com
Copyright ©2001-2024 Web Wiz Ltd. - https://www.webwiz.net