- mike S
- PowerBuilder
- Wednesday, 13 December 2023 06:51 PM UTC
the tabbed view mdi window will auto resize the mdi_client when a sheet is opened.
it notifies the mdi window with a resize event.
the workspace workspaceheight() does not change. workspaceheight does not take into account the tabs.
The tabbedview feature seems to assume that the mdi client will only be under its' control. which is not supposed to be the case if you have any object on the mdi window:
"In a custom MDI window, you determine the size of the client area. For example, when a frame has buttons below the menu bar in the frame, you size the client area so it begins below the buttons."
my mdiclient expects to have to resize the mdi client and nothing else will. this is now broken and it doesn't seem that this new feature provides any way to get the information to properly size the client. simply not reszing the mdi client does not work. resizing the mdi client adds in a gap at the bottom which appears to be the height of the tabs.
how to you get the size of the tabs and how to do you get whether the tabs are displayed (yeah, i can figure out whether they are displayed by getfirstsheet)? I assume there is no way do get this?
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.