show vs. showdialog

  • Thread starter Geoff Callaghan
  • Start date
G

Geoff Callaghan

I'm having fits with trying to get my application to work properly.
Basically, it is a cycle of forms. Once all five forms have been shown, I go
back to the first form. If I use showdialog, I get an error. If I use show,
the first form won't respond at all. I had this whole thing working, and I
don't know why all of a sudden it is behaving this way. I know what
Microsoft says the difference is between Show vs. ShowDialog, but from what
I've seen they aren't telling me the whole story. Does anyone know what's
going on here?

Geoffrey Callaghan
(e-mail address removed)
 
D

Daniel Moth

The first main form is shown by passing it to Application.Run
From there on you can show other forms in either of the two ways you
describe. The difference is in one case it is modal and in the other it
isn't.

Post a small reproducible sample and tell us what you are running on.
Describe the results you observe and what you would like it to do instead.
Then someone can help.

Cheers
Daniel
 

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