The scope in which to execute the handler function.
There are objects associated with the different events that get passed automatically to the handler function (in the code above, the evt parameter.
Den einzelnen Ereignissen sind Objekte zugeordnet, die automatisch an die Handler-Funktion übergeben werden (im obigen Code ist dies der Parameter evt).
To insert a new blank handler function into a
To jump to an existing handler function in a
Returning true from an event handler function signals that the event has beend handled and normal event handling should be aborted.
Wenn von einer Event Handler-Funktion true zurückgegeben wird, bedeutet dies, dass das Event behandelt wurde und die normale Event-Behandlung abgebrochen werden soll.
The condition is converted to a string before calling that handler function, and the boolean FALSE is converted as the empty string.
Die Bedingung wird vor dem Aufruf der Handler-Funktion in eine Zeichenkette umgewandelt, und der boolesche Wert FALSE wird dabei zur leeren Zeichenkette konvertiert.
With the new event handler function, a range object selecting this element is provided instead of the XMLData element currently below the mouse cursor.
Mit der neuen Event Handler-Funktion wird anstelle des XMLData-Elements, das sich derzeit unterhalb des Mauscursors befindet, ein Bereichsobjekt bereitgestellt.
To register a message handler, create a QAManager.MessageListener object that has the message handler function as its argument.
Um einen Message Handler zu registrieren, erstellen Sie ein QAManager.MessageListener-Objekt, das die Message Handler-Funktion als Argument hat.
Events for which you already have a handler function are formatted bold.
This page also demonstrates the use of an event handler function
Die Seite zeigt auch ein Beispiel für den Einsatz einer Event-Funktion
This handler function needs to accept one parameter, which will be the exception object that was thrown.
Die Funktion muss einen Parameter akzeptieren, dieser enthält beim Aufruf das nicht aufgefangene Exception Objekt.
Used to tell the handler function, which performs the update, how to react, if this step causes an error while updating the database structure.
Wird verwendet, um der Funktion, welche die Aktualisierung durchführt, mittzuteilen, wie diese reagieren soll, falls dieser Schritt während der Aktualisierung der Datenbankstruktur einen Fehler verursacht.
And you already spotted the code injection vuln in the save handler function, right?