What is the difference between a property a method and an
event? Give an example of each.
Answer Posted / pratap557
Property are a type of method that shows state of an Object
like Caption, backcolour etc.
Methods/Functions are for changing Or doing something on
the Object Like Move,Remove, Add etc.
Event are Objects which means that something happend for
which the object must respond to. And for this very reason
we write method like
button1_Click( sender Object, event Object)
The event Object(Delegate) is related with the method of
that responder Object(Button)
Is This Answer Correct ? | 176 Yes | 30 No |
Post New Answer View All Answers
What is OLEDB?
what are the Differenct Types of Procedures in VB?
What is the difference between adodc and adodb in vb?
How would you create properties by using class Builder Wizard?
What are the types of Error? In which areas the Error occurs?
What is the use of property page Wizard in ActiveX Control?
___,__,___ are the type of combo box?
Difference between Linked Object and Embedded Object?
How do I get the Tab key to be treated like a normal character?
Whether HTML supports multimedia: and document links?
Difference between Dynaset and Snapshot?
Explain about ADO control?
Is there a way to break long lines in VB code?
What is form in visual basic?
Differentiate between DAO,ADO and Adodc as in data access objects?