Results 1 to 7 of 7

Thread: Form loaded

  1. #1

    Thread Starter
    Lively Member J Lindroos's Avatar
    Join Date
    Mar 2001
    Location
    Sweden
    Posts
    97

    Form loaded

    I'm making a progress window to be used in my program to show that something is happening. My program calls to the window.Show method and then the window is shown, while the program is working it should show progress. Also it should have a status line that the program can change during the progress. My problem is that the form is not loaded correctly until the work is done. So you just see the form without anything happening on it and when the work is done the form is hided.

    Any ideas?
    /J Lindroos
    "My opinions may be have changed, but not the fact that I am right"


    <modified by admin. no advertising in sigs>

  2. #2
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    Try adding DoEvents...

  3. #3
    Member
    Join Date
    Nov 2001
    Location
    UK
    Posts
    46

    i agree

    I agree,

    A DoEvents at the end of the form_load

    also, in the past i have only put initial set up info in the load,
    and put the workings in a private sub that is called from the form_activate. this is very handy if you need to pass some properties before showing your form, as you know, setting a property will load the form if it is not already loaded.

    have fun

    Si

  4. #4

    Thread Starter
    Lively Member J Lindroos's Avatar
    Join Date
    Mar 2001
    Location
    Sweden
    Posts
    97

    Cool Thanks

    Thanks
    Of course, DoEvents
    I don't know why I forgot it, it must be the age
    /J Lindroos
    "My opinions may be have changed, but not the fact that I am right"


    <modified by admin. no advertising in sigs>

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    Couldn't you pop up a Splash screen that shows the progress while the main form is loading?

  6. #6
    Frenzied Member Motoxpro's Avatar
    Join Date
    Sep 2001
    Location
    Spiro, OK
    Posts
    1,211
    try DoEvents

  7. #7
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    DO you not read any previous posts MotoxPro?

    Because you seem to do this quite often

    There is no point in saying the same thing as other people for a 3rd time

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