Results 1 to 3 of 3

Thread: Silly Problem

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    9

    Question

    My project has 3 forms, one that runs on startup. This form has a button that loads the next form. This form has code that loads the final form, when the final form is run I set form2.enable to false and then set form2.enable to true when the final form is closed.
    The problem is that when I close the final form, the first form appears on the top of the second form.
    This is REALLY annoying me!

    Somebody PLEAAASE help me!

  2. #2
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Try

    Try using

    Form2.Setfocus

    when form3 closes
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  3. #3
    Addicted Member
    Join Date
    Jan 2000
    Location
    Sydney, Australia
    Posts
    196
    or when you show form 2 and form 3 use:

    form2.Show vbModal

    and

    form3.Show vbModal

    this will make sure they are on top of the previous form.

    this assumes you don't want to go back to the previous forms before the one you are looking at closes...

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