Font issue

R

Rob Panosh

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
 
K

Ken Halter

Rob Panosh said:
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.public.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.
 
K

Ken Halter

Rob Panosh said:
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>
 
M

Martin H.

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
 
K

kimiraikkonen

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
 
R

Rob Panosh

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top