473,804 Members | 3,031 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Font issue

Hello,

If I set the font of a form and menustrip all the controls and menu
options will show using this font. The only issue I am having is the
text that shows in the caption of the the form (me.text) is not
honoring the font, I'm guesing that it should use the font assigned to
the menu. Does anybody know how to set font for the foms caption?

Thanks,
Rob
Sep 9 '08 #1
5 1186
"Rob Panosh" <ro********@asd software.comwro te in message
news:a7******** *************** ***********@x35 g2000hsb.google groups.com...
Hello,

If I set the font of a form and menustrip all the controls and menu
options will show using this font. The only issue I am having is the
text that shows in the caption of the the form (me.text) is not
honoring the font, I'm guesing that it should use the font assigned to
the menu. Does anybody know how to set font for the foms caption?
You'll want to ask in a dotNet group. All groups on the MS server that start
with "microsoft.publ ic.vb" support VB Classic (pre-dotNet VB)

But... a form's caption font (in VB/Win32) is determined by the users
Display settings... along with the fonts for menus, the widths of
scrollbars, etc, etc... so, they're /not/ "per application" settings.
--
Ken Halter
Part time groupie
Sep 9 '08 #2
"Rob Panosh" <ro********@asd software.comwro te in message
news:a7******** *************** ***********@x35 g2000hsb.google groups.com...
Hello,

If I set the font of a form and menustrip all the controls and menu
options will show using this font. The only issue I am having is the
text that shows in the caption of the the form (me.text) is not
honoring the font, I'm guesing that it should use the font assigned to
the menu. Does anybody know how to set font for the foms caption?
oops... this *is* a dotNet group!!! (duh) Took a wrong turn at albuquerque.

Carry on <g>

--
Ken Halter
Part time groupie
Sep 9 '08 #3
Hello Rob,
If I set the font of a form and menustrip all the controls and menu
options will show using this font. The only issue I am having is the
text that shows in the caption of the the form (me.text) is not
honoring the font, I'm guesing that it should use the font assigned to
the menu. Does anybody know how to set font for the foms caption?
As far as I know the window title font is set globally - all Windows
application share the same font. If you want a different font then you
would either have to set this Windows title font to a different one (bad
- you should not mess with people's settings) OR remove the title bar of
that window and drawing your own window title.

Best regards,

Martin
Sep 10 '08 #4
On Sep 9, 10:32*pm, Rob Panosh <rob_pan...@asd software.comwro te:
Hello,

If I set the font of a form and menustrip all the controls and menu
options will show using this font. *The only issue I am having is the
text that shows in the caption of the the form (me.text) is not
honoring the font, I'm guesing that it should use the font assigned to
the menu. *Does anybody know how to set font for the foms caption?

Thanks,
Rob
AFAIK, form's title bar text is usually based on user's settings which
are accessed through Control Panel -Display -Appearance
(Advanved). But there would be chance to implement your own by setting
form style to "None" and create your own title bar with custom buttons
(including X-close and minimize / maximize buttons) and your form
caption that is set by custom font appearing as if it is your form's
title bar caption.

Onur Guzel
Sep 10 '08 #5
On Sep 10, 1:10*am, kimiraikkonen <kimiraikkone.. .@gmail.comwrot e:
On Sep 9, 10:32*pm, Rob Panosh <rob_pan...@asd software.comwro te:
Hello,
If I set the font of a form and menustrip all the controls and menu
options will show using this font. *The only issue I am having is the
text that shows in the caption of the the form (me.text) is not
honoring the font, I'm guesing that it should use the font assigned to
the menu. *Does anybody know how to set font for the foms caption?
Thanks,
Rob

AFAIK, form's title bar text is usually based on user's settings which
are accessed through Control Panel -Display -Appearance
(Advanved). But there would be chance to implement your own by setting
form style to "None" and create your own title bar with custom buttons
(including X-close and minimize / maximize buttons) and your form
caption that is set by custom font appearing as if it is your form's
title bar caption.

Onur Guzel
Everybody,

Thanks for your help.

Rob
Sep 10 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

55
5017
by: Haines Brown | last post by:
I've been setting font-size 1em; as the default in my style sheets. Until now, that seemed to be ok. But now I'm beginning to wonder. My aim is to have an easily readable, but not overly large text when the user uses the default font size in his browser and uses the typical display resolution. I did a reinstall of my friendly browser in a different environment, and I am surprised to find that its default for serif is Times 16 and
7
19494
by: Fabian Neumann | last post by:
Hi! I got a problem with font-family inheritance. Let's say I have CSS definitions like: p { font:normal 10pt Verdana; } strong { font:normal 14pt inherit;
115
7245
by: J | last post by:
I've run CSSCheck on my style sheets and I always get a warning similar to this: "font: bold 9pt/100% sans-serif Warning: Absolute length units should not generally be used on the Web ..." Yet if I use 'x-small' instead of 9pt, I get bigger type on IE6 and smaller type on Mozilla. My choices seem to be:
5
3819
by: Mike M | last post by:
Hi all, Attempting to do css for cross platform/browser compatibility. Have an issue with IE6 sp1 running on NT4. When using IE6 sp1, example 1 works fine, example 2 produces unreadable text. Rectangular blocks and symbols. Is this unreadable serif font deal a known bug? Any suggestions appreciated. Thanks,
0
1403
by: Hariharan Subramony | last post by:
Hi Guys, I have the following issue ... I have a form with two richTextBoxes named (01) richTextBox1 (02) richTextBox2 with some controls for selecting Font types (Arial, Courier, etc) and Font
4
11109
by: Matt | last post by:
Another interesting issue: I set the default font on most of my forms to what I want the text in my controls to show up as (say, Verdana 9pt.), and then just change the font on labels and buttons when I lay them out (to Verdana 9pt. Bold, for example). This works for every control I have seen except the column headers on DataGridView controls. When I am in design mode, I am able to change the font under the ColumnHeaderDefaultCellStyle...
60
4794
by: deko | last post by:
As I understand it, most browser manufacturers have agreed on 16px for their default font size. So, this should be an accurate conversion for percentages: px % 16 = 100 14 = 87.5 13 = 81.25
16
2463
by: maya | last post by:
I have heard so much preaching here about how font sizes should be set as percentages so users can change font-sizes on their browsers... ok, so now at work am working on a site where we need to do precisely that b/c it's for an audience that some users maybe be visually-impaired.. but I can't get it to work right, problem is that font sizes are not consistent across diff elements.. code: body {text-align:center; /* to center...
7
1899
by: Kai-Mikael Jää-Aro | last post by:
Here is an example HTML file: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Test!</title> </head> <body> <p>fluffier <tt>firefly</ttfisticuffs</p>
2
6575
by: Patti | last post by:
I am building an application using VB.NET 1.1 and I have an issue with Font properties in my Radio Button Lists and Check Box Lists. My issue is that the Font Names and Font Size for these controls have become "Read Only" and I have no idea how they became read only. I didn't set anything to read only and was able to change these fonts just last week - so I must have messed something up. Below is a snippet of my HTML code I used...
0
9706
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10326
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10317
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10075
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9143
agi2029
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5520
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4295
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3815
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.