Results 1 to 3 of 3

Thread: Form disappears if you click off the form. Help!!

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2004
    Posts
    2

    Form disappears if you click off the form. Help!!

    I have a VB.Net application that uses mdi. We have two forms that are called by child forms. When you click off of the called forms, they disappear. They are there, but you have to minimize all the other windows to the desktop to view the form. I need the form to still be there once you go back to the VB.NET application. Any help would be greatly appreciated.

    Thanks, Randy

  2. #2
    PowerPoster
    Join Date
    Dec 2003
    Location
    Bristol, England (but heart is in Virginia)
    Posts
    2,949
    Hi,

    Have you tried altering the location of the two forms so that they lie outside of the MDI forms?
    Taxes
    The more I learn about VB.NET the more I like dBaseIII Plus

    The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.

  3. #3
    Fanatic Member pvbangera's Avatar
    Join Date
    Sep 2001
    Location
    Mumbai, India
    Posts
    961
    before calling the child form set its mdiparent property.

    in ur child form... in the event from where the other form is called

    VB Code:
    1. FormToBeCalled.MdiParent = Me.MdiParent
    2. FormToBeCalled.Show

    hope it helps

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