Hi Dhruv,
PBESCAPEMENTMODE affects the center of the circle of object text rotation, the following are my test results for your reference. Suppose the object has position (x, y), width w, and height h.
When PBESCAPEMENTMODE=1, (x + 1/2*w, y) is the center of the circle, that is, the top center of the object is the center of the circle of the rotation.
When PBESCAPEMENTMODE=0(it is the default value), the center of the circle depends on the alignment, as follows:
Left (x, y + h), the bottom left corner.
Right (x + w, y), the top right corner.
Center (x + 1/2*w, y + 1/2*h), the center of the object.
Justify (x, y + h), the bottom left corner.
We will document this in the later version.
For your issue:
1) There is no feasible way to judge whether one report is created with PBESCAPEMENTMOD 1 or 0.
Please note the background color will rotate but object border not, so please set the object's border and background color, and then observe the rotation result; if you get correct result when the top center of the object is the center of the circle of the rotation, then it is created with PBESCAPEMENTMOD 1, otherwise it is created with PBESCAPEMENTMOD 0.
2) Close PB IDE, add setting like below in %localappdata%\appeon\powerbuilder 22.0\pb.ini.
[PB]
PBESCAPEMENTMODE=1
Regards,
kai
The first time, I was told that there is no flag named PBESCAPEMENTMODE, but I discovered that this flag is indeed used.
The second time, I was advised to test the issue in the latest PB build and to raise a support bug if the issue persisted. After raising the support bug, it was found that the issue I was facing was due to different PBESCAPEMENTMODE settings on different machines. As I am new to this, I asked the two questions mentioned earlier. They suggested I check the community forums for answers, as it was outside their scope.
That’s why I asked the question a third time.
Anyway, thanks for your help.
Here's the URL: https://www.appeon.com/standardsupport/newbug