Results 1 to 2 of 2

Thread: PLEASE HELP!!! Parent Forms and their Children

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Location
    NJ, USA
    Posts
    1

    Post

    I have a main form that first checks if a "ini" file exists...if it doesnt it creates a child form and asks a question and then takes the answer and puts it in a "ini".

    The problem is it won't return back to the parent without and error once it gets the value and makes the "ini" file from within the child form.

    I tried changing the focus back to form1 but no good.

    I called the child form with this command: Form2.Show vbModal, Form1

    if i do a 'form1.show' from within form2 (child) command it shows the parent (form1) form but it just sits there till i click on it and then after i do it gives me an error!

    any help would be greatly appreciated. i only have a few strands of hair left =)

    - Sergio


  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    Post

    Are you unloading the child form?

    Create an "Close" button and in the click event put the following:

    Unload Me

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