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
what is the control used to call a windows application.
how a multiple routing works ?
How would you navigate between one document to another document
How do I get a bitmap picture in a field in an Access database?
Which method is preferred to save data like database to the disk?
Explain about control properties?
Difference between ActiveX Control and Standard Control.
How can you get selected file from file system Control?
What do you mean by Databound Controls Explain?
What is DBSqlPassThrough?
Difference between Tabletype and Snapshot?
___,__,___ are the type of combo box?
Where can I get updated VB and other Microsoft files?
what are the Types of LockEdits in RDO?
Is it possible to call oracle database through ADO control or Object?