![]() |
AW: Was vermisst ihr in der RTL/VCL? Wünsche + Vorschläge!
Zitat:
Das steht in der dfm:
Code:
Ich habe Größe und auch Style explizit angepasst. In der MasterForm hab ich dann den Font.Name geändert und diese Form hatte dann auch den neuen Font.
inherited MyForm1: TMyForm1
Caption = 'MyForm1' Font.Height = -13 Font.Style = [fsBold] PixelsPerInch = 96 TextHeight = 15 end |
AW: Was vermisst ihr in der RTL/VCL? Wünsche + Vorschläge!
Zitat:
Code:
Dann ein Label drauf
object Form2: TForm2
Left = 0 Top = 0 Caption = 'Form2' ClientHeight = 293 ClientWidth = 385 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'Tahoma' Font.Style = [] OldCreateOrder = False PixelsPerInch = 96 TextHeight = 13 end
Code:
Dann von dem Label die Fontgröße geändert
object Form2: TForm2
Left = 0 Top = 0 Caption = 'Form2' ClientHeight = 293 ClientWidth = 385 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'Tahoma' Font.Style = [] OldCreateOrder = False PixelsPerInch = 96 TextHeight = 13 object Label1: TLabel Left = 48 Top = 24 Width = 31 Height = 13 Caption = 'Label1' end end
Code:
object Form2: TForm2
Left = 0 Top = 0 Caption = 'Form2' ClientHeight = 293 ClientWidth = 385 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'Tahoma' Font.Style = [] OldCreateOrder = False PixelsPerInch = 96 TextHeight = 13 object Label1: TLabel Left = 48 Top = 24 Width = 35 Height = 14 Caption = 'Label1' Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -12 Font.Name = 'Tahoma' Font.Style = [] ParentFont = False end end Nun steht der Fontname beim Label. Klar. Parentfont steht ja jetzt auf false. Wenn ich jetzt den Font des Formulars ändere bleibt das Label wie es ist. Das nur, weil ich die Größe geändert habe. |
AW: Was vermisst ihr in der RTL/VCL? Wünsche + Vorschläge!
Verwende DevExpress und dein Leiden hat ein Ende.
Gut. Ein anderes Leiden ("Wo ist mein Geld?") tritt an die Stelle. |
AW: Was vermisst ihr in der RTL/VCL? Wünsche + Vorschläge!
Zitat:
P.S.: Ausserdem ging es bei mir eher darum das zu schreiben, was ich gerne in der VCL/RTL hätte. |
AW: Was vermisst ihr in der RTL/VCL? Wünsche + Vorschläge!
Bleib mal locker. Wer gute Leistung will, muss halt zahlen. War schon immer so. Man kann sich Vieles wünschen, aber das sind eben Wünsche.
Aber klar: Macht Spaß. Wünschen, meine ich. Ach, und ja. Genau die DevExpress-Komponenten, in die man sich einarbeiten muss, weil sie doch etwas mehr Funktionen bieten. Das ist natürlich nicht für jeden das Richtige. |
AW: Was vermisst ihr in der RTL/VCL? Wünsche + Vorschläge!
Zitat:
Zitat:
Zitat:
Zitat:
|
AW: Was vermisst ihr in der RTL/VCL? Wünsche + Vorschläge!
Was mir fehlt? Frei nach Captain Picard: "Machen sie es so." :mrgreen:
Ok, bitte nicht ganz ernst nehmen, diesen Beitrag. (Das war der Teil meiner Antwort, die euch verunsichern könnte. ;) ) |
Alle Zeitangaben in WEZ +1. Es ist jetzt 15:48 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz