![]() |
Arabic Text in Commandbars |
Post Reply
|
| Author | |
WaleedSeada
Groupie
Joined: 29 March 2007 Location: Egypt Status: Offline Points: 88 |
Post Options
Thanks(0)
Quote Reply
Topic: Arabic Text in CommandbarsPosted: 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 |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 May 2007 at 9:15am |
|
Hi,
You need to register Unicode version of CommandBars.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
WaleedSeada
Groupie
Joined: 29 March 2007 Location: Egypt Status: Offline Points: 88 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
WaleedSeada
Groupie
Joined: 29 March 2007 Location: Egypt Status: Offline Points: 88 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
WaleedSeada
Groupie
Joined: 29 March 2007 Location: Egypt Status: Offline Points: 88 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
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 |