Steve,
Depends when do you need them. If you want them to be opened from somewhere else, simply use the timer event of the pop-up and use a switch after the first opening of the message box (hidden text box on the form that would store a boolean showing that the message has been displayed or a variable declared on the Form_Load event). If you do anything on the pop-up first, just use the apropriate event of the control tha has (or loses) the focus.
You're right...I didn't understand that this was what you wanted to do.
Open the MsgBox from the Dialog form, not from the calling form. As Lyle
suggests, you can do this in the dialog form's OnLoad event; or you can use
the dialog form's OnOpen event.
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.