![]() |
ComboBox1.Items := (ordner).Fonts;
wie kann ich mir die fonts eines ordners in einer combobox anzeigen lassen?
mit: ComboBox1.Items := Screen.Fonts; kriege ich ja die systemfonts. |
Re: ComboBox1.Items := (ordner).Fonts;
Also in einem Ordner sind Fonts und die sollen in der combobox angezeigt werden?
|
Re: ComboBox1.Items := (ordner).Fonts;
jepp 100% :dancer:
|
Re: ComboBox1.Items := (ordner).Fonts;
ich probier mal was
moment |
Re: ComboBox1.Items := (ordner).Fonts;
Liste der Anhänge anzeigen (Anzahl: 1)
Guck dir das mal an
|
Re: ComboBox1.Items := (ordner).Fonts;
Vergiss das
ich bastel mal was edleres :D |
Re: ComboBox1.Items := (ordner).Fonts;
Liste der Anhänge anzeigen (Anzahl: 1)
Ich denk mal das ist genau das was du brauchst
|
Re: ComboBox1.Items := (ordner).Fonts;
danke funktioniert :bounce2:
aber das funktioniert dann irgendwie nicht ;)
Delphi-Quellcode:
memo1.Font.Name := ComboBox1.Items[ComboBox1.ItemIndex];
|
Re: ComboBox1.Items := (ordner).Fonts;
Ich glaub wie du das machen willst klappt das nur wenn die Fonts im Windows/Fonts Verzeichnis ist
Probier mal
Delphi-Quellcode:
Mehr weiss ich auch nicht
var
s:string; i:integer; begin s := ComboBox1.Items[ComboBox1.ItemIndex]; for i := length(s) downto 0 do begin if s[i] = '\' then break; end; Edit1.Font.Name := copy(s,i+1,length(s) end; [edit=Daniel B]Delphi-Tags korrigiert. Mfg, Daniel B[/edit] |
Re: ComboBox1.Items := (ordner).Fonts;
ne leider auch nicht, könnte mir auch vorstellen das das nur mit dem windows verzeichnis funktioniert.
big thx für deine hilfe ;) |
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:40 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