The events defined in the OptionButton class are summarized in the following table.
| Event | Description |
|---|---|
| change | Indicates that the contents of the control have changed |
| 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 |
| dragDrop | Occurs when a dragged window is dropped over a window belonging to the same application |
| dragOver | Occurs for each window of the application over which a window is dragged |
| gotFocus | Occurs when a control receives the focus |
| keyDown | Occurs when the user presses a key while the control has the focus |
| keyPress | Occurs when the user presses and releases an ANSI key |
| keyUp | Occurs when the user releases a key while the control has the focus |
| lostFocus | Occurs when a control loses the focus |
| mouseDown | Occurs when the user presses a mouse button |
| mouseEnter | Occurs 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 | Occurs when the user moves the mouse off a control |
| 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 control is exposed |
| sysNotify | Occurs when a specified JADE system event occurs |
| 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.