Results 1 to 13 of 13

Thread: Problem with hiding forms [resolved]

Threaded View

  1. #1

    Thread Starter
    Registered User
    Join Date
    Jul 2000
    Posts
    52

    Problem with hiding forms [resolved]

    I have 2 forms and a module. Form1 basically displays "waiting..." so the user knows the program is loading the information on form2 The module has the code:
    Code:
    Dim x as new form1
    x.show()
    dim y as new form2
    y.showdialog()
    In the form_load for form2 I have the following code:
    Code:
    form1.activeform.activate()
    form1.activeform.hide()
    What happens is that when form2 finally loads it flashes up and then closes right away. Any ideas? I thought this had worked before for me and the logic seems right. Maybe I just missing something simple, but that's where your help comes in. Thanks!
    Last edited by shootsnlad; Feb 3rd, 2003 at 04:35 PM.

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