Autor Beitrag
LDMatrix17
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 73

xXpProOxsP2x
Flash5~Flash7 MX 2004 Prof.~Flash 8 Prof.~Delphi 7 prof.&HTML
BeitragVerfasst: Sa 14.01.06 16:41 
hallo Leute!

Kann ich für meine Edit feldern, externe FontPath eingeben?? :roll: :roll:

MFG Christian
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Sa 14.01.06 16:56 
Also du willst für deine Edits Fonts benutzen, die in anderen Dateien gespeichert sind?
DA ist mir im Momet nur die Variante über eine ini, oder typisierte Datei bekannt...

Oder gibt es schon so spezielle Schriftartendateien, die in Windows allg. bekannt sind?

_________________
Programmers never die, they just GOSUB without RETURN
LDMatrix17 Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 73

xXpProOxsP2x
Flash5~Flash7 MX 2004 Prof.~Flash 8 Prof.~Delphi 7 prof.&HTML
BeitragVerfasst: Sa 14.01.06 17:01 
ja genau! meine Fonts sind in (C:\Test\) gespeichert!
und wie erstelle ich eine INI dafür??
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Sa 14.01.06 17:07 
na der aufbau einer Ini dafür ist doch ganz einfach. So als Bsp:
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
[Allg.]
FontCount=2

[Font1]
Color=0 (benutze beim schreiben writeinteger('...', '...' Font.Color);
Fontname=Arial
Size=8
Bold=0 //hier jeweils Boolean werte
italic=0
underline=0
strikeout=0
{und wenn du sonst noch eigenschaften brauchst, kannste es ja ergänzen}

[Font2]
{derselbe Aufbau wie bei Font1}


Also im Prinzip speicherst du in FontCount ab, wie viele Fonts in der ini gespeichert sind, und mit dem Wert kannst du dann in ner for-Schleife die Kategorien durchgehen.
Verstanden, was ich ausdrücken will?

_________________
Programmers never die, they just GOSUB without RETURN
LDMatrix17 Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 73

xXpProOxsP2x
Flash5~Flash7 MX 2004 Prof.~Flash 8 Prof.~Delphi 7 prof.&HTML
BeitragVerfasst: Sa 14.01.06 17:13 
:crying: kannste mir noch ein bischen genauer erklären bitte??

irgend wo muss ich doch (C:\test\"font name") eingeben oder??
LDMatrix17 Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 73

xXpProOxsP2x
Flash5~Flash7 MX 2004 Prof.~Flash 8 Prof.~Delphi 7 prof.&HTML
BeitragVerfasst: Sa 14.01.06 17:17 
als Bsp:
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
[Allg.]
FontCount=2

[Font1]
Color=0 (benutze beim schreiben writeinteger('...', '...' Font.Color);
Fontname=Arial
Size=8
Bold=0 //hier jeweils Boolean werte
italic=0
underline=0
strikeout=0
Fontpath= C:\test\arial.ttf // richtig??
{und wenn du sonst noch eigenschaften brauchst, kannste es ja ergänzen}

[Font2]
{derselbe Aufbau wie bei Font1}
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Sa 14.01.06 17:22 
Achso, du willst nur eine Schriftart ändern, nicht gleich Color usw. mit dazu?
hm, ich glaub die muss man in Windows erst installieren (was sich sicher programmgesteuert lösen lässt) und dann kannst du sie ganz normal benutzen.

Aber wie man die installiert weiß ich auch net

Gruß alias5000

_________________
Programmers never die, they just GOSUB without RETURN
LDMatrix17 Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 73

xXpProOxsP2x
Flash5~Flash7 MX 2004 Prof.~Flash 8 Prof.~Delphi 7 prof.&HTML
BeitragVerfasst: Sa 14.01.06 17:27 
Au!! shitt, trotzdem danke!! ;)
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Sa 14.01.06 17:28 
bitte

_________________
Programmers never die, they just GOSUB without RETURN