Ribbon Tab Font |
Post Reply |
Author | |
WaleedSeada
Groupie Joined: 29 March 2007 Location: Egypt Status: Offline Points: 88 |
Post Options
Thanks(0)
Posted: 12 April 2008 at 12:32pm |
Hello All,
I want to change the font of the Tab in the ribbon bar control.
I change the font of the window hosting the ribbon to Tahoma (arabic).
I create a function called setfont as following and I call it after the ribbon is created in form load event
/* ***************************************** */
Dim TextFont As StdFont
Set TextFont = Me.Font RibbonBar.TabPaintManager.Font.Charset = TextFont.Charset
RibbonBar.TabPaintManager.Font.name = TextFont.name RibbonBar.TabPaintManager.Font.size = 8 RibbonBar.RibbonPaintManager.CaptionFont.Charset =TextFont.Charset RibbonBar.RibbonPaintManager.CaptionFont.name = TextFont.name RibbonBar.RibbonPaintManager.CaptionFont.size = 8 CommandBars.Options.Font.Charset = TextFont.Charset CommandBars.Options.Font.name = TextFont.name CommandBars.Options.Font.size = 8 /* ***************************************** */
the font of the items inside the group and the group itself changed, but the Tab label font didn't ...
How can I change the font of these labels .. and also the font of the main hosting the ribbon bar ...
Best regards,
|
|
:Powerbuilder 10.5
:Codejock suite 11.2.2 ========================= Waleed Seada |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |