Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Font problem in Ribbon bar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Font problem in Ribbon bar

 Post Reply Post Reply
Author
Message
23228229 View Drop Down
Newbie
Newbie


Joined: 25 February 2009
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote 23228229 Quote  Post ReplyReply Direct Link To This Post Topic: Font problem in Ribbon bar
    Posted: 25 February 2009 at 9:55am
Seeing the VB\RibbonSample\RibbonSample.vbp,  it seems cann't work correctly(a.jpg) in my computer, but some works perfectly(B.jpg).
 
Thanks for your time! Any advice will be greatly appreciated.
 
 a.gif
 
  b.gif
 
 
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 25 February 2009 at 11:53am
What is the problem?  Looks like you just changed fonts.
Back to Top
23228229 View Drop Down
Newbie
Newbie


Joined: 25 February 2009
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote 23228229 Quote  Post ReplyReply Direct Link To This Post Posted: 25 February 2009 at 12:03pm
What font should I use?
 
I have added these codes in the end of Form_Load:
    CommandBars.Options.Font.Name = "Tahoma"
    CommandBars.Options.Font.Size = 8

but it does not work like the b.gif image
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 26 February 2009 at 3:55am
Looks like it some Courier font type. 
Maybe charset problem. try
 
CommandBars.Options.Font.Charset = 1 ' or 0.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
23228229 View Drop Down
Newbie
Newbie


Joined: 25 February 2009
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote 23228229 Quote  Post ReplyReply Direct Link To This Post Posted: 26 February 2009 at 10:31am
It works after installing the Segoe UI Fonts
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.