MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Specifikace Strana 418

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 504
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 417
418 Components
Returns
A Boolean value that indicates whether the drop operation was successful: true if successful;
false otherwise.
Example
The following example determines if the component is a table or view, and then returns the
appropriate
bHandled value:
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
false value, which indicates that the
event handler is not defined. In this case, double-clicking causes the default behavior, which
expands or collapses the tree nodes.
Zobrazit stránku 417
1 2 ... 413 414 415 416 417 418 419 420 421 422 423 ... 503 504

Komentáře k této Příručce

Žádné komentáře