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

Answer Posted / cherran

Property - Each and every control has its own property like
Caption, Name, TabIndex etc..

Method - Each and every control has its own method Like
SetFocus, Refresh etc... ( Which methods are not available
in a controls property window)

Event - Each and every control has its own events, which
allows user interaction between controls like command
buttons Click Event, TextBox's LostFocus Event etc...

Is This Answer Correct ?    34 Yes 47 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where can I get good up-to-date information about VB?

926


What is the need of tabindex property is label control.

1445


How would you Create a Query Builder and Explain its uses ?

1630


Why visual basic is used?

551


What is dao in vba?

561






How to down load image properties.

622


What are 3 main differences between flexgrid control and dbgrid control?

1886


Explain OLE Drag and Drop.

1514


Is it possible to Manipulate data through flexgrid? Explain.

2074


What is the-use of property page Wizard in ActiveX Control?

1557


i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI).

1787


___ property used to add a menus at runtime.

1250


What are the important components of OLEDB?

1889


VB ActiveX: Create a "drivelist"(D1) box, a "folderlistbox"(FLD1) that changes whenever D1 is changed , and a "FilelistBox"(FIL1) that is populated with the file lists under the selected directory in (D1).The file selected is stored in a variable "filename" along with the path. Question: How to use this activeX control in VC++ to get the selected filename?

1535


How should dates be implemented so they work with other language and country formats?

964