![]() |
Font.Charset für ganz Form setzen?
Hallo,
ist es möglich mit einem Befehl oder ein paar Zeilen Code alle Komponenten im Programm bzw. Form auf Font.Charset := xxx setzen? Also nicht jede Komponente einzeln, sondern alles auf ein mal. Danke! |
Re: Font.Charset für ganz Form setzen?
Wenn duchgängig ParentFont = true ist, genügt es den Font des Forms zu ändern.
|
Re: Font.Charset für ganz Form setzen?
Wie? :gruebel: Hab irgendwie nicht verstanden... :gruebel:
|
Re: Font.Charset für ganz Form setzen?
Wenn du ein beliebiges Control auf ein Form platzierst, ist standardmäßig das Property ParentForm auf true gesetzt. Damit übernimmt das Control den Font seines Parent - in diesem Fall des Forms. Das ParentFont wird automatisch auf False gesetzt, wenn in einem Control eine Font-Eigenschaft verändert wird. Sollte das nicht geschehen sein und alle ParentFont auf true stehen, bewirkt eine Änderung des Form-Fonts eine Änderung der Fonts aller enthaltenen Controls.
|
Re: Font.Charset für ganz Form setzen?
Ok danke :thumb:
Aber Form1 hat auch die Eigenschaft ParentFont, was ist dann dem Form1 Parent? |
Re: Font.Charset für ganz Form setzen?
Zitat:
Willst du über Font.Charset einen Unicodesupport realisieren? Ich würde das nicht machen da es viele nicht lösbare Ecken gibt. Wenn schon Unicode dann D2009, ElPack oder TNTWare. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 08:17 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