on 08-20-2015 4:18 PM
Hi everyone,
I've changed the application's mdi window's WindowType property form "mdihelp!" to "mdidockhelp!" to make docking windows possible and after that mdi.GetActiveSheet() no longer return a valid window. The mdi is not null, which should mean that there is no active window.. Can you make a window active somehow?
mdi.GetFirstSheet() does return the window I want, but it's not a replacement to GetActiveSheet() as it will only get the same window every time.
I think I should mention that a window of WindowType "response!" might be involved in this mess, but I fail to see how it works with "mdihelp!" and not with "mdihelpdock!".
Do anyone have an idea as to why GetActiveSheet() stopped working?
Any help is much appreciated!
Best regards,
Martin
Hi Martin;
Yep, I agree. I think that this is a PB 12.6 bug. I would suggest that you open a ticket with SAP Support on this one as MDI<anything> should return the MDI_Child window that has focus.
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We open a window (let's call it X) in the mdi frame, inside the open event we open a "response" window (to determine the filter of the window X).
I have noticed that window X doesn't get focus at the point when the response window use mdi.GetActiveSheet(). If I manually click the window X GetActiveSheet() gets the reference to window X (which it wants)
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.