I'm having another problem with Close() in WM20 and WM21.
My app starts with a single window (WIN_First). When the user clicks something, it then opens the next window (WIN_Second). Once the user gets to the last window (WIN_Fourth), I want to close all the windows except the first (WIN_First).
Right now, when a user clicks an action on WIN_Fourth, I'm calling the code "Close(WIN_Second)". The WinDev documentation seems to suggest this should close WIN_Second, WIN_Third, and WIN_Fourth. What actually happens is only WIN_Fourth is closed (and the user can see WIN_Third).
- Does my approach to window management in WM make sense?
- Has anyone ever encountered this problem?
Thank you!
[attachment 2285 WindowExample.png]
My app starts with a single window (WIN_First). When the user clicks something, it then opens the next window (WIN_Second). Once the user gets to the last window (WIN_Fourth), I want to close all the windows except the first (WIN_First).
Right now, when a user clicks an action on WIN_Fourth, I'm calling the code "Close(WIN_Second)". The WinDev documentation seems to suggest this should close WIN_Second, WIN_Third, and WIN_Fourth. What actually happens is only WIN_Fourth is closed (and the user can see WIN_Third).
- Does my approach to window management in WM make sense?
- Has anyone ever encountered this problem?
Thank you!
[attachment 2285 WindowExample.png]