1. Paul Shue
  2. PowerBuilder
  3. Friday, 4 November 2022 16:19 PM UTC

Running PB21 Build 1509 and migrated from PB10.2 build 8100. We have a nested datawindow where on the font tab we are setting the escapement property to a value of 900 (we basically are want to rotate 90 degrees to left - text is left aligned). This works fine in PB10.2 but in PB 21 the data does not display at all with these same settings. Did escapement somehow change since PB10? Just doing some trial and error and I set the escapement to 1800 and still no display. When I set it to 2700 it did display (rotated 270 degrees ). All I want is to rotate this text field 90 degrees left but that isnt working.  It is critical because our client cannot send their reports until this is fixed. Any ideas?

Paul Shue Accepted Answer Pending Moderation
  1. Saturday, 5 November 2022 20:33 PM UTC
  2. PowerBuilder
  3. # 1

Chris - Attached is escapement.pbl. The main dw is d_concrete_compression_bowser and the child dw dataobject with the escapement issue is
d_concrete_compression_middle_bowser. On this dataobject are several text fields that all have escapement set to 900 but they do not display when data is retrieved. Even just retrieving in the dw painter, these text fields do not display.



 

This is what the data should look like after being rotated 90 degrees (escapement = 900). All the vertical headers.

Attachments (1)
Comment
  1. Chris Pollach @Appeon
  2. Tuesday, 8 November 2022 19:28 PM UTC
Hi Paul;

Thank you for the PBL but there is no test data in those DWO's. Neither is there a Test Case PB App that loads any test data. Thus, there is nothing to drive the child DWO's in order to study their escapement behaviour. :-)

Regards ... Chris
  1. Helpful
There are no comments made yet.
Paul Shue Accepted Answer Pending Moderation
  1. Friday, 4 November 2022 21:03 PM UTC
  2. PowerBuilder
  3. # 2

Yes I did try a regular (non-nested) rotation and it worked as expected. And Yes I tried retrieving the nested dataobject in the painter and it did not work.

This is a composite datawindow (processing = 5) with no datasource and the escapement issue is happening on one of the nested child sub reports.

Comment
  1. John Fauss
  2. Friday, 4 November 2022 21:28 PM UTC
That may explain why Chris' test works and yours does not. I'm afraid my only suggestion is to open a bug/error report.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Tuesday, 8 November 2022 19:18 PM UTC
Hi John .. That is why a simple PB "Test Case" would be important here. ;-)
  1. Helpful
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Friday, 4 November 2022 20:30 PM UTC
  2. PowerBuilder
  3. # 3

Paul, in your question you made mention of a nested DataWindow. Is the value to be rotated in the nested (inner) DW? If so, this might be where the problem resides.

Have you tried, as a test, to specify 90 degree escapement in a "regular" (non-nested) DW to see if that works in your environment?

Have you also tried editing the nested DW in the DW Painter and previewing it to see if the text rotates?

John

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 4 November 2022 19:33 PM UTC
  2. PowerBuilder
  3. # 4

Hi Paul;

  Here is my latest PB 2022 build 1878 test on my W10 version 22H2 build 19045.2130 ...

As you can see from the above screen capture, all escapement settings that I used work for me 100%.

Note1: Same settings work OK in PB 2019R3 and PB2021

Note2: You must have the DWO in Print Preview mode in order to see the escapement effect.

 

Q: => Can you give use more information about your MS-Windows environment?

Regards ... Chris

Comment
There are no comments made yet.
Paul Shue Accepted Answer Pending Moderation
  1. Friday, 4 November 2022 18:48 PM UTC
  2. PowerBuilder
  3. # 5

Thanks for your response but what you are saying still does not seem to match what is happening. I want a 90 degree rotation (I am setting escapement to 900 in both PB10 and PB21) - in PB10 (which works) and PB21 (the text field that is supposed to be rotated 90 degrees

does not display at all).

In PB21 escapement setting I tried 900, 1800, 2700, 4500 and the only one that displayed the text was 2700 which was  270 degree rotation. So I am still stuck as I want a 90 degree rotation (set escapement to 900 in PB21) and that text field does not display at all. So what should I set escapement to for a 90 degree rotation?

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 4 November 2022 18:06 PM UTC
  2. PowerBuilder
  3. # 6

Hi Paul;

   Yes, the escapement feature was updated by Sybase in the PB 11.x/12.x time frame. The property now includes a "point" degree rotation. Thus a 90 would be 9.0 degrees. A 900 would be 90.0 degrees and as you found out, a 2700 setting would mean a 270.0 degree rotation.

HTH

Regards ... Chris

Comment
  1. Paul Shue
  2. Friday, 4 November 2022 20:13 PM UTC
This is happening on a nested datawindow inside a composite dw. It is in print preview. I created a simple external dw and had no issues with escapement.

Windows Details:

Edition Windows 10 Enterprise for Virtual Desktops

Version 21H2

Installed on ‎6/‎1/‎2022

OS build 19044.2130

  1. Helpful
  1. Chris Pollach @Appeon
  2. Friday, 4 November 2022 20:21 PM UTC
Note that a Nested DWO & a Composite DWO are two different DWO styles. Do you mean a child DWO within a given DWO parent?

FWIW: I would suggest creating a small example of what you are trying to do & let us drill down into your desired result (or lack there of) and why or why not it's working for you. Food for thought. ;-)
  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.