adplus-dvertising
frame-decoration

Question

Which of the following statements prevents a form from being closed?

a.

e.Cancel = False

b.

e.Cancel = True

c.

e.Close = False

d.

sender.Close = False

Posted under Visual Basic

Answer: (b).e.Cancel = True

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following statements prevents a form from being closed?

Similar Questions

Discover Related MCQs

Q. A form’s ____________ event is triggered when the computer processes the Me.Close() statement.

Q. A form’s _________________ event is triggered when you click the Close button on its title bar.

Q. The _______________ event occurs when the user either types a value in the text portion of a combo box or selects a different item in the list portion.

Q. The item that appears in the text portion of a combo box is stored in which property?

Q. Which of the following selects the Cat item, which appears third in the cboAnimal control?

Q. The items in a combo box belong to which collection?

Q. Which property is used to specify a combo box’s style?

Q. Which of the following instructs a function to return the contents of the decStateTax variable?

Q. Which of the following is false?

Q. To determine whether a variable is being passed to a procedure by value or by reference, you will need to examine ________________

Q. Each memory location listed in the parameterList in the procedure header is referred to as _________________

Q. ________________ statement is the last statement in the function.

Q. Between the function’s _____________ and ___________________ you enter the instructions to process when the function is invoked.

Q. A function can receive information either by value or by _________________

Q. A function’s header includes the ___________ data type.

Q. The functions header and footer contains the _______________ keyword.

Q. _____________________ returns a value after performing its specific task.

Q. Which of the following is false?

Q. The items listed in the Call statement are referred to as ____________________

Q. The ___________ keyword tells the computer to pass the variable’s address rather than its contents.