1. Zhang JX
  2. PowerBuilder
  3. Tuesday, 17 November 2020 08:36 AM UTC

Hi There, 

We have just added the new Ribbonbar feature into our PFC framework system at main-sheet level - eg. keep using pfc mdi windows and MDI menu while adding ribbonbar to main sheet for individual modules.

We faced wired issue when the number of ribbonbar menu large button is more than the size to place on the screen, there will be folded sub-menu, and if accessing from those sub-menu, the opened sheet will be covered by the Ribbonbar windows itself, please refer to attached pictures - right now we have to move away the ribbonbar window only then to see the target window sheet.

If accessing from normal large button, no such issue incurred.

Appreciate your help in advance.

 

Best Regards. JX

Attachments (2)
Accepted Answer
Zhang JX Accepted Answer Pending Moderation
  1. Thursday, 19 November 2020 09:59 AM UTC
  2. PowerBuilder
  3. # Permalink

To all, case closed. workaround for referencing in case anyone incur the similar issue.


I found out that issue with the script: changemenu() within the opened window object postopen event.
Guess Ribbonbar feature is not compatible with normal menu object.
My team mate has solve the issue with a workarond: window.bringtotop = true:
Message.PowerObjectParm = lstr_parm
OpenSheetWithParm(lw_win, lstr_parm,ls_win, w_mdi_frame, 0, Layered!)
lw_win.bringtotop = True

 

Thank you.
Zhang

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 19 November 2020 17:30 PM UTC
Hi Zhang ... thank you for the workaround solution that you developed & shared with us!
  1. Helpful
There are no comments made yet.
Mark Lee @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 18 November 2020 09:17 AM UTC
  2. PowerBuilder
  3. # 1

Hi JX,

 

1. For the "We faced wired issue when the number of ribbonbar menu large button is more than the size to place on the screen, there will be folded sub-menu, " issue,
For the rule of displaying the aspect of panels in a RibbonBar to be in dropdown-mode, it is the same as that in the Windows Folder.
You can refer to the following link:
https://community.appeon.com/index.php/qna/q-a/ribbonbar-panels-in-dropdown-mode


2. For ", and if accessing from those sub-menu, the opened sheet will be covered by the Ribbonbar windows itself, " issue,
I'm a little confused about what that means,it seems that this is a bug. Please report this problem to our ticket system: https://www.appeon.com/standardsupport/newbug so it can be properly received and tracked.
Please also provide a sample PB test case (with PBT/PBL) when you submit it to the ticket system.

 

Regards,

 

Comment
  1. Zhang JX
  2. Wednesday, 18 November 2020 09:37 AM UTC
Hi Mark,

Pretty fine with item 1, understand the rule.

item 2, noted, will submit the case to ticket system.



Thank you.
  1. Helpful
  1. Zhang JX
  2. Wednesday, 18 November 2020 09:49 AM UTC
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 18 November 2020 16:22 PM UTC
Please submit a Test Case PB App as well as this could be an App coding / PFC related issue and not a PBVM bug.
  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.