Shared Flashcard Set

Details

Chapter 4
VB Quiz
9
Computer Science
Not Applicable
04/03/2011

Additional Computer Science Flashcards

 


 

Cards

Term
Is it possible to create custom events for an object?
Definition
Yes, and you can also create them for existing objects. This is beyond the scope of this book.
Term
Is it possible for objects that don't have an interface to support events?
Definition
Yes. To use the events of such an object, however, the object variable must be dimensioned a special way, or the events aren't available. This is beyond the scope of this book. If you have an object in code that supports events, look in Help for the keyword WithEvents for information on how to use such events.
Term
Name three things that can cause events to occur.
Definition
User input, system input, and other code.
Term
True or false? All objects support the same set of events.
Definition
False
Term
What is the default event type for a button?
Definition
Click
Term
What is it called when you write code in an event that causes that same event to be triggered, setting off a chain reaction, with the event triggered repeatedly?
Definition
Recursion
Term
What is the easiest way to access a control's default event handler?
Definition
Double-click the Control in the Form Designer.
Term
All control events pass a reference to the control causing the event. What is the name of the parameter that hold this refernce?
Definition
sender
Term
What should you do when you change a control's name?
Definition
Change the name of its defined events accordingly.
Supporting users have an ad free experience!