Results 1 to 6 of 6

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 an problem, have 2 forms (FORM_1 AND FORM_2), the FORM_1 can call FORM_2 and the FORM_2 also can call FORM_1, when the FORM_2 call FORM_1 , I close It (UNLOAD ME), but when the user click in button that call the FORM_1 It do not show.
    Someone help me

    thank you in advance

  2. #2
    Fanatic Member
    Join Date
    Apr 2000
    Location
    Whats a location?
    Posts
    516
    I think there's a bug, you might want to just use YourForm.Hide and then YourForm.Show instead on Loading and Unloading the form.

    [Edited by V(ery) Basic on 08-22-2000 at 08:13 AM]
    Courgettes.

  3. #3
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Like V(ery) Basic said,
    Load FORM_2 in your main form's Load event then use .show and .hide instead of unloading.

  4. #4

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

    Unhappy open and close

    Hi thanks

    How Do I know that an form is loaded ?

  5. #5
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Try to do something to it
    i.e(form2!label1.caption = form2!label1.caption)
    and it causes an error, it's not loaded then.

  6. #6

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

    Thumbs up open and close forms

    thank you very much

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