I created a dialog to prompt for a registration code, etc., when my application runs. I show() the form, then in the following lines of code, collect the user data. Originally, I left the ShowWindow property as In Screen. Everything worked fine.. the dialog appeared, after I close it, the app moves on to the code after show.
However, when I try to set ShowWindow to As Top-Level Form, the form blips on the screen for an instant, and the code moves on. Looking at the Event output, Destroy() fires immediately after Activate(), and the form closes. Any ideas?
Thanks,
C
However, when I try to set ShowWindow to As Top-Level Form, the form blips on the screen for an instant, and the code moves on. Looking at the Event output, Destroy() fires immediately after Activate(), and the form closes. Any ideas?
Thanks,
C