CHANGE – This event occurs when the value of a form element (like textbox,
dropdown, etc.) is changed by the user and the element loses focus.
CLICK – This event is triggered when the user presses and releases the mouse button
on an element once.
DBLCLICK – This event occurs when the user quickly clicks the mouse button twice
on the same element.
DRAGOVER – This event is triggered when a dragged item is moved over a valid
drop target during a drag-and-drop operation.
GOTFOCUS – This event occurs when an element becomes active or selected, such
as when a user clicks on a textbox or tabs into it.
LOSTFOCUS – This event is triggered when an element loses focus, such as when
the user clicks outside the textbox or moves to another control.
KEYDOWN – This event occurs when a key on the keyboard is pressed down,
before it is released.
KEYUP – This event is triggered when the user releases a key that was previously
pressed.
MOUSEDOWN – This event occurs when the mouse button is pressed down on an
element.
MOUSEMOVE – This event is triggered whenever the mouse pointer moves over an
element.
MOUSEUP – This event occurs when the mouse button is released after being
pressed on an element.
A Frame in Visual Basic (VB) is a container control used to group related controls such as
option buttons, check boxes, and text boxes. It helps in organizing controls on a form.
Controls placed inside a Frame act as a single group, especially for option buttons where only
one option can be selected within the same frame. It improves the design and clarity of the
user interface.