Results 1 to 6 of 6

Thread: [RESOLVED] wait until finish the functions

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2006
    Posts
    131

    Resolved [RESOLVED] wait until finish the functions

    Hello everyone

    how can i delay loading the form until all functions executes its work???

  2. #2
    Hyperactive Member
    Join Date
    Dec 2006
    Location
    Jar, Norway
    Posts
    372

    Re: wait until finish the functions

    Use Sub Main to load Form (at startUp) and Form.Show after the job is done. Use a splashForm if needed.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 2006
    Posts
    131

    Re: wait until finish the functions

    well what if this form is not the first
    and i'm already using a splash form for the first

    actually this is the second form and it has so many functions that should be executed befor showing the form

  4. #4
    Hyperactive Member
    Join Date
    Dec 2006
    Location
    Jar, Norway
    Posts
    372

    Re: wait until finish the functions

    Then load it. Let functions and stuff work (but don't call the form by setting captions to labels or text in textboxes or anything connected to the form). When all is done: Form.Show.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jul 2006
    Posts
    131

    Re: wait until finish the functions

    i did it
    thanks

  6. #6
    Hyperactive Member
    Join Date
    Dec 2006
    Location
    Jar, Norway
    Posts
    372

    Re: wait until finish the functions

    Quote Originally Posted by om-yousif
    i did it
    thanks
    well done!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width