Autor Beitrag
Chiller
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: So 06.09.09 15:30 
Hallo

ich habe bereits im internet gefunden wie man die schriftart eines buttons verändern kann:

ausblenden Delphi-Quelltext
1:
Button1.font.style := Button1.font.style +[fsBold]					


nun die frage, wie kann ich das wieder rückgänig machen, das habe ich leider nicht gefunden(es soll wieder in der standard schriftart da stehen)!

schon mal danke für die antworten

Chiller
R4id
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 28

Win XP Home, Win XP Prof.
D7 Prof., D2006 Arch., BCB2006 Arch.
BeitragVerfasst: So 06.09.09 15:31 
ausblenden Quelltext
1:
Button1.Font.Style := Button1.Font.Style - [fsBold];					
rizla
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 417
Erhaltene Danke: 2

XP
FPC mit Lazarus
BeitragVerfasst: So 06.09.09 15:32 
Hi!

ausblenden Delphi-Quelltext
1:
Button1.font.style := Button1.font.style -[fsBold]					


sollte es machen

_________________
if you have what they want - they'll find a way to take it (bruce sterling)
WOW - 10 JAHRE Mitglied beim Delphi-Forum. Wie die Zeit vergeht, Freunde.
Chiller Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: So 06.09.09 16:25 
ja, danke, hat funktioniert!