Geeks Talk

Prepare for your Next Interview




Form_Load(), Form_initialize() and Form_Activate() event

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


Go Back   Geeks Talk > Software Development > VB.NET

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-02-2007
Junior Member
 
Join Date: Feb 2007
Location: Salem
Posts: 11
Thanks: 0
Thanked 4 Times in 2 Posts
Subashini.Ramasamy is on a distinguished road
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?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-08-2007
Contributing Member
 
Join Date: Jun 2007
Location: Bangalore
Posts: 32
Thanks: 3
Thanked 20 Times in 5 Posts
vcyogi is on a distinguished road
Re: Form_Load(), Form_initialize() and Form_Activate() event

It Executes Like ILRAP
I---Initialize
L---Load
R---Resize
A---Activate
P---Paint
Reply With Quote
  #3 (permalink)  
Old 06-08-2007
Expert Member
 
Join Date: Nov 2006
Location: Hyd-IND
Posts: 523
Thanks: 1
Thanked 55 Times in 46 Posts
sutnarcha is on a distinguished road
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-
Reply With Quote
Reply

  Geeks Talk > Software Development > VB.NET


Thread Tools
Display Modes


Similar Threads

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


All times are GMT -4. The time now is 01:35 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved