Opening Child Form Twice Bug

2 posts, 0 answers
  1. TwoLaJit
    TwoLaJit avatar
    38 posts
    Member since:
    Nov 2006

    Posted 16 May 2009 Link to this post

    I am using RadControls_WinForms_2009_1_414_dev

    On my Main MDI form I have on Load:

     Me.IsMdiContainer = True
     dockingManager1.AutoDetectMdiChildForms = True

    On a button to open a form I have: 

    FormName.MdiParent = Me

    which works great. But When I click on that button again, my form disapears! what gives? is this a feature or a bug? 
    Spend many hours trying to find a work around. 
    Any help is appreicated. 

  2. Nick
    Nick avatar
    767 posts

    Posted 18 May 2009 Link to this post

    Hello TwoLaJit,

    Please use this code:

    If FormName.MdiParent <> Me Then 
        FormName.MdiParent = Me 
    End If 

    Do not hesitate to write us back if you have further questions.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top