- Tracy Lamb
- PowerBuilder
- Monday, 20 November 2023 08: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
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.