jmac13
Member
Hi All,
I've got a program which is a menu program that runs another .w as a persistent. So I've got two windows at the same time but I want the second window to close when the first window gets closed. On the Exit of the menu program (the first program) I run something so the second window runs apply "close" to this-procedure. The UI gets killed off but the second program is still there waiting for a close. So when i do apply "close" to this-procedure in the menu program the second one gets killed off and not the menu program. Then menu programs UI is gone but its stuck in the main block waiting for a close.
So my question is how can i run these two Independently then kill them both when the user exits the system?
im guessing i really shouldnt be running it like im doing from the menu program
Thanks
I've got a program which is a menu program that runs another .w as a persistent. So I've got two windows at the same time but I want the second window to close when the first window gets closed. On the Exit of the menu program (the first program) I run something so the second window runs apply "close" to this-procedure. The UI gets killed off but the second program is still there waiting for a close. So when i do apply "close" to this-procedure in the menu program the second one gets killed off and not the menu program. Then menu programs UI is gone but its stuck in the main block waiting for a close.
So my question is how can i run these two Independently then kill them both when the user exits the system?
im guessing i really shouldnt be running it like im doing from the menu program
Thanks