• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 33. Active Server Pages and VBSc... > Objects, Properties, Methods, and Ev...

Objects, Properties, Methods, and Events in VBScript

Before you proceed further, you should take some time to review some terminology that may or may not be familiar to you. VBScript follows much the same object model followed by JavaScript and uses many of the same terms. In VBScript, as in JavaScript—and in any object-oriented language for that matter —an object is a collection of data and functions that have been grouped together. An object's data is known as its properties, and its functions are known as its methods. An event is a condition to which an object can respond, such as a mouse click or other user input. The VBScript programs that you write make use of properties and methods of objects, both those that you create and those objects provided by the Web browser, its plug-ins, ActiveX Controls, Java applets, and so on.

Tip

The following is a simple guideline: An object's properties are the information it knows; its methods are how it can act on that information; and events are what it responds to.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint