Results 1 to 2 of 2

Thread: open and close forms

  1. #1

    Thread Starter
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    Question

    Hi


    I have 2 forms (form_A and form_B), I have a button in toolbar that call the form_B, but inside form_B I have a button that call form_A. I want call form_A from form_B, but I want close form_B, because I too have an button in form_A that can call form_B. When I close form_B and call Form_A and I click in button in the form_A It call other instance

    thank you in advance

  2. #2
    Guest
    to call another instance do this


    Code:
    Dim B As Form_B
    Set B = New Form_B
    Load B
    B.Show
    to unload a form and load another one do this

    Code:
    Form_A.Show
    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