What is the difference between a property a method and an
event? Give an example of each.

Answer Posted / amir

A property indicates the state of object. Eg. Visible =
True.

A method is a used for changing the state of object.

An event is a feedback of object state change. An event is
triggered when the object state is changed.

Is This Answer Correct ?    82 Yes 37 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can Visual Basic be used for server-side scripting?

541


What is the use of Hyperlink control for DHTML applications?

1926


How do I use GetPrivateProfileString to read from INI files?

998


What is DDE?

1777


It possible to call OLEDB's Features directly in VB without using any control?

1496






How would you attach pictures in column headers of List View Control?

1660


DHTML Is used for what?

1466


Is it posible to Create Tables Through Querydef?

1666


Explain about ADO control?

589


What is a thread pool and how are the threads within a thread pool managed?

1606


advantage and disadvantage in visual-basic and ms-access please tell me or send my mail-id

2661


What is executenonquery in vb net?

513


How many ways we can access file using VB?

1614


What are the different procedures associated with the object?

599


How do I make a text box not beep but do something else when I hit the Enter key?

978