1. Paweł Kasperek
  2. PowerBuilder
  3. Wednesday, 4 December 2024 09:35 AM UTC

HI,

I need help resolving my problem with rendering my application windows (I'm new to this project). 

I have an application that allows the opening of multiple windows inherited from the Window object. Windows open as shown in the figure below: (sorry, but the application is in Polish language)

 

If I open window number 1 'My Documents', the bottom of the window shows up without problems, (see the image below): 

After opening a new window and adding it to the list of open windows, the bottom of the window is drawn incorrectly:

To me, it seems to be scaled incorrectly. What could be causing this? How to diagnose the problem? Which event might be causing this state? The application frequently uses SetReDraw(), does calling this method trigger the Resize() event? Is there any tracing possibility that could help with diagnosis?

Regards

Pawel

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 4 December 2024 12:22 PM UTC
  2. PowerBuilder
  3. # 1

Hi Pawel;

  Is your app opening the new sheet in "layered!" mode in the OpenSheet() command?

Regards ... Chris

Comment
  1. Paweł Kasperek
  2. Wednesday, 4 December 2024 13:33 PM UTC
Hi Chris:



Thank You for your answer. Yes, these windows are opening with OpenSheet() command in "Layered!" mode.



Regards,

Pawel
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 4 December 2024 15:04 PM UTC
Excellent!

What does the Resize Event code on the MDI Frame and/or Sheet look like?

Are you aware of the runtime size changes in PB 2022?

FYI: https://docs.appeon.com/pb/upgrading_pb_apps/ch07s02s02.html

  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.