Sayfayı Yazdır | Pencereyi Kapat

dikey kaydırma çubuğu

Nereden Yazdırıldığı: Clomosy | Forum
Kategori: Genel Programlama
Forum Adı: Genel İşlemler
Forum Tanımlaması: TRObject dili ile programlama yaparken karşılaşılan genel işlemler
URL: https://forum.clomosy.com.tr/forum_posts.asp?TID=1096
Tarih: 17 Temmuz 2025 Saat 23:24
Program Versiyonu: Web Wiz Forums 12.07 - https://www.webwizforums.com


Konu: dikey kaydırma çubuğu
Mesajı Yazan: Aysu Sena Demirel
Konu: dikey kaydırma çubuğu
Mesaj Tarihi: 17 Temmuz 2025 Saat 12:48
var //unit1 
aForm : TclStyleForm; 
javaNedirBtn,javaKullanimBtn,javaOzellikBtn,javaKurulumBtn,close1,close2,close3,close4 : TClProButton; 
test1,test2,test3,test4 : TclProPanel; 
lbl1,lbl2,lbl3,lbl4 : TClLabel; 

void ClosePanel1; 
  test1.Visible = False; 

void ClosePanel2; 
  test2.Visible = False; 

void ClosePanel3; 
  test3.Visible = False; 

void ClosePanel4; 
  test4.Visible = False; 

