R
Ronald S. Cook
Is there a way I can change the default font size in my Windows project?
Thanks
Thanks
RobinS said:You can't. You can't change the font, either. Sucks, doesn't it?
About the best you can do is change it for each form, which changes it for
all of the controls contained therein.
RobinS said:You can't. You can't change the font, either. Sucks, doesn't it?About the best you can do is change it for each form, which changes it for
all of the controls contained therein.
[VB2003 option]
How about modifying the /Template/ for the Windows App., adding the
necessary Font modifications to the "Designer Generated" Code?
I say '2003 specifically because I haven't /found/ the "built-in"
Templates with '2005 yet! ;-)
Regards,
Phill W.
Phill W. said:RobinS said:You can't. You can't change the font, either. Sucks, doesn't it?
About the best you can do is change it for each form, which changes it
for all of the controls contained therein.
[VB2003 option]
How about modifying the /Template/ for the Windows App., adding the
necessary Font modifications to the "Designer Generated" Code?
I say '2003 specifically because I haven't /found/ the "built-in"
Templates with '2005 yet! ;-)
Regards,
Phill W.
RobinS said:Phill W. said:[VB2003 option]RobinS said:You can't. You can't change the font, either. Sucks, doesn't it?
About the best you can do is change it for each form, which changes it
for all of the controls contained therein.
How about modifying the /Template/ for the Windows App., adding the
necessary Font modifications to the "Designer Generated" Code?
I say '2003 specifically because I haven't /found/ the "built-in"
Templates with '2005 yet! ;-)
Regards,
Phill W.
Let me know if that works, please! Why they think anybody wants 8.25 size
font is beyond me, and I'd love to change the defaults.
Phill W. said:RobinS said:Phill W. said:RobinS wrote:
You can't. You can't change the font, either. Sucks, doesn't it?
About the best you can do is change it for each form, which changes it
for all of the controls contained therein.
[VB2003 option]
How about modifying the /Template/ for the Windows App., adding the
necessary Font modifications to the "Designer Generated" Code?
I say '2003 specifically because I haven't /found/ the "built-in"
Templates with '2005 yet! ;-)
Regards,
Phill W.
Let me know if that works, please! Why they think anybody wants 8.25
size font is beyond me, and I'd love to change the defaults.
Robin,
Yes, it works!
<System.Diagnostics.DebuggerStepThrough()> Private Sub
InitializeComponent()
components = New System.ComponentModel.Container()
Me.Font = New System.Drawing.Font("Arial Black", 16.0!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point,
CType(0, Byte))
Me.Text = "[!output SAFE_ITEM_NAME]"
End Sub
HTH,
Phill W.