0% found this document useful (0 votes)
2 views1 page

Visual Basic

The document outlines various user interface events in programming, including CHANGE, CLICK, DBLCLICK, and others, detailing when they occur during user interactions. Additionally, it describes the purpose of a Frame in Visual Basic (VB) as a container control for organizing related controls, enhancing the clarity of the user interface. Frames allow for grouped selections, particularly with option buttons, ensuring only one option can be selected at a time.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Visual Basic

The document outlines various user interface events in programming, including CHANGE, CLICK, DBLCLICK, and others, detailing when they occur during user interactions. Additionally, it describes the purpose of a Frame in Visual Basic (VB) as a container control for organizing related controls, enhancing the clarity of the user interface. Frames allow for grouped selections, particularly with option buttons, ensuring only one option can be selected at a time.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

 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.

You might also like