Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Windows Fonts in ComboBox laden ? (https://www.delphipraxis.net/118166-windows-fonts-combobox-laden.html)

thomas2009 1. Aug 2008 19:00


Windows Fonts in ComboBox laden ?
 
Liste der Anhänge anzeigen (Anzahl: 1)
Hallo,

wenn ich den Text formatieren möchte, rufe ich den Fontdialog
Ich möchte aber den gewählten Text schnell formatieren, darum wollte ich die Windows Fonts in ComboBox laden.

mkinzler 1. Aug 2008 19:06

Re: Windows Fonts in ComboBox laden ?
 
Schau dir mal Screen.Fonts an

lbccaleb 1. Aug 2008 20:12

Re: Windows Fonts in ComboBox laden ?
 
Auch hilfreich dabei, das Delphi beigelieferte Demo (zumindest delphi5-7 sollte es dabei sein, rest weiß ich nicht)
aus dem ordner "Delphi\Demos\Ownerlst" welches die ganzen Schriften in einer ListBox auflistet, und die jeweilige Schrift in Ihrem Design zeichnet!

thomas2009 1. Aug 2008 20:29

Re: Windows Fonts in ComboBox laden ?
 
Zitat:

Zitat von mkinzler
Schau dir mal Screen.Fonts an

Ich habe den code in Forum. Dake
//OnCreate :
ComboBox1.Items.Assign(Screen.Fonts);
[/delphi]


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:42 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