1. Troy Cowan
  2. PowerBuilder
  3. Thursday, 26 January 2023 13:08 PM UTC

I have a question regarding the height of a window. 

When I go into the painter to modify a window, I can look at its properties, including going to the Other tab and viewing/editing its Height

I can also right click on the window in the treeview, and look at the window's raw source code by clicking Edit Source. When I do that and scroll down to where the height variable is, I find that that value is always 244 units larger than what I see in the first method above. 

Can someone explain to me what is happening there? I'm not suggesting anything is wrong or needs fixing, I just want to understand what is happening. This question is in regards to the resizing functionality in PFC. 

Thanks ahead of time. 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 26 January 2023 13:58 PM UTC
  2. PowerBuilder
  3. # 1

Hi Troy;

   Assuming that you are referring to PB 2022 ...

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

Regards .. Chris

Comment
  1. Troy Cowan
  2. Thursday, 26 January 2023 14:08 PM UTC
No, I'm actually using 2021:



PowerBuilder version 2021 build 1509



Windows 10 Enterprise
  1. Helpful
  1. Troy Cowan
  2. Thursday, 26 January 2023 14:16 PM UTC
Plus, the page that you linked to seems to be showing a difference in height when switching from one version to another, which is not the difference in height I am speaking of. I'm speaking of the difference in height between what is shown on the properties tab in the painter, and the height shown in the raw source code of the window.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Thursday, 26 January 2023 14:20 PM UTC
For the Window Painter's properties vs the Window class' source code - the differences are the Height of the Title Bar and the all around Window border width.
  1. Helpful 2
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.