Autor Beitrag
Seven of Nine
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 132
Erhaltene Danke: 1

Win XP, Win Vista HomePro
Delphi 2009
BeitragVerfasst: Di 16.11.10 12:22 
Sorry für diese vermutliche "Anfängerfrage"...aber ich steh' auf dem Schlauch.

Ich weiß wie ich die (insg. 4) möglichen Eigenschaften von Font-Style "auf einmal" setze. z.B.: so;

ausblenden Delphi-Quelltext
1:
Memo1.Font.Style := [fsBold,fsUnderline];					


Allerdings nicht wie ich einzeln eine der Eigenschaften zu/abschalte.
Geht das? Wenn Ja wie?

lG Martin
Sybok Factor
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 50
Erhaltene Danke: 5

Win XP, Win Vista
Delphi 2010 Professional
BeitragVerfasst: Di 16.11.10 12:39 
Hallo!

Geht so Memo1.Font.Style := Memo1.Font.Style - [fsBold];

Viele Grüße
Sybok Factor

_________________
Jetzte michse verstehen dein Problem.
Seven of Nine Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 132
Erhaltene Danke: 1

Win XP, Win Vista HomePro
Delphi 2009
BeitragVerfasst: Di 16.11.10 12:45 
Super, Vielen Dank für die Superschnelle Antwort!

lG Martin
Jakob_Ullmann
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1747
Erhaltene Danke: 15

Win 7, *Ubuntu GNU/Linux*
*Anjuta* (C, C++, Python), Geany (Vala), Lazarus (Pascal), Eclipse (Java)
BeitragVerfasst: Di 16.11.10 17:31 
Falls du mehr über die Sets erfahren willst:
de.wikibooks.org/wik...Delphi:_Pascal:_Sets