G
Guest
It it possible to change a button's or text box's font size during runtime?
When I try to build my application with this code:
this.ActiveControl.Font.Size = "8.25";
I get this error message:
Property or indexer "System.Drawing.Font.Size' cannot be assigned to -- it
is read only
I can change a button's text property during runtime, but I'd also like to
change the font size as well.
When I try to build my application with this code:
this.ActiveControl.Font.Size = "8.25";
I get this error message:
Property or indexer "System.Drawing.Font.Size' cannot be assigned to -- it
is read only
I can change a button's text property during runtime, but I'd also like to
change the font size as well.