Startseite ¦  was ist neu ¦  programmier tips ¦  indy artikel ¦  intraweb artikel ¦  informationen ¦  links ¦  interviews ¦  sonstiges
kylix ¦  tutorials ¦  online shop ¦  fotos ¦  Add&Win Gewinnspiel


Willkommen Gast. Bitte einloggen oder registrieren.
21.05.2012, 13:01:19
Übersicht Hilfe Suche Einloggen Registrieren

+  SwissDelphiCenter Forum
|-+  English Forums
| |-+  General Forum
| | |-+  True type font
« vorheriges nächstes »
Seiten: [1] Drucken
Autor Thema: True type font  (Gelesen 1048 mal)
bookworm
Newbie
*
Offline Offline

Beiträge: 43


177819874
WWW
« am: 06.01.2003, 06:19:50 »

Hi all,
I wanna know how to display a combo box of all fonts in my system with small icon. I mean if "arial" is a TT font then it has a icon (TT), if it's not then no icon displaies.
Gespeichert
Thomas Stutz
Global Moderator
Hero Member
*****
Offline Offline

Beiträge: 1784



WWW
« Antworten #1 am: 06.01.2003, 11:01:32 »

Use EnumFonts() to enumerate all system fonts. Then check the tmPitchAndFamily Member of the TTextMetric structure for TMPF_TRUETYPE.

See article
[a href="http://www.delphicollection.com/public/GregLief/gl_q&a153.html" target="_blank"]http://www.delphicollection.com/public/Gre.../gl_q&a153.html[/a]

Or component TFontComboBox
[a href="http://www.torry.net/vcl/lbcb/fontlistandcomboboxes/fontctls.zip" target="_blank"]http://www.torry.net/vcl/lbcb/fontlistandc...es/fontctls.zip[/a]

Or
[a href="http://www.torry.net/vcl/lbcb/fontlistandcomboboxes/jtfntcblst.zip" target="_blank"]http://www.torry.net/vcl/lbcb/fontlistandc.../jtfntcblst.zip[/a]
Gespeichert

(¯`·._tom_.·´¯)

Tipp: Viele Antworten auf Fragen gibt's hier:
http://www.swissdelphicenter.ch/de/tipsuchen.php
Seiten: [1] Drucken 
« vorheriges nächstes »
Gehe zu:  


Einloggen mit Benutzername, Passwort und Sitzungslänge

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS