Results 1 to 3 of 3

Thread: Form only appears after processing is complete

  1. #1

    Thread Starter
    Hyperactive Member greg_quinn's Avatar
    Join Date
    Nov 2002
    Location
    South Africa
    Posts
    366

    Form only appears after processing is complete

    I have an app with a form.

    SubForm1_Load(..)
    lblStatus.Text = "Loading function 1"
    Function1()

    lblStatus.Text = "Loading function 2"
    Function2()

    lblStatus.Text = "Complete!"
    End Sub

    Now what happens is all the processing occurs and then only the form appears.

    How can I display the form immediately before any processing takes place?

    I have looked at Form1_Paint() but I'm not sure how to declare it

  2. #2
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367
    Set me.Visible = true in your form load, this will make your form visible.

  3. #3
    Hyperactive Member CyberHawke's Avatar
    Join Date
    May 2004
    Location
    Washington DC
    Posts
    477
    If this doesn't work, I suggest you either add your load processes to a new thread, or consider using a timer to start your other processes.

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