Print Page | Close Window

CommandBars Font

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=19764
Printed Date: 26 April 2024 at 4:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CommandBars Font
Posted By: Niklaus
Subject: CommandBars Font
Date Posted: 15 May 2012 at 3:52pm
Good evening to all
For a short time using the Codejock ActiveX in Visual Basic 6

I can not change the font of CommandBars, can anyone help?

thanks
Niklaus



Replies:
Posted By: SuperMario
Date Posted: 18 May 2012 at 8:56am
 RibbonBar.FontHeight = 8
 RibbonBar.RibbonPaintManager.WindowCaptionFont.Size = 8
 
 RibbonBar.RibbonPaintManager.CaptionFont.Name = "Tahoma"
 RibbonBar.RibbonPaintManager.CaptionFont.Size = 8
 
 CommandBars.Options.Font = "Tahoma"
 CommandBars.Options.Font.Size = 8
 RibbonBar.TabPaintManager.Font = "Tahoma"
 RibbonBar.TabPaintManager.Font.Size = 8
 CommandBars.PaintManager.RefreshMetrics 


Posted By: Niklaus
Date Posted: 19 May 2012 at 8:23am
Hi Supermario, sorry for my English bad...

Thank you very much, works perfectly ...

TongueThanks
again and Happy Sunday


Posted By: mzwandile
Date Posted: 09 April 2013 at 6:40am
Hi Mario

I am using Codejock CommandBars v15.2.1 (ActiveX - should be posting this under ActiveX Smile) and my menu is getting cutoff on high DPI (see image below):

I have tried to hard-code the font size as per your recommendation but it doesn't help! Is there a way to ignore the DPI? i.e. never scale the menu font according to the DPI setting...

Thank you in advance.



-------------
Mzwandile Jojisa
Software developer
Sage Alchemex


Posted By: SuperMario
Date Posted: 16 April 2013 at 9:58am
Not until the new release, which will be soon



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net