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
How do I create a window with a small title bar as in a floating toolbar?
How to load and unload child forms.
What is ado in vb.net?
What is the use of debug Window?
It possible to call OLEDB's Features directly in VB without using any control?
What are the tools in visual basic?
What are the Internet tools available in VB6.0?
Which method is preferred to save data like database to the disk?
___ Property is used to count no. of items in a combobox.
How would you add elements in TreevieW Control.
What are the scope of the class?
What is the use of Immediate, Local Window?
What are the important components of OLEDB?
What is dao in vb?
Is it posible to Create Tables Through Querydef?