What is the difference between a property a method and an
event? Give an example of each.
Answer Posted / ashwini khopkar
Property:-
1) It tells something abt an object, such as its
name,color,size,location,or how it'll behave.
2) We can thing property as adjectives that describe
objects.
3) For e.g., Caption property of a form are called as
Form1.caption.
Method:-
1) Actions associated wid objects are called as method.
2) Methods are verb.
3) Some typical methods are move, print, resize & clear.
Event:-
1) Code related 2 some objects.
2) It is also verb.
3) It is an action that may b taken by d usr, such as
click, drag, key press, or scroll.
Is This Answer Correct ? | 30 Yes | 10 No |
Post New Answer View All Answers
To validate a range of values for a property whenever the property values changes,which type of property procedure you use?
What is ActiveX Document?
How do I call a DLL?
How can you Navigate from the DHTML application to another DHTML application? .
How do I prevent multiple instances of my program?
How would you Create a Query Builder and Explain its uses ?
Is it possible to set a shortcut key for label?
Which type of object requires this object?
Can you create a tabletype of recordset in Jet - connected ODBC dbengine?
What is meant by Establish Connection in RDO?
Is there a way to break long lines in VB code?
How would you attach an ActiveX control in Your Application?
what are the Types of LockEdits in RDO?
___,_____ and ____ container objects.
what are the Differences between Recordset and Resultsets?