Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WM20+WM21] Children of a parent window won't close as expected (2 replies)

$
0
0
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]

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>