1. Bolivar Vergara III
  2. PowerBuilder
  3. Thursday, 17 August 2023 03:27 AM UTC

Good Day,

I would like to ask help on this issue I encounter when using ribbonbar,

because when minimizing a window, the minimize icon is displaced half only because of the ribbonbar.

are we able to set the Y location when minimizing?

I have attached sample image 

when using ribbonbar, you can see the minimize is shown half only but if not using ribbon bar the minimize is shown whole.

 

Thanks

Attachments (1)
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 17 August 2023 04:46 AM UTC
  2. PowerBuilder
  3. # 1

Hi Bolivar;

  Note that you must resize the width and height for RibbonBar area in correspondence with the MDI client area to make sure the RibbonBar fits well in the MDI window.

 Did you add the following code to the Resize event of the MDI window, as follows...

//resize RibbonBar
rbb_1.move(0, newheight - this.workspaceheight())
rbb_1.width = newwidth

//resize mdi_1 based on RibbonBar
mdi_1.move (0, rbb_1.height + newheight - this.workspaceheight())
mdi_1.resize (newwidth, newheight - rbb_1.height - ( newheight - this.workspaceheight()))

Regards ... Chris 

Comment
  1. Bolivar Vergara III
  2. Thursday, 17 August 2023 04:57 AM UTC
Good Day,



Hi Chris,

Yes already added that, this project have been long time now, and just want to fix this issue now.



Thanks
  1. Helpful
There are no comments made yet.
Bolivar Vergara III Accepted Answer Pending Moderation
  1. Thursday, 17 August 2023 04:16 AM UTC
  2. PowerBuilder
  3. # 2

Im currently using Powerbuilder 2019 R3

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 17 August 2023 11:07 AM UTC
Are you on the latest R3 build 2779 / 2797?
  1. Helpful
  1. Bolivar Vergara III
  2. Friday, 18 August 2023 02:17 AM UTC
Good Day,

Hi Chris,

Im currently using R3 2728 build

Thanks
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Thursday, 17 August 2023 03:41 AM UTC
  2. PowerBuilder
  3. # 3

Hi,

Which powerbuilder version are you using?

Do you have any "scaling" set in windows different to 100%?

Maybe you should create a bug report for this: https://www.appeon.com/standardsupport/newbug

regards.

 

Comment
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.