1. Naveen Utla
  2. PowerBuilder
  3. Tuesday, 3 November 2020 11:29 AM UTC

Hi Team,

   We are currently using Powerbuilder 2019 R2 Build 2328. We have following issue

Whenever we use the following function to open a window, the window is getting added to Next-to-Last Menu and it is expected behavior and here our window "w_frame" is of mdihelp! windowtype.

OpenSheet(w_1, "w_1", w_frame, 0, Layered!)

But

If we change the frame window "w_frame" windowtype from mdihelp! to mdidockhelp! the above said behavior becomes obsolete. 

 

Steps to Reproduce issue.

1. Create a Menu "m_frame" and assign it to w_frame window.

2. Go to w_frame window and set windowtype property to 'mdihelp!'.

3. Run the application and Open sheet windows using the following function

OpenSheet(w_1, "w_1", w_frame, 0, Layered!).

4. Opened window can be seen under "windows" menu.

5. Now change the w_frame windowtype from mdihelp! to mdidockhelp!

6. Run the application and open the same sheet.

7. Now go to the "Windows" Menu and the Opened window is not getting added. 

Chris Pollach Accepted Answer Pending Moderation
  1. Tuesday, 3 November 2020 14:27 PM UTC
  2. PowerBuilder
  3. # 1

Hi Naveen;

  Please note that the Dockable Window feature was deprecated in the PB2019 release. Thus, the "Open Docked" suite of commands, Dockable Toolbars and Dockable type windows are no longer supported.

FYI:  http://community.appeon.com/index.php/qna/q-a/theme-issues-on-mdidock-windows

  Also, if you search the PB Help for the keyword "Dockable" and then follow the link to "Window Control" - you will see the deprecated (obsolete) details.

Regards ... Chris

Comment
  1. Armeen Mazda @Appeon
  2. Tuesday, 3 November 2020 14:59 PM UTC
Adding to what Chris said, we inherited this feature as grossly incomplete and it ended up requiring a rewrite of the feature to make it work properly. Since we saw too little demand so we made it obsolete and instead focused our engineering resources to enhance PB UI in a way that has greater demand, such as UI Themes, RibbonBar, WebBrowser control, and accessibility that we added in PB 2019.
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Tuesday, 3 November 2020 15:03 PM UTC
If you are really set on doing Dockable windows, you may want to evaluate this third-party product to see if it meets your needs: https://www.pbultimatesuite.com/EN/modernize-pb-interface/docking-system.html
  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.
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.