Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is ActiveX Dll and ActiveX Exe?

2193


Why visual basic is used?

1061


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

2275


Explain about form creation in Visual Basic?

1340


which property is used to change to some value to access a identity column in datacontrols?

1885


Types of ActiveX Components in VB?

1954


How much gain in performance will I get if I write my number crunching routines in C instead of Visual Basic?

1431


What are the important components of OLEDB?

2342


Is visual basic still used?

1078


How would you access objects created in ActiveX Exe and ActiveX D1T ?

2119


How can you save and Get data from Clipboard/ Recordset object consists what?

1053


How do I get the number of free bytes on a disk?

1734


Explain about declaring variables in Visual basic?

1131


What is ActiveX? Explain.

1968


Is visualvm free?

1158