Events/text/sbasic/shared/01170103.xhpSun Microsystems, Inc.converted from old format - fpeEventsDefine event assignments for the selected control or dialog. The available events depend on the type of control selected.UFI: removed all help idsWhen receiving focusThis event takes place if a control receives the focus.When losing focusThis event takes place if a control loses the focus.Key pressedThis event occurs when the user presses any key while the control has the focus.Key releasedThis event occurs when the user releases a key while the control has the focus.ModifiedThis event takes place, when the control loses the focus and the contents of the control were changed since it lost the focus.Text modifiedThis event takes place if you enter or modify a text in an input field.Item status changedThis event takes place if the status of the control field is changed, for example, from checked to unchecked.Mouse insideThis event takes place when the mouse enters the control.Mouse moved while key pressedThis event takes place when the mouse is dragged while a key is pressed.Mouse movedThis event takes place when the mouse moves over the control.Mouse button pressedThis event takes place when the mouse button is pressed while the mouse pointer is on the control.Mouse button releasedThis event takes place when the mouse button is released while the mouse pointer is on the control.Mouse outsideThis event takes place when the mouse leaves the control.While adjustingThis event takes place when a scrollbar is being dragged.