what are the Differences between Modal and Modaless forms?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

_____ collection in recordset used to assign a value from textbox to table columns without making abinding in datacontrol.

1383


Maximum Control Names length?

2048


Types of Resultsets.

1611


What is the-use of property page Wizard in ActiveX Control?

1630


How can you Navigate from the DHTML application to another DHTML application? .

1735






__ no of controls in form.

1151


What is OLEDB?

1993


Specify technical & functional architecture of your last 2 projects.

1716


1s it posible to Create Tables Through Querydef?

1805


Explain about the creation of EXE files with Visual Basic?

676


What is recordset in visual basic?

655


What is the use of Visual Basic Document file?

1560


What's the difference between MODAL and MODELESS forms?

1122


What is constructors and distructors.

1762


What are some methods you can use to send data from one VB executable to another one?

1884