AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

SystemFont auslesen...

Offene Frage von "TimonWorld"
Ein Thema von TimonWorld · begonnen am 19. Dez 2004 · letzter Beitrag vom 20. Dez 2004
Antwort Antwort
Benutzerbild von TimonWorld
TimonWorld

Registriert seit: 16. Jan 2004
Ort: Sankt Augustin
62 Beiträge
 
Delphi 3 Professional
 
#1

SystemFont auslesen...

  Alt 19. Dez 2004, 14:43
Hallo!

Weiß jemand, wie ich die Standard-Font von Windows auslese???

Delphi-Quellcode:
function GetSystemFont: TFont;
var SysFont: TFontM
begin
  with SysFont do begin
    create;
    size := 10;
    color := clWindowText;
    style := [];
    name := {?! System-Font !?} ;
  end;
  result := f
  SysFont.Free;
end;
Timon
Tiicon - Die kostenlosen Glyphs für deine Toolbar...: Tiicon Hier im Forum suchenTiicon [df]Tiicon[/df] Bei Google suchenTiicon
  Mit Zitat antworten Zitat
Benutzerbild von Bernhard Geyer
Bernhard Geyer

Registriert seit: 13. Aug 2002
17.171 Beiträge
 
Delphi 10.4 Sydney
 
#2

Re: SystemFont auslesen...

  Alt 19. Dez 2004, 18:40
Schau dir mal die Win32API-Funktion SystemParametersInfo an.
Es gibt ja nicht nur den Font (z.B. für Buttons) sondern je nach Einsatz unterschiedliche.
Windows Vista - Eine neue Erfahrung in Fehlern.
  Mit Zitat antworten Zitat
Benutzerbild von TimonWorld
TimonWorld

Registriert seit: 16. Jan 2004
Ort: Sankt Augustin
62 Beiträge
 
Delphi 3 Professional
 
#3

Re: SystemFont auslesen...

  Alt 20. Dez 2004, 19:08
menno die win-api ist englisch, aber werde trotzdem mal nachblättern.
Timon
Tiicon - Die kostenlosen Glyphs für deine Toolbar...: Tiicon Hier im Forum suchenTiicon [df]Tiicon[/df] Bei Google suchenTiicon
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:26 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz