1. Thierry Garrigues
  2. Beta Testing
  3. Tuesday, 4 February 2020 13:14 PM UTC

Hi.

In the Ribbonbar tutorial ( https://docs.appeon.com/appeon_online_help/pb2019r2/pbug/ch13s03.html#_Add_the_RibbonBar ), it says that you must uncheck the control menu of the sheet windows.

How does the user manage the size of sheets windows (maximized, minimized, normal) ? 

In the demo application (sales_application_demo) the sheets windows are always displayed maximized. We can't reduce them. This operation prohibits drag & drop between sheets.

If the control menu is left activated during the maximization, the reduction and closing buttons are displayed above the menu and a line is lost.

How can you use the Ribbonbar with MDI application ?

Thierry

 

Attachments (1)
Brad Wery Accepted Answer Pending Moderation
  1. Tuesday, 4 February 2020 14:27 PM UTC
  2. Beta Testing
  3. # 1

If you don't like the control menu for your sheet displaying above the ribbon, you'll have to fix this by adding "control menu" features in the ribbon itself. All you have to do is add buttons in the ribbon to change the window state of the current sheet. 

Comment
  1. Brad Wery
  2. Tuesday, 4 February 2020 18:59 PM UTC
Sure, it doesn't matter to me. If Thierry wants to use MDI with the Ribbon, the options I provided are probably his easiest options. The other option is to prevent maximizing and use Layering instead.
  1. Helpful
  1. Thierry Garrigues
  2. Wednesday, 5 February 2020 08:08 AM UTC
Hi

In the previous version of Powerbuilder, I prevent the maximization of sheet windows...

But since R2, the maximized button of sheets window (and minimized...) does not send events to the window.

I can no longer intercept them.

Do you have a solution to do that in Pb2019 R2 ?

Regards
  1. Helpful
  1. Brad Wery
  2. Wednesday, 5 February 2020 18:51 PM UTC
The resize event would trigger. The WindowState property would be updated by that point.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.