cancel
Showing results for 
Search instead for 
Did you mean: 

PowerBuilder 11.5.1 default language in DW text field changed

Former Member
0 Kudos

Hello.

We upgraded PowerBuilder 9.0 to 11.5.1 recently.

Experienced many issues, most of them solved by now.

My current question is:

On a regular text column fields in DW, we use one of  two languages:

English or Hebrew.

When we wanted the field to be in Hebrew, we would mark it as "RightToLeft" in the General tab,

and aligned it to the right.

If not marked RightToLeft, the default cursor used to be left aligned, with english letters. Until version 9.0

NOW what happens with 11.5.1 is this:

in the development environment (computer) everything is fine, the cursor is in english.

After building and moving the EXE to the customer, in most of the computers, the cursor is in Hebrew.

i.e. seems as if the default is taken from somewhere in the user's environment,

and not from the DW properties !!! not as before with 9.0

I've done some reading and added to my PB.INI

the lines:

useDefaultKeyboardLayout=yes

RTL_NoAlignment=yes


in the [DataWindow] section.


Then deployed again, built exe and moved to the users.


Nothing changed.


In some of the computers the field starts to type in English (as wanted), and in others, in Hebrew.



How do I overcome this problem ?


Thanks,

Ronit.



Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ronit,

Did you deploy the pb.ini on the customer machine ?
Just put it in the same location as the exe.

Regards.

Abdallah.

Former Member
0 Kudos

Hellow and thanks,

I think the PB.INI is used only in the development environment, isn't it ?

After deployment, the runtime passed to the customer includes only the EXE and PBDs, to my knowledge.

arnd_schmidt
Active Contributor
0 Kudos

I think the PB.INI is used only in the development environment, isn't it ?

No, for some "special"  properties PB.INI must also be deployed.

It's not nice, but it's necessary.

hth

Arnd

Answers (1)

Answers (1)

Former Member
0 Kudos

Thank you,

Abdallah ELRHAZOUI and Arnd Schmidt .

I deployed the PB.INI on the customer's machine, and it seems to be working now.

It probably did solve the problem,

but I would like to search for the reason why it used to work fine in version 9.0

and not in 11.5.1

Is that a bug in the version ?

anybody knows ?