1. ATK Gimmy Susan
  2. PowerBuilder
  3. Thursday, 7 May 2020 13:34 PM UTC

Good day.


I need to coexist the ribbonbar and the toolbar.
In this case, opensheet does not work with layered state!
View Image.





Is it to you? How can I work around it?

Ecosystem:
- Windows 10
- Powerbuilder 2018r2



Thank you early for the answer.

 

Gimmy




 

ATK Gimmy Susan Accepted Answer Pending Moderation
  1. Friday, 8 May 2020 13:37 PM UTC
  2. PowerBuilder
  3. # 1

Hi Chris and Hi Roland.
I have already entered that code on the MDI resize event.

= (

Comment
  1. ATK Gimmy Susan
  2. Saturday, 9 May 2020 22:26 PM UTC
( The mdi of the example application 'Appeon PowerBuilder-RibbonBar-Example.2019r2' has a menu WITH ONE INVISIBLE ITEM.)



Must it be an empty menu or is it just a menu with all invisible items and with the tollbarvisible = false?

  1. Helpful
  1. Chris Pollach @Appeon
  2. Sunday, 10 May 2020 00:06 AM UTC
Hi Gimmy;

I have not tried those menu / window settings. You would have to try it & let us know. Basically, that should give you the same configuration as a one menu item menu class. I just don't know what the instantiation overhead / interference might be.

Regards... Chris
  1. Helpful
  1. ATK Gimmy Susan
  2. Saturday, 16 May 2020 10:04 AM UTC
Given the bad result of the coexistence of ribbonabr + toolbar + menu, I managed, after many efforts, to convince users to use only the ribbon bar.

(As smurf smells angry: I hate users).



Furthermore, the elimination of the menu has accelerated the opening times of the frame.





Result:

Without menu and without toolbar the Layered! makes little mistakes.



Question: is it essential to remove the titlebar property of the windows for correct positioning?



Regards... Gimmy.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 7 May 2020 19:59 PM UTC
  2. PowerBuilder
  3. # 2

Hi Gimmy;

   FYI: As per the PB Help for using a RB within an MDI Frame ...

Add the following resize() code to resize the RibbonBar and the MDI window:
//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()))

HTH

Regards ... Chris

 

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Thursday, 7 May 2020 14:20 PM UTC
  2. PowerBuilder
  3. # 3

Sheet windows are displayed within a control called mdi_1. The resize event of the window can change the x/y/width/height of mdi_1.

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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.