The event methods defined in the TextBox class are summarized in the following table.
Event | Occurs… |
---|---|
change | When the contents of the control have changed |
click | When the user presses and then releases the left mouse button |
contextMenu | After the right mouseUp event and after the keyUp event |
dblClick | When the user presses and releases the left mouse button and then presses and releases it again |
dragDrop | When a dragged window is dropped over a window belonging to the same application |
dragOver | For each window of the application over which a window is dragged |
firstChange | When the user performs keyboard or cut and paste actions |
gotFocus | When a control receives the focus |
keyDown | When the user presses a key while the control has the focus |
keyPress | When the user presses and releases an ANSI key |
keyUp | When the user releases a key while the control has the focus |
lostFocus | When a control loses the focus |
mouseDown | When the user presses a mouse button |
mouseEnter | When the user moves the mouse onto a control |
mouseHover | When the user moves the mouse onto a control and then the mouse remains static for one second or longer |
mouseLeave | When the user moves the mouse off a control |
mouseMove | When the user moves the mouse |
mouseUp | When the user releases a mouse button |
paint | When part or all of a control is exposed |
scrolled | When the user scrolls |
sysNotify | When it is triggered when a specified JADE system event occurs |
userNotify | When triggered from the JADE Object Manager by a user call |
For details, see "Window, Form, and Control Events", later in this document.