1. Salvador Rodriguez
  2. PowerBuilder
  3. Thursday, 18 April 2024 17:00 PM UTC

Hello,

We have a solution developed with PB21 where it uses AccessibleName property (by singlelineedit, commandbottom objects.. not in Dw) Available in MSAA and UI Automation Mode. Using the "Narrator" (an external app) our application in PB21 describes the value in the "AccessibleName" property followed by the text value when it is selected (or getfocus)...which really works for us. After migrating to PB22 R3 it only describes the text value, the "AccessibleName" property is not accessible anymore....

I tried swapping values of the "Accessibility" property within PB.INI also changing the "AccessibleRole" property without having better results.

Do you know if I have to change any parameters in PB22 R3 so that it works again with the "Narrator" like in PB21?

Thank you!

Salvador Rodriguez Accepted Answer Pending Moderation
  1. Friday, 19 April 2024 15:29 PM UTC
  2. PowerBuilder
  3. # 1

Hello,

I realized that we have two PB.INI files and the right file that I must be modified is the one under the USERs folder:

"C:\Users\rodrisa\AppData\Local\Appeon\PowerBuilder 22.0\pb.ini"


"C:\Program Files (x86)\Appeon\PowerBuilder 22.0\pb.ini"

 

 

Changing the settings there makes Accessibility Mode work. Of course, we must restart PB after changing it)

[Application]

Accessibility=1


Thank you, Arnd! 

Comment
  1. Chris Pollach @Appeon
  2. Friday, 19 April 2024 15:57 PM UTC
Hi Arnd;

The one in the PB 22 folder is for the IDE ( you double check that in the IDE's System Options dialogue)

The one for the PB App EXE to use must be in the same folder as the EXE.

HTH

Regards .. Chirs
  1. Helpful
There are no comments made yet.
Arnd Schmidt Accepted Answer Pending Moderation
  1. Thursday, 18 April 2024 17:46 PM UTC
  2. PowerBuilder
  3. # 2
Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.