Handledoubleclick() - MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Manual

Extending dreamweaver
Hide thumbs Also See for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER:
Table of Contents

Advertisement

Example
The following example determines if the component is a table or view, and then returns the
appropriate
bHandled
function handleDesignViewDrop(componentRec)
{
var bHandled = false;
if (componentRec)
{
if ((componentRec.objectType == "Table")||
(componentRec.objectType == "View"))
{
alert("popup Recordset Server Behavior");
bHandled = true;
}
}
return bHandled;
}

handleDoubleClick()

Availability
Dreamweaver MX.
Description
When the user double-clicks the node in the tree, the event handler is called to allow editing. This
function is optional. The function can return a
handler is not defined. In this case, double-clicking causes the default behavior, which expands or
collapses the tree nodes.
Arguments
componentRec
The
componentRec
The
name
The
image
Dreamweaver uses a default icon.
The
hasChildren
expandable: if
node item; if
The
toolTipText
The
isCodeViewDraggable
node item can be dragged and dropped into Code view.
The
isDesignViewDraggable
node item can be dragged and dropped into Design view.
Returns
Nothing.
322
Chapter 18: Components
value:
argument is an object that contains the following properties:
property is the name of the tree node item.
property is an optional icon for the tree node item. If this icon is omitted,
property is a Boolean value that indicates whether the tree node item is
, Dreamweaver displays the Plus (+) and Minus (-) buttons for the tree
true
the item is not expandable.
false,
property is an optional tooltip text for the tree node item.
property is a Boolean value that indicates whether the tree
property is a Boolean value that indicates whether the tree
value, which indicates that the event
false

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents