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


Please Help Members By Posting Answers For Below Questions

what is the control used to call a windows application.

1518


how a multiple routing works ?

2303


How would you navigate between one document to another document

1175


How do I get a bitmap picture in a field in an Access database?

891


Which method is preferred to save data like database to the disk?

1531






Explain about control properties?

609


Difference between ActiveX Control and Standard Control.

2128


How can you get selected file from file system Control?

1404


What do you mean by Databound Controls Explain?

1430


What is DBSqlPassThrough?

2651


Difference between Tabletype and Snapshot?

1490


___,__,___ are the type of combo box?

1160


Where can I get updated VB and other Microsoft files?

967


what are the Types of LockEdits in RDO?

1556


Is it possible to call oracle database through ADO control or Object?

1376