Is there a way I can change the default font size in my Windows project?
Thanks 8 1784
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.
-----------------------
"Ronald S. Cook" <rc***@westinis.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Is there a way I can change the default font size in my Windows project?
Thanks
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.
On Apr 20, 6:13 am, "Phill W." <p-.-a-.-w-a-r...@-o-p-e-n-.-a-c-.-u-k>
wrote:
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.
On my machine they are here:
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates
\VisualBasic\Windows\1033
Chris
"Phill W." <p-.-a-.-w-a-r-d-@-o-p-e-n-.-a-c-.-u-kwrote in message
news:f0**********@south.jnrs.ja.net...
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 S.
RobinS wrote:
"Phill W." <p-.-a-.-w-a-r-d-@-o-p-e-n-.-a-c-.-u-kwrote in message
news:f0**********@south.jnrs.ja.net...
>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.
"Phill W." <p-.-a-.-w-a-r-d-@-o-p-e-n-.-a-c-.-u-kwrote in message
news:f0**********@south.jnrs.ja.net...
RobinS wrote:
>"Phill W." <p-.-a-.-w-a-r-d-@-o-p-e-n-.-a-c-.-u-kwrote in message news:f0**********@south.jnrs.ja.net...
>>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?
--
Rory
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.
----------------------
"Rory Becker" <Ro********@newsgroup.nospamwrote in message
news:b0*************************@msnews.microsoft. com...
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?
--
Rory
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Michael Hill |
last post by:
I have a perl script that i use to render a html page. In that page i
call out a stylesheet. If the user has a 800x600 display the fonts are
really too big.
Since screen resolution is a function...
|
by: Coder Droid |
last post by:
I'm trying my first table-less site, and I've bumped my head up against
a wall. I can't change the font size within a div.
Real quick, my style sheet has:
-------------------------------------...
|
by: skeeterbug |
last post by:
please see
http://www.geocities.com/operationsengineer1/test.htm
for an idea of how i want my logo header div to be layed out.
when i went to resize "Test" to 2em (from 1em), this is what...
|
by: Dr John Stockton |
last post by:
Assuming default set-ups and considering all reasonable browsers,
whatever that may mean, what should an author expect that his readers in
general will see (with visual browsers) for a page with...
|
by: xixi |
last post by:
hi, we are using db2 udb v8.1 on windows, normally i would use control
center to change bufferpool size since i know the change will be
effect immediately for version 8.1, so i right click...
|
by: Tor Inge Rislaa |
last post by:
How to change row height in a DataGrid
I have DataGrid that is filled with data from a table in a DataSet. The
content of the cells is text of more than one line (as a note field). What I...
|
by: miladhatam |
last post by:
can i change the size of a file dynamically ?
for example have 100 Kb and i want to decrease it to 20 Kb
thanks
|
by: mIDO |
last post by:
Hello,
I have developed a script that change the font size in css, but only
the attribute "font-size" on the body tag, not change the entire
active stylesheet.
When i click to change the size...
|
by: Jensen Somers |
last post by:
Hi,
Is it possible to change the stack size of a DLL from within the source
code? When using threads you can specify the size of the stack you want
the thread to use, but since my application...
|
by: Peng Yu |
last post by:
Hi,
It is possible to change the length of "\t" to a number other than 8.
std::cout << "\t";
Thanks,
Peng
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |