The event methods defined in the JadeRichText class are summarized in the following table.
Event | Occurs… |
---|---|
change | When text within the control has changed. |
click | When the user presses and then releases the left mouse button. |
contextMenu | When the user right-clicks within the control and the contextMenuOptions property has a value of MenuOption_Custom. If this method returns true, the control displays its built-in menu. |
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 contents of the control change. |
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. |
linkClicked | When the user clicks on a URL within the text of the JadeRichText control. |
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. |
protected | When the user attempts to alter text that is marked as protected. |
scrolled | When the user scrolls. |
selChanged | When the selection of text within the control has changed. |
sysNotify | When it is triggered when a specified JADE system event occurs. |
userNotify | When triggered from the JADE Object Manager by a user call. |
windowCreated | When the window for the control is created, so that the control can be initialized when the window for the control is present. |
For details, see "Window, Form, and Control Events", later in this document.