![]() |
FontNames
Hi,
wie finde ich heraus, welche Fonts auf dem Computer installiert sind und stelle sie in einer ComboBox zur Auswahl für ein Richedit? Gibts da Kompos? |
Re: FontNames
Hi Nils,
Delphi-Quellcode:
Combobox1.Items := Screen.Fonts;
|
Re: FontNames
|
Re: FontNames
Hi,
habs jetzt gelöst.
Delphi-Quellcode:
thx for all!
function TForm1.CurrText: TTextAttributes;
begin if edit.SelLength > 0 then Result := edit.SelAttributes else Result := edit.DefAttributes; end; procedure TForm1.FontNameChange(Sender: TObject); begin if FUpdating then Exit; CurrText.Name := FontName.Items[FontName.ItemIndex]; end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 08:14 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