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

How do you create a form in visual basic?

658


what is the Property used to add a menus at runtime?

1837


Types of LockEdits in DAO?

1852


Is it possible to set a shortcut key for label?

1582


To find the current recordposition in data control.

1325


by writing MACRO CODE,i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI). ex: custdetails custname lastname locaton mobile pincode custdetails raj tony hyd 555555 521245 servcreqrd srvce# srvcename location srvcepincode servcreqrd 754 drilling hyd 521784 for the above example in the another workbook retrive data like this custname Raj srvce# 754 srvcepincode 521784. while retrieving data control will search cell by cell for each row.

1914


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

1736


Difference between Class Module and Standard Module?

2166


How do I mimic a toggle button?

1205


what are the Differences between Recordset and Resultsets?

2264


In which areas the Error occurs?

1659


What is the difference between change event in normal combobox and dbcombobox?

1839


Give brief description about class?

1656


How do I dial a phone number without using the MSCOMM VBX?

1479


How do I call a DLL?

1231