- Christopher Craft
- PowerBuilder
- Thursday, 3 December 2020 03:07 PM UTC
Is there a secret to using sheet windows that have a menu with a RibbonBar control on the frame? If I remove the menu from w_sheet then I can get the windows to show but if it has a menu then the first will show and any other window will cause the whole screen to blank out.
I need the ability to run both 'Classic' version (frame menu and sheet menu) and the RibbonBar version. For the RibbonBar version I have created a custom MDI which is inherited from my base MDI. I then assigned a blank menu (ie. m_mdi_none) to the frame. I have a setting on the frame that determines what mode you are in so in the Open event of the sheet I hide the ControlMenu, ToolBar, and Menu but those settings do not seem to take effect. I need my sheet framework code so removing the menu from w_sheet is not an option.
I have attached a print screen of the first window and the second window. What am I doing wrong?
Chris
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.