Friday, May 21, 2010

What is the difference between Show and Showdialog in visual basic?

I am sure that dialog has something to do with words babe. lol





Kisses

What is the difference between Show and Showdialog in visual basic?
show opens up a new window (e.g. frmwindows.show)





showdialog doesn't open a new windows. it will just show a dialog box containing texts you put in it. it is usually done when you put your mouse cursor over the object. it is like adding notes or preview of what a user may actually do on the object.
Reply:Here's the difference. Show displays a form non-modally. That means that the user can navigate away from the form, to another one in your application (if you have one).





Showdialog opens the form up modally. That means that the user cannot go to any other form in your app before the modal form is closed. The user can go to another application running on his system, of course.





Modal dialogs are like yes/no, ok/cancel things where you want the answer before you can proceed processing. Nonmodal ones are where the user is to have fully control, entering data, perhaps using menus to direct the course of processing himself.

playing cards

No comments:

Post a Comment