- Dan Cooperstock
- PowerBuilder
- Wednesday, 28 August 2024 07:00 PM UTC
I'm observing a problem where if I create a window with a given width and height (in this case, 2002 x 1500), and then put a messagebox in the window's Open event to display those values, they don't match (I get 2039 x 1604).
Is it adding in PBUs for the borders and title bar perhaps, when it reports on those values in a script? The Help doesn't suggest that, that I can observe.
This is complicating some code I'm trying to write to make sure that the window has enough space for all of the controls in it.
I'm observing this both in PB 2022 R3 (which I'm currently testing my apps in, to see whether I'm ready to convert) and PB 2021.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.