English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am using Visual Basic . Net
What is the difference between a Form and a Dialog?

2006-08-25 08:55:13 · 2 answers · asked by stepanstas 2 in Computers & Internet Programming & Design

2 answers

Dialogs are usually opened as "modal" meaning that the user is forced to interact with the dialog before they can do anything else. Then once they choose an option, that option is returned to the form which called it.

Examples of dialogs would be the "input" dialog where it asks the user for input. The messagebox is a dialog because the user must click ok before it continues to process. Other dialogs:

1) Font dialog - for choosing a font. It returns the font, size, color style of font chosen.

2) Open file dialog - asks the user for one or many files and returns the files chosen

3) Printer dialog - choose print options and returns info about the printer selected.

Now it is true that you can make a form modal as well and can make dialogs modeless, but the definition comes from the mode the box is opened with and its default behavior.

Hope this clarifies.

2006-08-25 09:15:24 · answer #1 · answered by Martyr2 7 · 2 0

Ummm... Not Sizeable? I am on VB6, not sure if there is a difference. Kinda confused on the question.

2006-08-25 16:01:48 · answer #2 · answered by Special Ed 5 · 0 2

fedest.com, questions and answers