Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - font display on RibbonBar's Tab
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

font display on RibbonBar's Tab

 Post Reply Post Reply
Poll Question: How To
Poll Choice Votes Poll Statistics
0 [0.00%]
0 [0.00%]
You can not vote in this poll

Author
Message
Norika View Drop Down
Groupie
Groupie
Avatar

Joined: 30 November 2006
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote Norika Quote  Post ReplyReply Direct Link To This Post Topic: font display on RibbonBar's Tab
    Posted: 30 November 2006 at 8:21pm

I use RibbonBar of ActiveX edition. (CommandBars Control Ver.10.3.1)
I must change a font to let a ribbon bar display words of 2 bytes cord.
I was able to change the letter displayed by the lower part of my RibbonBar bar by below description.

    RibbonBar.RibbonPaintManager.CaptionFont.Name = "MS UI Gothic"
    RibbonBar.RibbonPaintManager.CaptionFont.Size = 9

However, I was able to change the letter displayed by a tab of the upper part of a ribbon bar.
But because it is not displayed by a garbage definitely, I cannot read.

    Set TabWrite = RibbonBar.InsertTab(0, "こんにちは")
    TabWrite.Id = ID_TAB_WRITE
    TabWrite.RibbonBar.RibbonPaintManager.CaptionFont.Name = "MS UI Gothic"
    TabWrite.RibbonBar.RibbonPaintManager.CaptionFont.Size = 9

Please teach it.
Best Regards,
Norika

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: 01 December 2006 at 12:19am

Hi,

use TabPaintManager property.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Norika View Drop Down
Groupie
Groupie
Avatar

Joined: 30 November 2006
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote Norika Quote  Post ReplyReply Direct Link To This Post Posted: 09 January 2007 at 10:16pm
Hi, Thank you very much for your quick reply and a pinpoint advice.
 
I can show another fonts correctly.
 
    TabWrite.RibbonBar.TabPaintManager.Font.Name = "MS UI Gothic"
    TabWrite.RibbonBar.TabPaintManager.Font.Size = 9
    TabWrite.RibbonBar.TabPaintManager.Font.Charset = 128
Best Regards,
 
Norika
Back to Top
WaleedSeada View Drop Down
Groupie
Groupie
Avatar

Joined: 29 March 2007
Location: Egypt
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote WaleedSeada Quote  Post ReplyReply Direct Link To This Post Posted: 07 May 2007 at 5:12am
Hello,
 
Where did you get this number??, because I need to get the correct CharSet to display Arabic text in command bar
 
Thanks
waleed
:Powerbuilder 10.5
:Codejock suite 11.2.2
=========================
Waleed Seada
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: 07 May 2007 at 8:24am
Hello,
 
ARABIC_CHARSET is 178
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
WaleedSeada View Drop Down
Groupie
Groupie
Avatar

Joined: 29 March 2007
Location: Egypt
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote WaleedSeada Quote  Post ReplyReply Direct Link To This Post Posted: 08 May 2007 at 2:46am
Hello Oleg,
 
I tried this in VB and the arabic is correclty displayed.
But I can't egt the same result from Powerbuilder, I did change the ribbon paint manager, tab paint manager and the ribbon opotions.
 
Note: i am not using the unicode version !!
 
best regards
Waleed
 
:Powerbuilder 10.5
:Codejock suite 11.2.2
=========================
Waleed Seada
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.063 seconds.