The event methods defined in the ListBox class are summarized in the following table.
Event | Occurs… |
---|---|
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 |
displayEntry | When a control is attached to a collection object and the text to be displayed for an entry in the collection is required |
displayRow | For each entry in the collection of the current list, to display the contents of the row |
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 |
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 |
pictureClick | When the picture area before the text of an item is clicked with the mouse |
pictureDblClick | When the picture area before the text of an item is double-clicked with the mouse |
scrolled | When the user scrolls |
sysNotify | 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.