RadForms Not Being Inserted as Maximized

6 posts, 0 answers
  1. Dan Harvey
    Dan Harvey avatar
    67 posts
    Member since:
    Jul 2008

    Posted 31 Aug 2009 Link to this post

    Hello,

    I have a RadDock with MDI enabled and when opening child forms they do not appear maximized.  I have set the property "WindowState" to "Maximized" on the RadForm and set the "MaximizeBox" and "MinimizeBox" properties to false.  However when I open up these forms in the RadDock they are not maximized and they still have the Maximize and Minimize buttons in the top right hand corner.  When I double click on the MenuBar they go away and appear maximized at that point.  Please advise.

    Thanks,  

  2. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 01 Sep 2009 Link to this post

    Hi Dan,

    Thanks for writing and for reporting this issue. I have tried to reproduce the described behavior but to no avail. Therefore, I would like to ask you to prepare a sample Windows Forms application that manages to reproduce the issue so that we can take a look and see how we can help. Please note that you will have to open a new support ticket in order to be able to upload your project. Thanks for your time. I look forward to receiving the requested details.

    Best wishes,
    Deyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Dan Harvey
    Dan Harvey avatar
    67 posts
    Member since:
    Jul 2008

    Posted 08 Sep 2009 Link to this post

    Deyan,

    We were using code that differed from code we found on your site.  We implemented this code and it worked fine.

    Thanks,
  5. ayumi hinako
    ayumi hinako avatar
    17 posts
    Member since:
    Oct 2009

    Posted 10 Nov 2009 Link to this post

    I have the same problem. But sometime it's OK, and most of the time, it can't Maximized, If I use the System.Windows.Form, it doesn't have the problem. what's the problem? Thanks for your reply.

  6. Dan Harvey
    Dan Harvey avatar
    67 posts
    Member since:
    Jul 2008

    Posted 11 Nov 2009 Link to this post

    Ayumi,

    Try this code

    Dim

     

    document As New DocumentWindow("(name not specified)")

     

    document.AutoScroll =

    True

     

    document.Controls.Add(m_masterClientForm)

    document.Controls(0).Location =

    New Drawing.Point(0, 0)

     

     

    Me.RadDock1.AddDocument(document)

    This was so long ago, I can't remember where I was having problems.  I think this is it though

     

  7. ayumi hinako
    ayumi hinako avatar
    17 posts
    Member since:
    Oct 2009

    Posted 11 Nov 2009 Link to this post

    Hi, Dan
         Now it's OK, thanks very much.
Back to Top
UI for WinForms is Visual Studio 2017 Ready