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?
How do I play MID, WAV or other multimedia files?
What is meant by building a recordset.
1.What are the Feactures visual data manager 2.Short note on visual data manager 3.What is data control,its work,properties,methods 4.Needs for OLEDB in vb 5.LIst steps involved in generating christal report 6.What is a recordset 7.Diffrence between RDO and ADO 8.What is an Activex control 9.Advantages of ADO over data control 10.Diffrence between model and modeless form 11.What is the significance of debug window 12.Diffrence between single document and multiple document 13.Explain data report
What is the use of debug Window?
How do you create a form in visual basic?
Explain about creating VB applications in excel?
Is it posible to Create Tables Through Querydef?
What is ado in vb?
Explain about Caturing Baseline.
What is visual basic used for?
Is the Variant type slower than using other variable types?
Explain the working with task in Gantt chart view.
How would you use ActiveX Dll and ActiveX Exe in your application?
What is the use of Visual Basic Document file?