Ereignisse

Im Register Ereignisse haben Sie die Möglichkeit, den Ereignissen in den Steuerelementen des Formulars bestimmte Makros zuzuordnen.

Wenn ein solches Ereignis stattfindet, wird das ihm zugeordnete Makro aufgerufen. Um einem Ereignis ein Makro zuzuweisen, klicken Sie auf die Schaltfläche .... Dadurch wird der Dialog Aktion zuweisen geöffnet.

So greifen Sie auf diesen Befehl zu:

Öffnen Sie das Kontextmenü eines ausgewählten Formular-Elements und wählen Sie Steuerelement... - Register: Ereignisse.

Öffnen Sie eine der Symbolleisten Formular-Steuerelemente oder Formular-Entwurf, klicken Sie auf das Symbol Steuerelement-Eigenschaften und wählen Sie das Register Ereignisse.


Je nach Art des Steuerelements stehen hier unterschiedliche Ereignisse zur Verfügung. Im Register Ereignisse sind nur die für das ausgewählte Steuerelement und den jeweiligen Kontext verfügbaren Ereignisse aufgeführt.
Es sind die folgenden Ereignisse definiert:

Aktion bestätigen

This event takes place before an action is triggered by clicking the control. For example, clicking a "Submit" button initiates a send action; however, the actual "send" process is started only when the When initiating event occurs. The Approve action event allows you to kill the process. If the linked method sends back FALSE, When initiating will not be executed.

Aktion ausführen

The Execute action event occurs when an action is started. For example, if you have a "Submit" button in your form, the send process represents the action to be initiated.

Modifiziert

The Changed event takes place when the control loses the focus and the content of the control has changed since it lost the focus.

Text modifiziert

The Text modified event takes place if you enter or modify a text in an input field.

Status geändert

The Item status changed event takes place if the status of the control field has changed.

Bei Fokuserhalt

The When receiving focus event takes place if a control field receives the focus.

Bei Fokusverlust

The When losing focus event takes place if a control field loses the focus.

Nach Tastendruck

The Key pressed event occurs when the user presses any key while the control has the focus. This event may be linked to a macro for checking entries.

Taste losgelassen

The Key released event occurs when the user releases any key while the control has the focus.

Maus innerhalb

The Mouse inside event takes place if the mouse is inside the control field.

Mausbewegung bei Tastendruck

The Mouse moved while key pressed event takes place when the mouse is dragged while a key is pressed. An example is when, during drag-and-drop, an additional key determines the mode (move or copy).

Mausbewegung

The Mouse moved event occurs if the mouse moves over the control.

Maustaste gedrückt

The Mouse button pressed event occurs if the mouse button is pressed while the mouse pointer is on the control.

Notizsymbol

Beachten Sie, dass dieses Ereignis auch für Nachrichten an ein Popup-Kontextmenüs auf dem Bedienelement verwendet wird.


Maustaste losgelassen

The Mouse button released event occurs if the mouse button is released while the mouse pointer is on the control.

Maus außerhalb

The Mouse outside event takes place when the mouse is outside the control field.

Vor dem Aktualisieren

The Before update event occurs before the control content changed by the user is written into the data source. The linked macro can, for example, prevent this action by returning "FALSE".

Nach dem Aktualisieren

The After update event occurs after the control content changed by the user has been written into the data source.

Vor dem Zurücksetzen

The Prior to reset event occurs before a form is reset. The linked macro can, for example, prevent this action by returning "FALSE".

Ein Formular wird zurückgesetzt, wenn eine der folgenden Bedingungen eintritt:

  1. Der Benutzer betätigt eine (HTML-)Schaltfläche, die als Reset-Schaltfläche definiert ist.

  2. In einem an eine Datenquelle angebundenen Formular wird ein neuer, leerer Datensatz erstellt. Beispielsweise wird im letzten Datensatz die Schaltfläche Nächster Datensatz gedrückt.

Nach dem Zurücksetzen

The After resetting event occurs after a form has been reset.