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

Types of LockEdits in DAO?

1669


Explain OLE Drag and Drop.

1495


Explain Types of DBCombo boxes?

591


When should we use recursive programming?

540


___ is the control used to call a windows application.

1071






Why can't I use an index with my VB accessed database?

978


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

1144


How do I program the Novell NetWare API from VB?

950


Specify technical & functional architecture of your last 2 projects.

1609


How should dates be implemented so they work with other language and country formats?

948


How to down load image properties.

598


What is instantiating?

1402


What is the use of Data Form Wizard?

1492


How do I remove/change the picture property of a control at design time?

1097


Why doesn't "my string" & Chr$(13) do what I want?

1094