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

__ no of controls in form.

1071


Is it possible to Manipulate data through flexgrid? Explain.

1556


How would you activate animation control?

1453


What are the different procedures associated with the object?

599


How do I dial a phone number without using the MSCOMM VBX?

1267






what are the Default cursor Type and LockEdit type in DAO?

1732


what is the Difference between Recordset and Querydef?

1861


Can you create a tabletype of recordset in Jet - connected ODBC dbengine?

1536


How many tabs in a tabbed dialog do you consider appropriate?

1692


Difference between Class Module and Standard Module?

1990


What are the tools available for Debuggiu in VB?

1482


How would you create your application in DHTML?

1526


Can you create a Updatecascade, Deletecascade relation in Ms- Access?

1700


Is it possible to Manipulate data through flexgrid? Explain.

2062


How do I do drag & drop between applications?

987