form.Showdialog VS form.show

  • Thread starter Thread starter Ivan Weiss
  • Start date Start date
I

Ivan Weiss

I have been using form.show to display my forms yet I see a lot of
people using form.Showdialog.

What are the differences and when is one better than the other or are
they the same...?

-Ivan
 
Ivan Weiss said:
I have been using form.show to display my forms yet I see a lot of
people using form.Showdialog.

What are the differences and when is one better than the other or
are they the same...?

Use Showdialog whenever you want to prevent the user from changing the
calling form as long as the modal form is shown.
 
* Ivan Weiss said:
I have been using form.show to display my forms yet I see a lot of
people using form.Showdialog.

What are the differences and when is one better than the other or are
they the same...?

Why not test it on your own or have a look at the docs for the form's
'Show' and 'ShowDialog' methods?
 
Hi Ivan,

For a dialog I find showdialog much simpler to use, but that is maybe a
matter of taste.

It has the same behaviour as the opensavedialog, closedialog and other
dialogs, although for this one you have the showintaskbar propery to set to
false yourself if you don't want that.

Cor
 
Back
Top