CALL a dialog form just after the main form is loaded.

G

Guest

Hi all,
I would like to call a dialog form from the main form, just after the
main form is loaded.

however, if i put the code at either Form_Load or FormActivate, they both
cannot achieve it, as the main form is not visible yet, and with the dialog
form showing..

Any idea on how to implement this?

Thanks
windy
 
C

Chris Dunaway

Try putting it in the OnShown event. That is called one time. Or
start your program from Sub Main and call your dialog there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top