Results 1 to 5 of 5

Thread: [RESOLVED] Main form

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2003
    Location
    Portville NY
    Posts
    780

    [RESOLVED] Main form

    i have a program with many forms in it and everytime i click to go to a new form, the old form is still there. the new form comes up and is active but i don't want the first form to be showing. is this done in code?
    Last edited by Dubya007; Mar 22nd, 2004 at 01:00 PM.

  2. #2

  3. #3
    Hyperactive Member
    Join Date
    Mar 2003
    Location
    Greece, Salonica
    Posts
    473
    VB Code:
    1. Private Sub Command1_Click
    2. Unload Me
    3. Form2.show


    EDIT: Oh MartinLiss was faster...

    EDIT2: MartinLiss edited and put unload form1 too! :P

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2003
    Location
    Portville NY
    Posts
    780
    so i would use these commands when i am programming the command buttons?

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2003
    Location
    Portville NY
    Posts
    780
    ok nevermind i got it many thanx to both of u.

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