Results 1 to 2 of 2

Thread: Showing a form that I closed [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Fanatic Member Geespot's Avatar
    Join Date
    Oct 2001
    Location
    Birmingham, UK
    Posts
    577

    Showing a form that I closed [RESOLVED]

    Hi

    In my MDI app, when it first loads up, a Welcome form is shown.
    The welcome form presents a list of options for the user to choose. When they click an option, another form is shown depending of the option that chose.

    To do this I simple put

    VB Code:
    1. formAddCD.Show()

    where formAddCD was declared publically in a module.

    Now the problem i have is when the user closes the form with the X button
    as desired, the form closes but if i click the option on the welcome form again to re-show the form, the form simply doesn't show.

    Why does it behave like this? When a form closes, does the variable that was declared for it, lose its reference to it?
    I really don't know how to overcome this problem

    Thanks

    P.S whats making it 10 times worse, my program wont run inside the IDE so I can't step through the code, ugh
    Last edited by Geespot; Feb 6th, 2003 at 06:01 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