Acara

Pada halaman tab Acara anda dapat menautkan makro acara dalam formulir ruas kendali.

Saat acara tersebut terjadi, makro tertaut akan dipanggil. Untuk menetapkan makro ke suatu acara, tekan tombol .... DialogMenetapkan Tindakan terbuka.

Untuk mengakses fungsi ini...

Buka menu konteks elemen formulir yang dipilih - pilih tab Kontrol - Kejadian.

Buka bilah alat Kontrol Formulir atau bilah alat Desain Formulir, klik ikon Kontrol - tab Kegiatan.


Bergantung pada kendali, tersedia berbagai acara. Hanya acara yang tersedia dari untuk kendali dan konteks yang dipilih dalam halaman tab Acara.
Acara berikut didefinisikan:

Setuju aksi

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.

Eksekusi aksi

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.

Diubah

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

Teks diubah

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

Status item berubah

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

Saat menerima fokus

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

Saat kehilangan fokus

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

Tombol ditekan

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.

Tombol dilepas

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

Tetikus di dalam

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

Tetikus berpindah saat tombol ditekan

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).

Tetikus berpindah

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

Tombol tetikus ditekan

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

Ikon Catatan

Perhatikan bahwa Peristiwa ini juga digunakan untuk memberi tahu permintaan untuk pop up konten menu pada kendali.


Tombol tetikus dilepas

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

Tetikus berada di luar

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

Sebelum pemuktahiran

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".

Setelah pemuktahiran

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

Sebelum reset

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

Formulir direset jika satu dari kondisi berikut bertemu:

  1. pengguna menekan tombol (HTML) yang didefinisikan sebagai tombol reset.

  2. Rekaman baru dan kosong dibuat dalam formulir yang ditautkan ke sumber data. Contohnya, dalam rekaman terakhir, tombol Rekaman selanjutnya dapat ditekan.

Usai mengatur ulang

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

Mohon dukung kami!