Dialogs after form is visible

Alistair

Newcomer
Joined
Jul 30, 2004
Messages
16
What is the proper way to have an event not fire until a form is completely loaded and showing.

For example, a login dialog via form1.showdialog with the application is showing in the background.

If it’s put in the Form_Load sub it fires before the form is visable and anything else I do just seems dirty.
 
Why not make a Shared Sub Main in one of your forms that shows this login dialog, checks the output and then shows the startup form when ready.
You'll have to go into your Project Properties to change the startup to go to Sub Main. :)
 
Back
Top