How change default 8.25 pt size?

  • Thread starter Thread starter Ronald S. Cook
  • Start date Start date
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.

Robin S.
 
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:
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.

On my machine they are here:

C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates
\VisualBasic\Windows\1033

Chris
 
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.

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 S.
 
RobinS said:
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.

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.
 
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.

Cool. I'll check it out.
Robin
 
Thanks to All involved in this thread.

Whilst I don't need to deal with any of this yet, I can see this being very
useful for a whole host of things.

Whilst I'm here, I'd like to ask ( in a template related note), Am I the
only one who does not appear to have an Item Template for an XML file in
my VB2005?

This seems a bit strange given that I do have templates for.
XSLT File
XML Schema
and
Application Configuration File.

Am I missing something?
 
Not that it helps you, but I do have a template for an XML file.On mine, it
shows up on the line before XML Schema and XSLT file and Text file.

Robin S.
 
Back
Top