Results 1 to 8 of 8

Thread: Childform not visible!

  1. #1

    Thread Starter
    Frenzied Member aikidokid's Avatar
    Join Date
    Aug 2002
    Location
    Bristol, UK
    Posts
    1,968

    Exclamation Childform not visible!

    I have a MDI form with 5 childforms. If I set the childforms to anything other than borderstyle = 2 (sizeable) when I open the childforms they are not visible.
    Any ideas?

  2. #2
    PowerPoster
    Join Date
    Aug 2002
    Location
    NY, NY
    Posts
    2,139
    It doesn't make any sence. How do you open your child forms?
    Roy

  3. #3

    Thread Starter
    Frenzied Member aikidokid's Avatar
    Join Date
    Aug 2002
    Location
    Bristol, UK
    Posts
    1,968
    frmMembers.Visible = True
    This works with borderstyle = 2
    Last edited by aikidokid; Nov 19th, 2002 at 09:56 AM.

  4. #4

    Thread Starter
    Frenzied Member aikidokid's Avatar
    Join Date
    Aug 2002
    Location
    Bristol, UK
    Posts
    1,968
    *BUMP*

  5. #5
    PowerPoster
    Join Date
    Aug 2002
    Location
    NY, NY
    Posts
    2,139
    Why don't you try Show method instead of Visible property. Also, try to stop your project and in debug window check each loaded form Left/Top to make sure it doesn't have any negative values.
    Roy

  6. #6
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Originally posted by aikidokid
    frmMembers.Visible = True
    This works with borderstyle = 2
    That'll only work if the form has been loaded.

    Load frmMembers

  7. #7

    Thread Starter
    Frenzied Member aikidokid's Avatar
    Join Date
    Aug 2002
    Location
    Bristol, UK
    Posts
    1,968
    I have this in the menu
    VB Code:
    1. Private Sub mnuMembNewMemb_Click()
    2.     Load frmAddMember
    3.     frmAddMember.Visible = True
    4. End Sub
    and it still won't show with borderstyle = 1

  8. #8

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