Here we Learn about the What is Dialog Box? Definition, Properties and Types of Dialog Box in Visual Programming (VP).

Definition and Meaning of Dialog Box

It is the way of engaging the user in a conversation by offering information and requesting some input. It makes an user to move in to and for bouncing process between the main window and its dialog box.

A dialog box presented in an application , moves the action out of mainstream program; abandoning the main plot to develop secondary issue.

Dialogs, for good or bad , interrupt the interaction and make the user react to the program instead of driving it. The dialog boxes are good for presenting infrequently used functions and setting the dialog serves to isolate the more frequently used functions and settings.

Dialog boxes are also well - it is appropriate to keep in mind the information related to a single topic, such as the properties of an object in an application. A dialog box serves the two kind of master:

  1. Frequent user: Who is familiar with the program and uses them to control its more advance or dangerous facilities.
  2. Infrequent user: Who is unfamiliar with the scope and use of the program and who is using to learn the basic.

Properties of Dialog Box

  • The dialog boxes have buttons, combo boxes and other gizmos on their surface.
  • They can be placed where we need no conventional plan is necessary.
  • Every dialog box has at least one terminating command, a control that activated, causes a dialog box to shut down and go away.
  • Generally, we offer two terminating commands OK and CANCEL.

Types of Dialog Boxes

The dialog boxes are divided into two categories.

  1. Modal Dialog Box
  2. Modeless Dialog Box

1) Modal Dialog Box

Must be dismissed by the user before any work can be done outside the dialog in the same application. (But you can work in another application). There are two types of the modal dialog box

  1. Application model: The dialog box only stops their owning application.
  2. System model: can't even click to another application (for example, the Control-Alt-Delete dialog).

Purposes of modal dialogs:

  • collect data from user
  • present data to the user
  • permit the user to control application data

2) Modeless Dialog Box:

User can continue without dismissing the dialog box just reminding it and continuing it in the same application

3) Property dialog box

Presents a user with the settings and characteristics of selected objects and enables the user to make changes over it. 

4) Function dialog box

They are summoned from the menu. They are most frequently modal dialog boxes, and they control a single function like printing inserting and many others. 

5) Bulletin dialog box

They are best characterized as a ubiquitous error. 

6) Process dialog box

They are like bulletins, are erected at the programs discretion rather than the user request. Alters the user to the programs inability to respond normally.