1. Radek Soukup
  2. PowerBuilder
  3. Tuesday, 17 October 2023 13:11 PM UTC

Hello, we are using a Custom MDI Frame window in our application and we have a problem with the new TabbedView feature. We use Sizing the client area:

mdi_1.Move (li_wx + ii_workspace_x, li_wy)

mdi_1.Resize (li_width, li_height)

as per Appeon help. When we use the TabbedView checkbox in Frame, the application behaves as follows: OK, when on the top is only one Toolbar (Frame or Sheet) and DisplayText is off, NOK when on the top are more Toolbars and DisplayText is off, OK when DisplayText is on (does not depend on the number of ToolBars on the top - see. attatched pictures). If the Toolbars are placed somewhere other than the top, it behaves correctly. We think it's a bug when displaying tabs. We would greatly appreciate your advice. Best regards. Radek

Attachments (3)
Radek Soukup Accepted Answer Pending Moderation
  1. Monday, 23 October 2023 11:08 AM UTC
  2. PowerBuilder
  3. # 1

Hi Chris, thank you very much for your quick reply !
Seems the bug is in a replacement the y coordinate by tabbar height. Although a mdi_move (x, y) command
has sent following mdi.y shows higher y. Y is higher by that tabbar height. This is correct to have space for
tabbar to see it up. There are the described cases when the repacement does not work and tabbar is placed
under a toolbar. The bug depends on the position (top) and number of toolbars (2) as described. We are asking
for advice on how to test, proceed or workaround.

Best regards

Radek

Comment
  1. Armeen Mazda @Appeon
  2. Tuesday, 24 October 2023 08:57 AM UTC
If you think it is a bug, please open a support ticket and provide test case: https://www.appeon.com/standardsupport/newbug
  1. Helpful 1
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 17 October 2023 18:04 PM UTC
  2. PowerBuilder
  3. # 2

Hi Radek;

  In the new Tabbed View feature, the MDI window has a new control ... MDITBB_1.

https://docs.appeon.com/pb2022r2/application_techniques/Displaying_sheets_in_tabbed_view.html

  I cannot say 100% that this is the issue if not also adjusted in relation to MDI_1.

A simple PB App test case should prove this theory. If not, please open a Support Ticket and attach you test case.

HTH

Regards ... Chris 

 

Comment
  1. Miguel Leeuwe
  2. Monday, 23 October 2023 12:29 PM UTC
Not very helpfull, but I think the naming of MDI_1 and MDItBB_1 lack a lot of imagination. More significant names could have been used, honestly.
  1. Helpful
  1. Andreas Mykonios
  2. Monday, 23 October 2023 12:33 PM UTC
:-)
  1. Helpful 1
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.