You create an event for your control The event will expose the On Before Delete

You create an event for your control the event will

This preview shows page 45 - 47 out of 64 pages.

QUESTION 77 You create an event for your control. The event will expose the On Before Delete method to the container, giving the container the option to cancel the deletion. If the container does not handle the event, the deletion should continue. The event declaration is shown in the following line of code: Event on Before Delete (bContinue As Boolean) Which code fragment should you use to fire the event? A. Public Sub Check Delete() Dim bContinue as Boolean bContinue=True Raise Event On Before Delete (bContinue) If bContinue Then Execute Delete End Sub B. Public sub Check Delete() Dim bContinue As Boolean bContinue=True Raise Event on Before Delete(True) If bContinue Then Execute Delete End Sub C. Public sub Check Delete() Dim bContinue As Boolean bContinue=False Raise Event on Before Delete(True) If bContinue Then Execute Delete End Sub D. Public sub Check Delete() Dim bContinue As Boolean bContinue=False Err.raise bContinue,, "on Before Delete" If bContinue Then Execute Delete End Sub 070-100
Image of page 45
QUESTION 78 Your Visual Basic project uses one control named My Control. My Control is not a Visual Basic default control. You open the project in the Visual Basic environment on another computer. You receive an error message. You are not able to see My Control in the toolbox. What is most likely cause of the problem?
Image of page 46
Image of page 47

You've reached the end of your free preview.

Want to read all 64 pages?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture