Hi Vinicius
Thank you for the Test App! Here is what it looks like under PB 2022 R3 ...
I did notice that the MDI Frame's resize code was a bit off. Here is what I changed it to ..
rbb_main.Move (0,0)
rbb_main.width = newwidth
mdi_1.y = rbb_main.height + 4
mdi_1.height = newheight - rbb_main.height
mdi_1.width = newwidth
Also for the Sheet Windows, we now have this "handy" introspection command ...
IF main.IsTabbedViewEnabled ( ) = TRUE THEN
THIS.controlmenu = FALSE
END IF
However, I see the issue when the RibbonBar is active and the Sheet Windows have the "Control Menu" active. I think that the PBVM should disable the Control Menu automatically when it sees that a RibbonBar control is active to prevent this weird behaviour. In the newer SalesDemo App versions, the Control Menu is not enabled - hence, the Min/Max issue is avoided.
This might be worth opening a Support Ticket and attaching your current test case for Engineering to look at. Maybe a possible enhancement could come out of this. Thanks for your patience.
Regards ... Chris