- Naveen Utla
- PowerBuilder
- 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.
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.