Hello.

The affair is straightforward but I don't imagine how to do the following. Let's say I press x button. The dialog appears asking if I want to save changes. I press "Yes". New window appears asking to enter the name of document to be saved.
How do I make form_unload() subroutine wait till I enter that name? Because I don't know if I have to unload or cancel unloading. Is it some way to stop code execution and continue it as I wish? Or can I make one form dependent on the other so that the later one is waiting for some information from the former? Please give me the hint.

Thanks.