Form Events
The event methods defined in the Form class are summarized in the following table.
| Event | Description |
|---|---|
| activate | Occurs when a form becomes the active window |
| click | Occurs when the user presses and then releases the left mouse button |
| contextMenu | Occurs after the right mouseUp event and after the keyUp event |
| dblClick | Occurs when the user presses and releases the left mouse button and then presses and releases it again |
| deactivate | Occurs when a different form becomes the active window |
| dragDrop | Occurs when a dragged window is dropped over a form belonging to the same application |
| dragOver | Occurs for each form of the application over which a window is dragged |
| firstChange | Occurs when the contents of a control on the form change |
| formMove | Occurs when a form is moved on the screen |
| gotFocus | Occurs when a control receives the focus |
| keyDown | Occurs when the user presses a key |
| keyPress | Occurs when the user presses and releases an ANSI key |
| keyUp | Occurs when the user releases a key |
| load | First event called for the form and its controls (except the windowCreated event for the controls) |
| lostFocus | Occurs when a control loses the focus |
| mdiDocked | Occurs after the user docks an MDI child form |
| mdiFloated | Occurs after the user floats an MDI child form |
| mouseDown | Occurs when the user presses a mouse button |
| mouseEnter | Occurs when the user moves the mouse onto a form |
| mouseLeave | Occurs when the user moves the mouse off a form |
| mouseMove | Occurs when the user moves the mouse |
| mouseUp | Occurs when the user releases a mouse button |
| paint | Occurs when part or all of a form is exposed after it has been moved or enlarged |
| queryUnload | Occurs before a form closes, to give the logic the opportunity to reject the closure |
| resize | Occurs when the size of a form is changed |
| scrolled | Occurs when the user scrolls a form |
| sysNotify | Occurs when a specified JADE system event occurs |
| trayIconClicked | Occurs when a user clicks a system tray entry created by the setSystemTrayEntry method |
| unload | Occurs when a form is about to be removed from the screen |
| userNotify | Occurs when triggered from the JADE Object Manager by a user call |
For details, see "Window, Form, and Control Events", later in this document.
