Autor Beitrag
darkangel1208
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 36



BeitragVerfasst: Mo 30.11.09 00:53 
ReadOnly auf true de nCode nimmt er aber das ichdas ganz auf Bold setzte nwill geht noicht, nur warum
die fehlermeldung ist
Fehler Einer Eigenschaft oder einem Indexer "System.Drawing.Font.Bold" kann nichts zugewiesen werden -- sie sind schreibgeschützt

ausblenden C#-Quelltext
1:
2:
spielerbox[11].Font.Bold = true;
spielerbox[11].ReadOnly = true;
Kha
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3803
Erhaltene Danke: 176

Arch Linux
Python, C, C++ (vim)
BeitragVerfasst: Mo 30.11.09 00:56 
Schau dir mal die Hilfe zu Bold an, dort ist die Lösung aufgeführt...

_________________
>λ=
darkangel1208 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 36



BeitragVerfasst: Mo 30.11.09 01:34 
habs gefunden

ausblenden C#-Quelltext
1:
spielerbox[11].Font = new Font(spielerbox[11].Font, FontStyle.Bold);