Results 1 to 3 of 3

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

  1. #1

    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?


  2. #2
    Junior Member
    Join Date
    Jun 2007
    Answers
    28

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

    It Executes Like ILRAP
    I---Initialize
    L---Load
    R---Resize
    A---Activate
    P---Paint


  3. #3
    Expert Member
    Join Date
    Nov 2006
    Answers
    518

    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-

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact