>OK, now, I understand.... The form is top level.
>
>But, how can the parent window wait for the child window to terminate, if they are both top level?
Form your posting to Jaroslav i understand that you have two top level forms.
I don't know how you can wait for the second form to return, but you can try something like this:
When you start your second form give the reference to the first form to your second form like:
Do Form .... With ThisForm
Now when you finish the second form you can call a function in the first form with as parameter the new value.
If you want no user interaction in the first form while the second one is active you can try to do something with enabled or so.
Hope this helps you,