what are the Differences between Modal and Modaless forms?

Answers were Sorted based on User's Feedback



what are the Differences between Modal and Modaless forms?..

Answer / senthil

MODAL forms are forms which require user input before any
other actions can be taken place. In other words, a modal
form has exclusive focus in that application until it is
dismissed. When showing a modal form, the controls outside
this modal form will not take user interaction until
the form is closed. The internal MsgBox and InputBox forms
are examples of modal forms. To show a form modally, use
the syntax:

MyForm.SHOW.vbModal ' a predeclared constant for 1

MODELESS forms are those which are shown but do not require
immediate user input. MDI child forms are always modeless.
To show a form modeless,use the syntax:: MyForm.SHOW

Is This Answer Correct ?    18 Yes 6 No

what are the Differences between Modal and Modaless forms?..

Answer / pooja parmar

Model form:- we can not navigate between two forms.
Modeless form:- we can navigate between two forms

Is This Answer Correct ?    10 Yes 1 No

Post New Answer

More Visual Basic Interview Questions

What does Query_unload event do in VB? Why we need Form _unload event?

3 Answers  


how to validate the pop up window Example :assume there is an webpage in that webpage we had a button to browser or file to upload . how to validate this button if we click on that botton window should appear else back to the page i need in VB Script Code since i am using QTP for testing

1 Answers   Sapient,


Explain the types of Views in Listview Control.

0 Answers  


How can I access a record by record number?

0 Answers  


What are the differences between a standard module and a class module?

4 Answers  


which VB constant make the menu item in centre?

1 Answers  


what is the Difference between Listindex and Tab index?

1 Answers  


What is the error message that you would get if you try to assign "Null" to an integer variable?

4 Answers   Symphony, Yahoo,


what are Collections?

1 Answers  


How to find size of the file. Which method or function is used to occomplish this?

0 Answers  


What are the types of line styles available in Treeview Control?

0 Answers  


Explain about an event-driven programming language?

0 Answers  


Categories