Events
/text/sbasic/shared/01170103.xhp
Sun Microsystems, Inc.
Events
Define event assignments for the selected control or dialog. The available events depend on the type of control selected.
When receiving focus
This event takes place if a control receives the focus.
When losing focus
This event takes place if a control loses the focus.
Key pressed
This event occurs when the user presses any key while the control has the focus.
Key released
This event occurs when the user releases a key while the control has the focus.
Modified
This event takes place, when the control loses the focus and the contents of the control were changed since it lost the focus.
Text modified
This event takes place if you enter or modify a text in an input field.
Item status changed
This event takes place if the status of the control field is changed, for example, from checked to unchecked.
Mouse inside
This event takes place when the mouse enters the control.
Mouse moved while key pressed
This event takes place when the mouse is dragged while a key is pressed.
Mouse moved
This event takes place when the mouse moves over the control.
Mouse button pressed
This event takes place when the mouse button is pressed while the mouse pointer is on the control.
Mouse button released
This event takes place when the mouse button is released while the mouse pointer is on the control.
Mouse outside
This event takes place when the mouse leaves the control.
While adjusting
This event takes place when a scrollbar is being dragged.