Creating And Editing Event Handler Script Blocks - MACROMEDIA COLDFUSION STUDIO 4.5-USING COLDFUSION STUDIO Use Manual

For windows 95/98/nt4/2000
Table of Contents

Advertisement

Editing Pages
The best way to create a new tag definition file is modify an existing VTM file and save
it with the tag's name. You can also open \Extensions\TagDefs\TagDefTemplate.vtm to
work with a skeleton definition file.
Tip

Creating and editing event handler script blocks

Adding and modifying script blocks for events such as
Inspector. You can edit an event if it is supported as an attribute of the selected tag or
edit the event directly.
To add an event handler script block:
1. Select a tag in the Tag Tree to display a list of supported attributes and events in the
Tag Inspector pane.
2. You can either click the event in the Attributes list or in the Events list.
3. Open the drop-down list in the values column and select a script language for the
event handler.
4. In the Specify Event Handler Name dialog box, you can select the default entry or
type a new name, and then click OK.
The event syntax is added to the tag and a script block is created in the
of the document.
5. Complete the script block for the handler.
To locate an event script block in your document, double-click the name in the Tag
Inspector pane or right-click the tag and select the Navigate to "" function command.
To add online help for the tag, create an HTML file containing the help
text and save it with the tag name in the appropriate language folder in
\Extensions\Docs.
is easy from the Tag
ONCLICK
HEAD
75
section

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion studio 4.5

Table of Contents