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
Explain Types of DBCombo boxes?
Is it possible to change menu runtime using API? If yes? Specify the function names.
To validate a range of values for a property whenever the property values changes,which type of property procedure you use?
How to load and unload child forms.
OLE is used for _______
Through which protocol OLEDB components are interfaced?
What are the types of API Types.
What is a thread pool and how are the threads within a thread pool managed?
What are the different procedures associated with the object?
What are the types of Error? In which areas the Error occurs?
How would you find out the value property in Slider Bar Control?
Is it posible to Create Tables Through Querydef?
How do I remove/change the picture property of a control at design time?
How come I get a "No Current Record" error when I use a a Data Control on an empty table?
Which type of object requires this object?