1. siamak danesh
  2. PowerBuilder
  3. Thursday, 24 December 2020 03:52 AM UTC

One of the main problem that still exists even in new versions is right to left arrangement of columns in datawindow . I mean in countries which write Right to left(RTL) they expect that columns in a datawindow must be aligned from right to left but in powerbuilder the columns are aligned from left to right so  when datawindow width is bigger than sum of column's width  there will be empty space (white area) added to right side and this is annoying.

when  datawindow property RTL = true  at run time the columns must be arranged from right to left , this means the the first column at design time will be the last column at run time and aligned from right . another problem is with Tab button , when we push tab button we expect the cursor move from right to left and this means the tab order is reversed at run time. and at the end we conclude that datawindow needs mirroring and when we set RightToLeft = true  this means at run time every things must be mirrored, dynamically (  tab order , cursor movement, column resize direction, ...  ) and statically ( columns arrangement and white space ). The mirroring is happening in web browsers and everything obey right-to-left  direction law. hope to find a solution

Attachments (1)
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 5 January 2021 21:44 PM UTC
  2. PowerBuilder
  3. # 1

Hi Siamak;

  Do you mean ...

Looks like this in the IDE (ie: DWO's) ...

But looks like this at runtime (including Windows,, Menus, Controls, etc)...

Regards ... Chris

Comment
  1. siamak danesh
  2. Tuesday, 19 January 2021 05:08 AM UTC
yes exactly everything is aligned from right to left . but you did not show the solution

best
  1. Helpful
  1. Chris Pollach @Appeon
  2. Tuesday, 19 January 2021 17:09 PM UTC
Hi Siamak;

This change of object drawing is within the MS-Windows "Layout" flow from Left to Right or from Right to Left under the App's task and process settings. What you are seeing above is a new feature in my STD Framework being released this week for PB2019R2. The framework uses the "SetProcessDefaultLayout" SDK API call to change the MS-Windows drawing flow and thus, all the controls follow suite! :-)

I will be releasing the new framework version "officially" later this week (Version 2021.1.0.185). However, I just uploaded the Framework's revised OrderEntry Demo App yesterday. You can take it for a "test drive". At the Login Screen, select the "Right to Left" check box and see what happens. ;-)

FYI: http://sourceforge.net/projects/stdfndclass/files/Applications/PowerBuilder/OrderEntry

HTH

Regards ... Chris
  1. Helpful
  1. siamak danesh
  2. Wednesday, 20 January 2021 06:24 AM UTC
Hi Chris

thank you I will check it.

Regards Siamak
  1. Helpful
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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.