- Peter Middlestorb
- PowerBuilder
- Wednesday, 8 March 2023 11:44 AM UTC
Hi, I have searched and read all posts marked "resizable border" before asking this.
When opening a sheet in an MDI frame..., window type main!, some resizable some not...
PB2019R2 renders the borders and display area as expected:
But PB2022 is OK for resizable but gives a thick (but not draggable) border for non-resizable and adds some unexpected window size.
The OH and OW values are .height and .width captured during the open even, and PH and PW are the values captured by a windows event posted from open.
Perhaps I have missed a new setting in PB2022?
Source attached. Screen shots are from deployed code, but it behaves the same from the IDE in all cases.
Resizable is
integer x = 101
integer y = 100
integer width = 1038 (1001 in properties view)
integer height = 1104 (1000 in properties view)
boolean titlebar = true
string title = "Resize = true"
boolean controlmenu = true
boolean minbox = true
boolean maxbox = true
boolean resizable = true
long backcolor = 67108864
Non-resizable is
integer x = 101
integer y = 100
integer width = 1010 (1001 in properties view)
integer height = 1080 (1000 in properties view)
boolean titlebar = true
string title = "Resize = false"
boolean controlmenu = true
long backcolor = 67108864
Cheers!
[END]
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.