1. Tracy Lamb
  2. PowerBuilder
  3. Monday, 20 November 2023 20:18 PM UTC

Hi all,

Thought I'd give PB2022 R2 a try... just changed my MDI window to TabbedView.  Pretty cool!

I'm using PB2022 R2, PFC12.5, Windows 11.  I have a custom tab object, ufolder_lab,  inherited from the pfc's u_tab... utab_folder.  ufolder_lab is an object on a window, w_folder_lab, which is inherited from pfc's w_sheet.

For some reason, the horizonal scroll bar at the bottom of the utab_folder object and associated dw's is not displaying on the bottom.  All dws on utab have vertical and horizontal scroll bars.

Not sure it matters, but here's the code I use to auto-size everything on the window in the open event:

// Resize objects...
dw_1.Width = this.WorkspaceWidth() - 20
tab_1.Width = this.WorkspaceWidth() - 20
tab_1.Height = this.WorkspaceHeight() - this.y - 20

// Window Resize Behavior
of_SetResize(true)
inv_resize.of_Register(dw_1, "ScaleToRight")
inv_resize.of_Register(tab_1, "ScaleToRight&Bottom")

im_menu = this.MenuID

 

I also noticed similar behavior with master/detail windows.  Wondering if this is an issue with PFC?

TIA,

~~~Tracy

 

 

Bruce Armstrong Accepted Answer Pending Moderation
  1. Tuesday, 5 December 2023 06:48 AM UTC
  2. PowerBuilder
  3. # 1

I responded in your follow up post:  https://community.appeon.com/index.php/qna/q-a/pfc2022-resize-service-doesn-t-work-right-in-mdi-with-tabbedview

Comment
There are no comments made yet.
Mark Lee @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 21 November 2023 06:58 AM UTC
  2. PowerBuilder
  3. # 2

Hi Tracy,

Thanks for your feedback.

As far as I know, when you upgrade to PB2022 R2 and enable the TabbedView, you need to update the corresponding PFC12.5 to the latest version PFC 2022 before it can be used, otherwise there will be PFC Library compatibility issues. You can refer to the following link for the details.
https://community.appeon.com/index.php/qna/q-a/tabbed-view-gives-unknown-control-mditbb-1-error?limitstart=0#reply-43288

Therefore, we recommend that you upgrade to the latest PFC 2022 version and try the feature again.

In addition, the sample code you provided only involves the tab control, neither the MDIClient object nor the TabbedBar control;
Therefore, we cannot judge whether the code is related to the TabbedView function or whether it is a problem with the code itself.
If you determine that the issue is a bug, kindly 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. Chris Pollach @Appeon
  2. Sunday, 3 December 2023 15:37 PM UTC
Hi Tracy;

As I'm sure that you are well aware, the PFC is not an Appeon product & was open sourced in the PB 10.5 days.

That being said, I would post this issue in the PFC website's Q&A section and see how that goes. https://github.com/orgs/OpenSourcePFCLibraries/discussions/categories/q-a

The Appeon Community PFC users might be able to help you if you can create a simple PB App test case that reproduces this issue. HTH

Regards ... Chris
  1. Helpful 1
  1. Tracy Lamb
  2. Sunday, 3 December 2023 18:11 PM UTC
Thank you Chris, I was pretty sure Appeon doesn't support PFC, but wasn't sure were to look for PFC support. I will check out the link you sent, and if I don't find anything will try to put together a simple PB app test case.

~~~Tracy
  1. Helpful
  1. Andreas Mykonios
  2. Monday, 4 December 2023 07:05 AM UTC
Hi Tracy.

You can submit an issue for PFC's 2022 at https://github.com/OpenSourcePFCLibraries/2022/issues. But as you understand, there is not a team that will answer or follow up that ticket. Most of the work is done by volunteers.

Andreas.
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Tuesday, 5 December 2023 00:24 AM UTC
  2. PowerBuilder
  3. # 3
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.