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

Write the Steps in Creating an ActiveX Control?

1522


what are the Types of DBCombo boxes?

1687


How can you check whether a record is valid record or Invalid record using ADO control or Object?

1399


How to find the current record position in data control?

1445


I get a "file not found" error on the IIF function when I distribute by program. Why?

1044






Is there any Edit method in ADO Data Access method?

1516


how to use unicode data in vb6 regarding to telugu language, my output is in only telugu language

3085


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

1300


Can you create a tabletype of recordset in Jet connected ODBC dbengine.

1461


Explain OLE Drag and Drop.

1502


How do I play MID, WAV or other multimedia files?

1042


__ no of controls in form.

1070


How do I prevent multiple instances of my program?

977


___ Property is used to count no. of items in a combobox.

958


What is the need of tabindex property is label control.

1429