MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Dokumentacja Strona 418

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 504
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 417
1 2 ... 413 414 415 416 417 418 419 420 421 422 423 ... 503 504

Komentarze do niniejszej Instrukcji

Brak uwag