Results 1 to 2 of 2

Thread: how can i close mdi child form without closing MDIproject

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 1999
    Location
    Secunderabad, AP, INDIA
    Posts
    20

    Post

    hi there!
    pl help me . in this issue.
    how can i close mdi child form in run tinme after certain condition met, like i am using login form in Mdi project after the valid user logs in the login form should close automatically. pl help me...


  2. #2
    Hyperactive Member Gimpster's Avatar
    Join Date
    Oct 1999
    Location
    Redmond, WA 98052
    Posts
    331

    Post

    Simply type:

    Unload MDIChild

    where MDIChild is the name of the child form. You can use that to completely unload the form, or if you just want to hide it, you can type:

    MDIChild.Hide

    Either one will work to simply remove it from the user's screen. However, unloading it will free up more memory.
    -Ryan
    I smell varmint poontang, and the only good varmint poontang is dead varmint poontang...

    -Bill Murray, Caddyshack

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