> sub OKbutton_Click { .. gather data and return (-1); }
>
> When you return -1 in any event sub, not just in _Terminate, your window
> gets destroyed. Since you cannot exit the Dialog() loop other than
with -1,
> there are but two ways to do it

But that is my problem. I return(-1) to Setup() but the window is not
terminated by _Terminate or OKbutton_Click. Why?

> If you want the window gone while you do the error checking (something
that
> users, having entered potentially faulty information, will hate you to
do),

In fact I want to destroy the window after I gather the data (faults and all
:) and reconstruct the window with some error messaging stuff displayed. Or
can I ->Hide(), reconstruct and then ->Show()?

Syl



Reply via email to