Contents

# Events Tab

On the Events tab page you can link macros to events that occur in a form's control fields.

When the event occurs, the linked macro will be called. To assign a macro to an event, press the ... button. The Assign Action dialog opens.

이 명령을 사용하려면...

#### From the context menu:

Choose Control Properties - Events tab.

#### From the tabbed interface:

Choose Forms - Control Properties - Events tab.

#### From toolbars:

Control Properties

Depending on the control, different events are available. Only the available events for the selected control and context are listed on the Events tab page.
The following events are defined:

## 작업 승인

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.

## 작업 실행

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.

## 수정됨

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

## 텍스트 수정됨

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

## 상태 수정

The Item status changed event takes place if the status of the control field has changed, for example, from checked to unchecked.

## 초점을 맞췄을 때

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

## 초점을 잃었을 때

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

## 키를 누른 후

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.

## 키에서 손 떼기

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

## 안에 마우스

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

## 키는 누를 때 마우스 움직임

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

## 마우스 움직임

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

## 마우스 누름

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

이 이벤트는 컨트롤의 팝업 보조 메뉴에 대한 요청을 알리는 용도로도 사용됩니다.

## 마우스에서 손을 떼었음

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

## 마우스 외부

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

### 업데이트하기 전에

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.

### 업데이트한 후에

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

### 원래대로 설정하기 전에

The Prior to reset event occurs before a form is reset. Returning True approves the reset, returning False cancels the operation.

다음 조건 중 하나가 나타날 경우 양식은 다시 설정됩니다.

1. 사용자가 원래대로 버튼으로 정의되어 있는 (HTML) 버튼을 누릅니다

2. 데이터 원본에 연결되어 있는 양식에 비어 있는 새 레코드를 만듭니다. 예를 들어 마지막 레코드에서 다음 레코드 버튼을 누를 수 있습니다.

### 원래대로 설정한 후에

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

관련 주제

General Tab

Data Tab

Please support us!