Results 1 to 7 of 7

Thread: [RESOLVED] Parent/Child Form Problem [open and closing them]

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2007
    Posts
    62

    Resolved [RESOLVED] Parent/Child Form Problem [open and closing them]

    Hi all,
    My project is a game, a Hangman game, i have problems with forms, as follows:
    First I want my project to have a splash screen and i put it as start-up form, then when splash screen finish executing itself, it hides itself
    Code:
    this.hide();
    and load the menu form then if you chose new game in menu form it loads new form "pre-game" i did this form to get from the user some parameters for the game,
    from the pre-game form is a button to start the game and shows the "game" form, but as you can see the parent child relationship is like this:
    Splash screen -> Main Menu -> pre-game -> Game.
    Now my problem is .. I can't close the Menu form when the Game form loads, or even hide it. Is there any way to load a form independent from other
    (i mean not as parent/child relationship), just load a form as a parent itself...
    I'm waiting for a reply.
    Thanks in advance

    Jareck
    Last edited by jareck; Feb 10th, 2011 at 08:14 AM.

Tags for this Thread

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