void OnClick1; 
  test1 = aForm.AddNewProPanel(aForm,'test1'); 
  clComponent.SetupComponent(test1, 
  '{"Align" : "Center","MarginBottom":100,"MarginTop":600,"Width" :300, "Height":500,"RoundHeight": 10,"RoundWidth": 10,"BorderWidth": 2,"BorderColor": "#1976d2"}'); 
  
  lbl1= aForm.AddNewLabel(test1,'lbl1','JAVA NEDIR?

Java, 1995 yılında Sun Microsystems tarafından geliştirilmiş nesne yönelimli programlama dilidir.

TEMEL ÖZELLIKLERI:
• Platform bağımsız çalışır
• Güvenli ve kararlı
• Kolay öğrenilir
• Geniş kütüphane desteği
• Çoklu platform desteği

KULLANIM ALANLARI:
• Web uygulamaları
• Mobil uygulamalar (Android)
• Kurumsal yazılımlar
• Masaüstü uygulamalar

AVANTAJLARI:
• Hızlı geliştirme
• Güvenilir çalışma
• Büyük topluluk desteği
• İş imkanları fazla' ) ; 

  lbl1.Margins.Left= 15; 
  lbl1.Margins.Right= 15;  
  lbl1.Margins.Top= 15; 
  lbl1.Margins.Bottom= 70; 
  lbl1.Height=30; 
  lbl1.align = alClient; 
  lbl1.AutoSize = true; 
  lbl1.WordWrap = True; 
  lbl1.StyledSettings = ssFamily; 
  lbl1.textSettings.Font.Size = 12; 
  

  close1 = aForm.AddNewProButton(test1, 'close1', 'Kapat'); 
  clComponent.SetupComponent(close1, 
  '{"Align": "Bottom", "Width": 120, "Height": 50, "MarginBottom": 15, "MarginLeft": 25, "MarginRight": 25, "BackgroundColor":"#1976d2","TextColor":"#ffffff","TextHorizontalAlign": "center", "TextBold":"yes", "RoundHeight":15, "RoundWidth":15}'); 
  aForm.AddNewEvent(close1, tbeOnClick, 'ClosePanel1'); 

void OnClick2; 
 test2 = aForm.AddNewProPanel(aForm,'test2'); 
  clComponent.SetupComponent(test2, 
  '{"Align" : "Center","MarginBottom":100,"MarginTop":600,"Width" :300, "Height":500,"RoundHeight": 10,"RoundWidth": 10,"BorderWidth": 2,"BorderColor": "#1565c0"}'); 

  lbl2= aForm.AddNewLabel(test2, 'lbl2','JAVA KULLANIM ALANLARI

Java farklı sektörlerde yaygın olarak kullanılmaktadır.

BAŞLICA ALANLAR:
• Mobil Uygulama Geliştirme
  - Android uygulamaları
  - Google Play Store uygulamaları
  
• Web Geliştirme
  - Backend web uygulamaları
  - JSP ve Servlets
  - Spring Framework
  
• Kurumsal Uygulamalar
  - Bankacılık sistemleri
  - E-ticaret uygulamaları
  - CRM sistemleri
  
• Bilimsel Uygulamalar
  - Veri analizi
  - Büyük veri işleme
  - Bilimsel simülasyonlar
  
• Oyun Geliştirme
  - Minecraft
  - Mobil oyunlar
  
• Yapay Zeka
  - Makine öğrenmesi
  - Veri analizi

KULLANAN ŞIRKETLER:
• Google, Amazon, Netflix
• LinkedIn, Uber, Airbnb
• Oracle, IBM, Microsoft'); 

  lbl2.Margins.Left= 15; 
  lbl2.Margins.Right= 15;  
  lbl2.Margins.Top= 15; 
  lbl2.Margins.Bottom= 70; 
  lbl2.Height=30; 
  lbl2.align = alClient; 
  lbl2.AutoSize = true; 
  lbl2.WordWrap = True; 
  lbl2.StyledSettings = ssFamily; 
  lbl2.textSettings.Font.Size = 12; 
  

  close2 = aForm.AddNewProButton(test2, 'close2', 'Kapat'); 
  clComponent.SetupComponent(close2, 
  '{"Align": "Bottom", "Width": 120, "Height": 50, "MarginBottom": 15, "MarginLeft": 25, "MarginRight": 25, "BackgroundColor":"#1565c0","TextColor":"#ffffff","TextHorizontalAlign": "center", "TextBold":"yes", "RoundHeight":15, "RoundWidth":15}'); 
  aForm.AddNewEvent(close2, tbeOnClick, 'ClosePanel2'); 

void OnClick3; 
test3 = aForm.AddNewProPanel(aForm,'test3'); 
  clComponent.SetupComponent(test3, 
  '{"Align" : "Center","MarginBottom":100,"MarginTop":600,"Width" :300, "Height":500,"RoundHeight": 10,"RoundWidth": 10,"BorderWidth": 2,"BorderColor": "#42a5f5"}'); 
  
  lbl3=aForm.AddNewLabel(test3, 'lbl3','JAVA ÖZELLIKLERI VE AVANTAJLARI

Java programlama dilinin başlıca özellikleri:

TEMEL ÖZELLIKLER:
• Nesne Yönelimli Programlama (OOP)
  - Sınıflar ve nesneler
  - Kalıtım, kapsülleme
  - Çok biçimlilik
  
• Platform Bağımsızlığı
  - Farklı işletim sistemlerinde çalışır
  - JVM desteği
  
• Güvenlik
  - Çok katmanlı güvenlik
  - Güvenli çalışma ortamı
  
• Çoklu İş Parçacığı
  - Paralel işlem desteği
  - Performans artışı
  
• Bellek Yönetimi
  - Otomatik bellek temizleme
  - Garbage Collection
  
• Zengin Kütüphane
  - Hazır sınıflar
  - API desteği
  
• Yüksek Performans
  - Hızlı çalışma
  - Optimize edilmiş kod

AVANTAJLARI:
• Kolay öğrenilir
• Güvenilir çalışır
• Geniş iş imkanları
• Büyük topluluk desteği'); 

 lbl3.Margins.Left= 15; 
  lbl3.Margins.Right= 15;  
  lbl3.Margins.Top= 15; 
  lbl3.Margins.Bottom= 70; 
  lbl3.Height=30; 
  lbl3.align = alClient; 
  lbl3.AutoSize = true; 
  lbl3.WordWrap = True; 
  lbl3.StyledSettings = ssFamily; 
  lbl3.textSettings.Font.Size = 12; 
 

  close3 = aForm.AddNewProButton(test3, 'close3', 'Kapat'); 
  clComponent.SetupComponent(close3, 
  '{"Align": "Bottom", "Width": 120, "Height": 50, "MarginBottom": 15, "MarginLeft": 25, "MarginRight": 25, "BackgroundColor":"#42a5f5","TextColor":"#ffffff","TextHorizontalAlign": "center", "TextBold":"yes", "RoundHeight":15, "RoundWidth":15}'); 
  aForm.AddNewEvent(close3, tbeOnClick, 'ClosePanel3'); 

void OnClick4; 
  test4 = aForm.AddNewProPanel(aForm,'test4'); 
  clComponent.SetupComponent(test4, 
  '{"Align" : "Center","MarginBottom":100,"MarginTop":600,"Width" :300, "Height":500,"RoundHeight": 10,"RoundWidth": 10,"BorderWidth": 2,"BorderColor": "#0d47a1"}'); 

  lbl4= aForm.AddNewLabel(test4, 'lbl4','JAVA KURULUM VE ÖRNEK KOD

Java kurulum adımları:

KURULUM ADIMLARI:
• Sistem Gereksinimleri
  - Windows/Linux/macOS
  - Minimum 128 MB RAM
  - 124 MB disk alanı
  
• Java İndirme
  - Oracle.com adresinden JDK indir
  - İşletim sisteminize uygun versiyon
  
• Kurulum
  - İndirilen dosyayı çalıştır
  - Kurulum sihirbazını takip et
  - PATH değişkenini ayarla
  
• Doğrulama
  - Komut satırında "java -version"
  - Versiyon bilgilerini kontrol et

ÖRNEK KOD:
public class Main {
    public static void main(String[] args) {
        System.out.println("Hello World");
    }
}

ÇALIŞTIRMA:
• Kodu Main.java olarak kaydet
• Komut satırında: javac Main.java
• Çalıştır: java Main
• Sonuç: Hello World

GELIŞTIRME ORTAMLARI:
• IntelliJ IDEA
• Eclipse IDE
• NetBeans
• Visual Studio Code'); 

  lbl4.Margins.Left= 15; 
  lbl4.Margins.Right= 15;  
  lbl4.Margins.Top= 15; 
  lbl4.Margins.Bottom= 70; 
  lbl4.Height=30; 
  lbl4.align = alClient; 
  lbl4.AutoSize = true; 
  lbl4.WordWrap = True; 
  lbl4.StyledSettings = ssFamily; 
  lbl4.textSettings.Font.Size = 12; 
 
  
  close4 = aForm.AddNewProButton(test4, 'close4', 'Kapat'); 
  clComponent.SetupComponent(close4, 
  '{"Align": "Bottom", "Width": 120, "Height": 50, "MarginBottom": 15, "MarginLeft": 25, "MarginRight": 25, "BackgroundColor":"#0d47a1","TextColor":"#ffffff","TextHorizontalAlign": "center", "TextBold":"yes", "RoundHeight":15, "RoundWidth":15}'); 
  aForm.AddNewEvent(close4, tbeOnClick, 'ClosePanel4'); 

   aForm = TclStyleForm.Create(Self); 
   aForm.SetFormColor('#a0d3fa','', clGNone); 

   javaNedirBtn=aForm.AddNewProButton(aForm,'javaNedirBtn','Java Nedir?'); 
   javaKullanimBtn=aForm.AddNewProButton(aForm,'javaKullanimBtn', 'Java Kullanım Alanları'); 
   javaOzellikBtn=aForm.AddNewProButton(aForm,'javaOzellikBtn', 'Java Özellikleri'); 
   javaKurulumBtn=aForm.AddNewProButton(aForm,'javaKurulumBtn', 'Java Kurulum Ve Örnek Kod'); 
  

   clComponent.SetupComponent(javaNedirBtn, 
  '{ 
    "Align":"Bottom", 
    "TextHorizontalAlign":"center",  
    "MarginBottom":25, 
    "MarginLeft":25, 
    "MarginRight":25, 
    "BackgroundColor":"#1976d2",
    "TextColor":"#ffffff",
    "TextBold":"yes",
    "RoundHeight":15,
    "RoundWidth":15,
    "width":120, 
    "Height":60 }'); 

   clComponent.SetupComponent(javaKullanimBtn, 
  '{ 
    "Align":"Bottom", 
    "TextHorizontalAlign":"center",
    "MarginBottom":25, 
    "MarginLeft":25, 
    "MarginRight":25, 
    "BackgroundColor":"#1565c0",
    "TextColor":"#ffffff",
    "TextBold":"yes",
    "RoundHeight":15,
    "RoundWidth":15,
    "width":120, 
    "Height":60 }'); 

   clComponent.SetupComponent(javaOzellikBtn, 
  '{ 
    "Align":"Bottom", 
    "TextHorizontalAlign":"center",
    "MarginBottom":25, 
    "MarginLeft":25, 
    "MarginRight":25, 
    "BackgroundColor":"#42a5f5",
    "TextColor":"#ffffff",
    "TextBold":"yes",
    "RoundHeight":15,
    "RoundWidth":15,
    "width":120, 
    "Height":60 }'); 

   clComponent.SetupComponent(javaKurulumBtn, 
  '{ 
    "Align":"Bottom", 
    "TextHorizontalAlign":"center",
    "MarginBottom":25, 
    "MarginLeft":25, 
    "MarginRight":25, 
    "BackgroundColor":"#0d47a1",
    "TextColor":"#ffffff",
    "TextBold":"yes",
    "RoundHeight":15,
    "RoundWidth":15,
    "width":120, 
    "Height":60 }'); 

     aForm.AddNewEvent(javaNedirBtn,tbeOnClick,'OnClick1'); 
     aForm.AddNewEvent(javaKullanimBtn,tbeOnClick,'OnClick2'); 
     aForm.AddNewEvent(javaOzellikBtn,tbeOnClick,'OnClick3'); 
     aForm.AddNewEvent(javaKurulumBtn,tbeOnClick,'OnClick4'); 

   aForm.Run; 
  }   Label içine yazdığım bilgiler dışarı taşıyor dikey kaydırma çubuğu eklemek istiyorum ne yapmalıyım?



Cevaplar:
Mesajı Yazan: Sudesigirci
Mesaj Tarihi: 17 Temmuz 2025 Saat 13:20
Merhaba Aysu ,
dikey kaydırma yapmak için TclVertScrollBox bileşenini kullanabilirsin 
döküman:
https://www.docs.clomosy.com/index.php?title=TclVertScrollBox" rel="nofollow - https://www.docs.clomosy.com/index.php?title=TclVertScrollBox
youtube:
https://youtu.be/5YYSiCxpI48?si=-ni5JOqceQ8xKhZT" rel="nofollow - https://youtu.be/5YYSiCxpI48?si=-ni5JOqceQ8xKhZT

ayrıca Setupcomponent artık kullanılmıyor diye biliyorum bunun yerine diğer bileşenlerde yaptığın gibi clProSettings kullanabilirsin
İyi Çalışmalar dilerim



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