Adding the object to your web page using HTML Writing script procedures to respond to events that the object provides Adding Objects to Your Web Pages Since this is a VBScript tutorial, rather than an HTML tutorial, we will offer only a limited discussion of how to add an object to a web page. Once you have added a control to your web page, it can be configured, manipulated and responded to through its properties, methods and events. Properties are the characteristics of an object. They include items like a caption, the foreground color and the font size. Methods cause an object to perform a task.
Events are actions that are recognized by an object.
For instance, a command button recognizes an onclick event. The Script Wizard found in the Microsoft ActiveX Control Pad can be used to identify events provided by a control, and to generate script to respond to these events. For the most part, you will be focusing on properties and events. An example of setting properties for a label control is shown in the following example. Copyright 2001 INT Media Group, Incorporated All Rights Reserved.