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:

Icon Control

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.

Please support us!

Please support us!