On May 24, 5:59 pm, Rex <RexForum3...@1000GentleBreezes.comwrote:
Hi - Is there any way to set default Properties - so that when I add a
new textbox to a form - that that control wil start out using Arial
10 (for instance)?
Thanks!
Rex
Hi,
If you want to change textbox's font size / family at runtime, you
have to create a new instance of font as follows:
textBox1.Font = new Font("Arial", 10);
And if you want to set it by default before launching your
application, just set font's properties in textbox's properties window
on VS IDE.
Hope this helps,
Onur Güzel