Creating a DHTML Scriptlet

See Also

A DHTML scriptlet is an HTML file that contains ordinary DHTML to define the scriptlet's look and feel. The DHTML scriptlet also contains scripts to define how the DHTML scriptlet exposes properties, methods, and events.

To create a DHTML scriptlet

  1. Create a new file.

  2. Use DHTML to define the visual interface for your scriptlet.

  3. Define the properties, method, and events for your scriptlet. For details, see Defining Properties and Methods in DHTML Scriptlets. You can also define event handling for your scriptlet. For details, see Exposing Events in DHTML Scriptlets.

After you have created the DHTML scriptlet, you can use it as you would any control. Microsoft® Visual InterDev™ includes a feature that allows you to add the scriptlet easily to the Toolbox. For more details, see Adding DHTML Scriptlets to Your Application.