Prepare for your Next Interview
This is a discussion on Form_Load(), Form_initialize() and Form_Activate() event within the VB.NET forums, part of the Software Development category; Can you just tell me that among Form_Load(), Form_initialize() and Form_Activate() event, Which one occurs first, second and third?...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
Form_Load(), Form_initialize() and Form_Activate() event
Can you just tell me that among Form_Load(), Form_initialize() and Form_Activate() event, Which one occurs first, second and third?
|
| Sponsored Links |
|
|||
|
Re: Form_Load(), Form_initialize() and Form_Activate() event
Absolutely. I agree with VCYogi.
Every time an instance of the form is created, it executes Form_initialize(). Eg: Dim x as FormName Every time the form is opened, it loads the instance into the memory and executes Form_Load(), Eg: x.show (I am not sure about this syntax for show function) And every time the form is navigated to, it executes Form_Activate() Eg. Click on the form / use Alt + Tab to navigate to Form window. So, the order will be Initialize, Load & then Activate. ![]()
__________________
Lack of WILL POWER has caused more failure than lack of INTELLIGENCE or ABILITY. -sutnarcha- |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Event Effect Graph | Srikanth | Testing Issues | 2 | 07-04-2007 04:02 AM |
| What is need to import java.awt.event.* | Geek_Guest | Java | 1 | 05-29-2007 05:29 AM |
| How do we catch click event? | prakash.kudrekar | VB.NET | 5 | 04-30-2007 10:23 AM |
| Which event of the grid should we use to write code | Geek_Guest | VB.NET | 0 | 04-09-2007 06:23 AM |
| textbox TextChanged Event | Geek_Guest | ASP.NET | 1 | 03-15-2007 03:04 AM |