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
Types of LockEdits in DAO?
Explain OLE Drag and Drop.
Explain Types of DBCombo boxes?
When should we use recursive programming?
___ is the control used to call a windows application.
Why can't I use an index with my VB accessed database?
___,__,___ are the type of combo box?
How do I program the Novell NetWare API from VB?
Specify technical & functional architecture of your last 2 projects.
How should dates be implemented so they work with other language and country formats?
How to down load image properties.
What is instantiating?
What is the use of Data Form Wizard?
How do I remove/change the picture property of a control at design time?
Why doesn't "my string" & Chr$(13) do what I want?