You are visitor number
Event Handlers generated by Visual Basic
Visual Basic Generates Event handlers (Private Sub's)
The Event Handler Names contain two parts:
The Object being Referenced (Object is Checkbox) Check1
The Event being handled (Event is Mouse Click) Click
This give you Check1_Click()
Object | Event being handled | Event Handler (Private Sub) | Comment |
Checkbox | Mouse Click | Check1_Click() | |
Combo box | Mouse Click | Combo1_Change() | |
Command Button (Button) | Mouse Click | Command1_Click() | Pressing a button |
List box | Mouse Click | List1_Click() | |
Option button | Mouse Click | Option1_Click() | Was known as radio button |
Textbox | Text change | Text1_Change() | |
Timer | Timer Event | Timer1_Timer() | every xxx Milli seconds |
Horizontal scrollBar | Value (position) changed | HScroll1_Change() | |
Vertical scroll bar | Value (position) changed | VScroll1_Change() | |
Form | Loading form | Form_Load() | Most common Form event |
Form | When the form is activated | Form_Activate() | |
Form | Clicking on form | Form_Click() | |
Form | Double click on form | Form_DblClick() | |
Form | Form getting focus | Form_GotFocus() | |
Form | form losing focus | Form_LostFocus() | |
Form | Mouse down on form | Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) | |
Form | Moving mouse on form | Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) | |
Form | Mouse up on form | Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) | |
Form | when form is being terminated | Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) | |
Form | when the user resizes form | Form_Resize() | |
Form | 'when form is unloaded | Form_Unload(Cancel As Integer) | a good place to check that open files are closed |
Return to Nico's Visual Basic Page
(http://www.geocities.com/SiliconValley/Peaks/2852/VB_Charts.html)
Please send mail to: [email protected] with questions or comments about the content this VB Web site.
This page hosted by Get your own Free Home Page