Print Page | Close Window

Arabic Text in Commandbars

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=7027
Printed Date: 18 June 2025 at 5:32pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Arabic Text in Commandbars
Posted By: WaleedSeada
Subject: Arabic Text in Commandbars
Date Posted: 02 May 2007 at 8:46am
Hello All,
 
I write arabic text in ribbon bar but it appears "gebrish" not correct !!
How can I solve this issue
 
Fast help is much appreciated
 
Waleed


-------------
:Powerbuilder 10.5
:Codejock suite 11.2.2
=========================
Waleed Seada



Replies:
Posted By: Oleg
Date Posted: 02 May 2007 at 9:15am
Hi,
 
You need to register Unicode version of CommandBars.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: WaleedSeada
Date Posted: 02 May 2007 at 9:22am
 
Hello,
where is that, and how can I tell that I have a unicode version or not !!
 
Thanks and best regards
 


-------------
:Powerbuilder 10.5
:Codejock suite 11.2.2
=========================
Waleed Seada


Posted By: Oleg
Date Posted: 02 May 2007 at 12:43pm
Hi,
 
if you have 11.1 in Start menu choose Registrator tool and register all Unicode controls. if older - manually explore bin folder and run regsvr32 ocxname.ocx


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: WaleedSeada
Date Posted: 04 May 2007 at 10:22am
Hi,
    Yes I kknow how to register the ocx's, but how can you tell that I have the unicode ocx's that support Arabic, cause I figure out that there is a unicode version and standerd version.
 
Best regards
Waleed


-------------
:Powerbuilder 10.5
:Codejock suite 11.2.2
=========================
Waleed Seada


Posted By: Oleg
Date Posted: 04 May 2007 at 2:55pm

Hi,

Add in code
Debug.Print CommandBarsGlobalSettings.Unicode
if you will see True - it means Unicode version is registered.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: WaleedSeada
Date Posted: 05 May 2007 at 2:41am
Thanks,
I got false, but tell me can I change the font to display arabic, and is there anyother way to change the font without using stdfont object.
 
 
like setting language or anyother setting !!
 
Best regards
Waleed


-------------
:Powerbuilder 10.5
:Codejock suite 11.2.2
=========================
Waleed Seada


Posted By: Oleg
Date Posted: 07 May 2007 at 8:33am
Hello,
 
 
If you use ANSI version, you need to specify charset for font:
    RibbonBar.TabPaintManager.Font.Charset = 178
    RibbonBar.RibbonPaintManager.CaptionFont.Charset = 178
    CommandBars.Options.Font.Charset = 178
    CommandBars.Options.Font.Size = 8


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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