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
__ no of controls in form.
Is it possible to Manipulate data through flexgrid? Explain.
How would you activate animation control?
What are the different procedures associated with the object?
How do I dial a phone number without using the MSCOMM VBX?
what are the Default cursor Type and LockEdit type in DAO?
what is the Difference between Recordset and Querydef?
Can you create a tabletype of recordset in Jet - connected ODBC dbengine?
How many tabs in a tabbed dialog do you consider appropriate?
Difference between Class Module and Standard Module?
What are the tools available for Debuggiu in VB?
How would you create your application in DHTML?
Can you create a Updatecascade, Deletecascade relation in Ms- Access?
Is it possible to Manipulate data through flexgrid? Explain.
How do I do drag & drop between applications?