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

What is the use of Active Control Property?

1655


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

2910


DHTML Is used for what?

1644


Types of ActiveX Components in VB?

1627


How would you map properties to controls by using ActiveX Control Interface Wizard?

1968


What is Parser Bug?

2077


_____ collection in recordset used to assign a value from textbox to table columns without making abinding in datacontrol.

1488


Explain about creating VB applications in excel?

866


Write the steps in Creating ActiveX Dll and Active Exe?

1749


What is the use of NEW Keyword? Explain.

1743


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?

1736


Is it possible to Access BackEnd procedures? Explain.

1750


What is the use of Scalewidth and ScaleHeight Proeperty?

1687


To validate a range of values for a property whenever the property values changes,which type of property procedure you use?

1628


How can you check whether a record is valid record or Invalid record using ADO control or Object?

1637