Autor Beitrag
Daniel L.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 140
Erhaltene Danke: 14

W7, W8
TurboD Prof, Delphi Community
BeitragVerfasst: Mo 01.11.10 10:30 
Hallo Forum,

in einer Routine soll ein String und optional ein Fontstyle als Standardparameter übergeben werden.
Als Vorgabe soll kein Fontstyle gesetzt werden - geht das?

ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure AddZeile (ACapion : string; AFontstyle : TFontStyle = ?garkeiner?);
begin 
...
end;


edit:

hätte wohl doch etwas länger suchen sollen:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure AddZeile (ACapion : string; AFontstyle : TFontStyles = []);
begin 
...
end;


Daniel


Moderiert von user profile iconNarses: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Mo 01.11.2010 um 20:21