![]() |
Arabic text issue |
Post Reply ![]() |
Author | ||
VbGuy ![]() Newbie ![]() Joined: 02 June 2007 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() Posted: 02 June 2007 at 6:57pm |
|
First : I would like to thank you all guys here for the great work ... Second : I searched before I ask my question, but nothing helped me . Last : Here is part of the code :
I also tried :
My version of Commandbar is 10.4.2
Thank you for your advice and reply.
|
||
![]() |
||
malhabibi ![]() Groupie ![]() Joined: 22 May 2007 Location: United Kingdom Status: Offline Points: 18 |
![]() ![]() ![]() ![]() ![]() |
|
Try to put the commands in this order
Font.Charset = 178 // Arabic Font.Size = 8 Font.Name = "Tahoma" |
||
![]() |
||
VbGuy ![]() Newbie ![]() Joined: 02 June 2007 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
|
I am sorry, not working ...
I use standard version not unicode...
|
||
![]() |
||
malhabibi ![]() Groupie ![]() Joined: 22 May 2007 Location: United Kingdom Status: Offline Points: 18 |
![]() ![]() ![]() ![]() ![]() |
|
After you finish adding all the controls inside the commandbar
Put these three lines in this exact sequence at the end
CommandBars.Options.Font.Charset = 178 // Arabic
CommandBars.Options.Font.Size = 8 CommandBars.Options.Font.Name = "Tahoma" |
||
![]() |
||
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
|
Hello,
vbguy right, there is additional font for Caption used, but there is no property to change it.
|
||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
![]() |
||
VbGuy ![]() Newbie ![]() Joined: 02 June 2007 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
|
Hi,
malhabibi I put these line in the same order and in different positions but nothing changed ,,,
Could you please post an example for working project with arabic text in the title without UNICODE version of COMMANBARS ..
Thank you Mr. oleg for your reply,
Which property that effect the title font??? maybe with help of API we can achieve the goal.
Is there any way to display arabic text correctly in the title ??? anything else just doing well with arabic text ...
|
||
![]() |
||
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
|
Hello,
As I wrote font of Title is not same as font of controls in Ribbon, but unfortunatelly font property for title was missed (already added for next release). You can use Unicode version now.
|
||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
![]() |
||
VbGuy ![]() Newbie ![]() Joined: 02 June 2007 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
|
Thank you Mr. oleq,,,
I am looking forward for the new release .
|
||
![]() |
||
malhabibi ![]() Groupie ![]() Joined: 22 May 2007 Location: United Kingdom Status: Offline Points: 18 |
![]() ![]() ![]() ![]() ![]() |
|
Hi,
I'm not using the unicode version of CommandBar with PowerBuilder 10.5
and Arabic is working fine after putting these three lines in this exact sequence at the end
CommandBars.Options.Font.Charset = 178 // Arabic
CommandBars.Options.Font.Size = 8 CommandBars.Options.Font.Name = "Tahoma" Tell me if the PowerBuilder sample will be helpful |
||
![]() |
||
VbGuy ![]() Newbie ![]() Joined: 02 June 2007 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
|
Thank you malhabibi, but I did eaxvtly like what you say but Mr. Oleq explain why it did not work ...
I will wait for the new version .
|
||
![]() |
||
free_user ![]() Groupie ![]() ![]() Joined: 08 March 2006 Status: Offline Points: 24 |
![]() ![]() ![]() ![]() ![]() |
|
HI
How can i download the unicode version? Thank uou |
||
![]() |
||
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
|
Hi,
Licensed version already has unicode ActiveX in bin folder. Register them using Registrator tool.
|
||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
![]() |
||
WaleedSeada ![]() Groupie ![]() ![]() Joined: 29 March 2007 Location: Egypt Status: Offline Points: 88 |
![]() ![]() ![]() ![]() ![]() |
|
Hello Mah,
I install PB 10.5 and also not using the unicode version of codejock.
I still can't get Arabic to be rendered correctly, I put these lines at a separate script for the command bar, paint manager and tab paint manager:
CommandBars.Options.Font.Charset = 178
CommandBars.Options.Font.Size = 8 CommandBars.Options.Font.Name = "Tahoma" CommandBars.ActiveMenuBar.RibbonPaintManager.CaptionFont.Charset = 178
CommandBars.ActiveMenuBar.RibbonPaintManager.CaptionFont.Name = "Tahoma" CommandBars.ActiveMenuBar.RibbonPaintManager.CaptionFont.Size = 9 CommandBars.ActiveMenuBar.TabPaintManager.Font.Charset = 178
CommandBars.ActiveMenuBar.TabPaintManager.Font.Name = "Tahoma" CommandBars.ActiveMenuBar.TabPaintManager.Font.Size = 8 I did the same for VB6 and it worked fine, But Pb not Okay,
Do you have any comments
Regards,
|
||
:Powerbuilder 10.5
:Codejock suite 11.2.2 ========================= Waleed Seada |
||
![]() |
||
malhabibi ![]() Groupie ![]() Joined: 22 May 2007 Location: United Kingdom Status: Offline Points: 18 |
![]() ![]() ![]() ![]() ![]() |
|
Hi Waleed,
Try in this exact sequence:
CommandBars.Options.Font.Charset = 178
CommandBars.Options.Font.Size = 8 CommandBars.Options.Font.Name = "Tahoma" CommandBars.ActiveMenuBar.RibbonPaintManager.CaptionFont.Charset = 178
CommandBars.ActiveMenuBar.RibbonPaintManager.CaptionFont.Size = 9 CommandBars.ActiveMenuBar.RibbonPaintManager.CaptionFont.Name = "Tahoma"
CommandBars.ActiveMenuBar.TabPaintManager.Font.Charset = 178
CommandBars.ActiveMenuBar.TabPaintManager.Font.Size = 8 CommandBars.ActiveMenuBar.TabPaintManager.Font.Name = "Tahoma"
Always make the Font.Name the last line
Good Luck
MAH |
||
![]() |
||
WaleedSeada ![]() Groupie ![]() ![]() Joined: 29 March 2007 Location: Egypt Status: Offline Points: 88 |
![]() ![]() ![]() ![]() ![]() |
|
Hello Mah,
I think I found the problem.
The sample PB project is migrated from PB8.0.4, and when I convert it to PB10.5 I didn't notice the arabic text inside the script, it was not correct.
I re-type it again correctly, and it works fine now, and you know what
I don't need even to set the font properity.
Try it yourself, remove the script that set the font and test it.
Thanks for your help
Regards,
Waleed
|
||
:Powerbuilder 10.5
:Codejock suite 11.2.2 ========================= Waleed Seada |
||
![]() |
||
VbGuy ![]() Newbie ![]() Joined: 02 June 2007 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
|
Hi all
No everything okay, the problem was only in windows media center english version with arabic support (comes with toshiba labtop),,,
When i run my prog in another machine with arabic version text display correctly ...
See you around
|
||
![]() |
||
WaleedSeada ![]() Groupie ![]() ![]() Joined: 29 March 2007 Location: Egypt Status: Offline Points: 88 |
![]() ![]() ![]() ![]() ![]() |
|
Hi all,
The problem is with powerbuilder, beacuse it is ANSI, untill version 10.5 which is unicode.
VB is unicode also has no problem with Arabic text.
Thanks and 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 |