Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Change Ribbonbar Font
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change Ribbonbar Font

 Post Reply Post Reply
Author
Message
faakher View Drop Down
Groupie
Groupie
Avatar

Joined: 26 June 2010
Location: Saudia Arabia
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote faakher Quote  Post ReplyReply Direct Link To This Post Topic: Change Ribbonbar Font
    Posted: 29 November 2011 at 8:12am
Hi,
Is there a possibility to change font of ribbon bar's system menu, tab and tab items?

If yes, please tell me soon..
Product: Xtreme SuitePro (ActiveX) version 15.0.1
Platform: Windows XP Professional - SP2
Language: Visual Basic 6.0 SP6
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: 29 November 2011 at 8:38am
Here are a few things to try:

    RibbonBar.FontHeight = 15
    RibbonBar.RibbonPaintManager.CaptionFont.Size = 12
    RibbonBar.RibbonPaintManager.WindowCaptionFont.Size = 12
    CommandBars.Options.Font.Size = 15
Back to Top
faakher View Drop Down
Groupie
Groupie
Avatar

Joined: 26 June 2010
Location: Saudia Arabia
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote faakher Quote  Post ReplyReply Direct Link To This Post Posted: 29 November 2011 at 12:47pm
thanks for your support.
I think it will change only size of font. Basically I want to change the font name.
Product: Xtreme SuitePro (ActiveX) version 15.0.1
Platform: Windows XP Professional - SP2
Language: Visual Basic 6.0 SP6
Back to Top
Albert1 View Drop Down
Groupie
Groupie
Avatar

Joined: 01 February 2007
Location: Italy
Status: Offline
Points: 66
Post Options Post Options   Thanks (0) Thanks(0)   Quote Albert1 Quote  Post ReplyReply Direct Link To This Post Posted: 01 December 2011 at 5:43am
I do someting like this:
 

Dim fnt As StdFont
            Set fnt = Me.Font
            fnt.Name = MyFontName ' Segoe UI, Verdana, Trebuchet MS, ...
            fnt.Size = 8
           
            Set RibbonBar.CommandBars.Options.Font = fnt 
            Set CommandBars.Options.ComboBoxFont = fnt
            Set RibbonBar.TabPaintManager.Font = fnt
Product: Xtreme SuitePro (ActiveX) version 13.4.1 / 16.3.0

Platform: Windows Vista (32bit) - SP 2

Language: Visual Basic 6.0 (SP6)

Back to Top
faakher View Drop Down
Groupie
Groupie
Avatar

Joined: 26 June 2010
Location: Saudia Arabia
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote faakher Quote  Post ReplyReply Direct Link To This Post Posted: 07 December 2011 at 4:20am
Originally posted by Albert1 Albert1 wrote:

I do someting like this:
 

Dim fnt As StdFont
            Set fnt = Me.Font
            fnt.Name = MyFontName ' Segoe UI, Verdana, Trebuchet MS, ...
            fnt.Size = 8
           
            Set RibbonBar.CommandBars.Options.Font = fnt 
            Set CommandBars.Options.ComboBoxFont = fnt
            Set RibbonBar.TabPaintManager.Font = fnt


Thanks a lot buddy.
It really works....Clap
Product: Xtreme SuitePro (ActiveX) version 15.0.1
Platform: Windows XP Professional - SP2
Language: Visual Basic 6.0 SP6
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.250 seconds.