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 language does visual basic use?
How would you map properties to controls by using ActiveX Control Interface Wizard?
Why does everybody say I should save in TEXT not BINARY?
How do I make a text box not beep but do something else when I hit the Enter key?
How to get Cursor position using API?
___ VB constant make the menu item in centre.
What is the use of Hyperlink control for DHTML applications?
How many ways you can access file using VB?
Which method is preferred to save datas like database?
How do you zoom in visual basic?
Explain OLE Drag and Drop?
How many File System Controls are there ? Explain.
How can you get selected file from file system Control?
Types of LockEdits in RDO.
Difference between ActiveX Exe and Dll.