Closing child window [message #359477] |
Sun, 16 November 2008 16:39 |
sindikalac
Messages: 52 Registered: November 2008 Location: Europe
|
Member |
|
|
Hi,
I created a form, with a button. When I click a button, new window opens (popup window). I would like to close this window, but not to close whole form. I found WHEN-WINDOW-CLOSED trigger with (set_window_property) on form level, but it doesn't work. Because it just shortly blinks (as the window is closed) and bring that window up again. I tried to use also a exit_form command, but it doesn't work, because it closes whole form, and I just want to close popup window.
|
|
|
|
|
Re: Closing child window [message #359513 is a reply to message #359477] |
Mon, 17 November 2008 00:41 |
sindikalac
Messages: 52 Registered: November 2008 Location: Europe
|
Member |
|
|
It is like this:
I have one canvas with the button on it. From that canvas (canvas1) I jump to another canvas (canvas2, which I call popup window) using a button. When that new canvas opens it has in its titlebar (right corner) three (I don't know how to call it) minimize, maximaze and exit buttons just like in every Microsoft progran. I want to close canvas2 using exit - X button on title bar and to return to canvas1.
|
|
|
|